I would assume it should be the same since it was built for cross platform 
operation.

There isn't a GUI for the install AFAIK.

Mathew

________________________________
From: [email protected] <[email protected]>
Sent: Monday, March 14, 2022 1:28 PM
To: [email protected] <[email protected]>
Subject: Re: intstall

Hi Mathew,

thanks for the reply, will it be the same when installing on Vultr
Ubuntu 20.04 ?

I am not using my desktop command prompt.

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
> Let me try and be a little more clear as I think I might have not been
> as much.
>
> As an example:
>
> I extracted the contents of apache-ofbiz-18.12.05.zip onto my desktop
> which created the folder:
>
> apache-ofbiz-18.12.05
>
> If I open up my command prompt and navigate to that directory it would
> look something like this:
>
> $> cd ~/Desktop/apache-ofbiz-18.12.05/
> (the ~ means my personal login home directory, not to be confused with
> /home)
>
> In this directory there is a folder called gradle
>
> If you type:
>
> $>cd gradle
>
> You will be in this directory and in this directory you should type
> the following command:
>
> $> ls -la
>
> You should get a list that looks like this:
>
> total 20
> drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
> drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
> -rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
> -rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
> drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrapper
>
> I want you to make sure that the file init-gradle-wrapper.sh has three
> "x" markings where it reads above:
>
> -rwxr-xr-x
>
> It should but we are just checking at this point.
>
> Now type:
>
> $>cd ..
>
> This should take you back to your root directory of the apache
> directory.  From this directory, if you type:
>
> $>sudo ./gradle/init-gradle-wrapper.sh
>
> You should get the following output:
>
>  === Prepare operation ===
> /home/root/Desktop/apache-ofbiz-18.12.05/gradle/wrapper/gradle-wrapper.jar
> not found, we download it
>  === Download gradle-wrapper.jar ===
>  === Download gradle-wrapper.properties ===
>  === Control downloaded files ===
> gradle/wrapper/gradle-wrapper.jar: OK
> gradle/wrapper/gradle-wrapper.properties: OK
> gradlew: OK
>
>
>
> If you are getting any other output, please post it so we (not
> necessarily me) can better diagnose what is going on.
>
>
>
> Mathew
>
> ________________________________
> From: [email protected] <[email protected]>
> Sent: Monday, March 14, 2022 6:14 AM
> To: [email protected] <[email protected]>
> Subject: Re: intstall
>
> Hi Jacques, Mathew,
>
> still getting the same errors on Ubuntu. Are there any latest scripts
> that can be followed step by step to install as i have looked around
> online but all seems to be old.
>
> Tried the ./gradle/init-gradle-wrapper.sh (Says no such file found)
> Tried the ./gradlew cleanAll loadAll (instead of defaultAll) still the
> same error (No such file or directory.
>
> Not sure why i am getting these errors, i have update and upgraded
> Ubuntu, restarted the sever. Installed sudo apt-get install
> openjdk-8-jdk successfully. Then downloaded the latest version with
> wget
> https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
>
> Maybe from here i am doing something wrong, i do unzip the latest
> version so i really don't know where  the problem is. Have probably
> tried it 50 times the last 2 days.
>
> Regards
> Reinier
>
> On 2022-03-14 07:59, [email protected] wrote:
>> Hi Jacques,
>>
>> thanks i will read through it and also try the loadAll. Im not to
>> clued up with coding but learning as i go along.
>>
>> Regards
>> Reinier
>>
>> On 2022-03-14 05:47, Jacques Le Roux wrote:
>>> Hi,
>>>
>>> You should not use loadDefault but loadAll
>>>
>>> Also reading https://nightlies.apache.org/ofbiz/trunk/readme/html5/
>>> would help you
>>>
>>> HTH
>>>
>>> Jacques
>>>
>>> Le 14/03/2022 à 10:04, [email protected] a écrit :
>>>> Hi Mathew,
>>>>
>>>> still getting stuck even tried using the info you gave me, this
>>>> morning i tried again only installing Java 8 but still getting stuck
>>>> at the last ./gradlew cleanAll loadDefault
>>>>
>>>> Here is the code im using just to try and get it running from there
>>>> i
>>>> would need to figure out how to point the built in ecommerce to my
>>>> domain etc.
>>>>
>>>> # sudo apt update && sudo apt upgrade
>>>>
>>>> # sudo apt-get install openjdk-8-jdk
>>>>
>>>> # wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
>>>>
>>>> # unzip apache-ofbiz-18.12.05.zip
>>>> # mv apache-ofbiz-18.12.05 /usr/local/apache-ofbiz
>>>> # rm -f apache-ofbiz-18.12.05.zip
>>>>
>>>> # cd /usr/local/apache-ofbiz
>>>> # ./gradlew cleanAll loadDefault (THIS IS WHERE I AM GETTING STUCK I
>>>> ONLY GET A ERROR HERE)
>>>>
>>>> Regards
>>>> Reinier
>>>>
>>>> On 2022-03-13 16:03, Mathew Cox wrote:
>>>>> Neither am I.
>>>>>
>>>>> Also you should check to see which (if any) versions of Java you
>>>>> have
>>>>> installed on your system.  Other versions of java can conflict with
>>>>> OFBiz in negative ways.  You should only have java-jdk-8 installed.
>>>>>
>>>>> $>apt list --installed | grep jdk
>>>>>
>>>>> The above command should give you an idea of what JDKs you have
>>>>> installed.
>>>>>
>>>>> Mathew
>>>>>
>>>>> ________________________________
>>>>> From: [email protected] <[email protected]>
>>>>> Sent: Sunday, March 13, 2022 12:18 PM
>>>>> To: [email protected] <[email protected]>
>>>>> Subject: Re: intstall
>>>>>
>>>>> Hi Mathew,
>>>>>
>>>>> thanks for the prompt reply, not to clued up with coding but will
>>>>> give
>>>>> it a try.
>>>>>
>>>>> Regards
>>>>> Reinier
>>>>>
>>>>> On 2022-03-13 14:10, Mathew Cox wrote:
>>>>>> I had a pretty good struggle with OFBiz but I got it fairly well
>>>>>> handled.
>>>>>>
>>>>>> With the information you provided...
>>>>>>
>>>>>> You need to have the latest version of Java Development Kit 8
>>>>>> installed.  The command below should give you some decent options
>>>>>> to
>>>>>> choose from.  adoptopenjdk-8-hotspot or adoptopen
>>>>>>
>>>>>> $>apt search openjdk-8
>>>>>>
>>>>>>  adoptopenjdk-8-hotspot or adoptopenjdk-8-openj9 should work. You
>>>>>> might have to add a repository if it is not already in the
>>>>>> standard
>>>>>> ubuntu repositories.  You can also manually download it from IBM.
>>>>>>
>>>>>>
>>>>>> The command: /gradle/init-gradle-wrapper
>>>>>> Needs to be run as sudo
>>>>>> So...
>>>>>>
>>>>>> $>sudo /gradle/init-gradle-wrapper
>>>>>>
>>>>>> Once this command completes successfully and if you have every
>>>>>> intention to use the Derby database and not mysql then you simply
>>>>>> need
>>>>>> to run the command:
>>>>>>
>>>>>> $>sudo ./gradlew cleanAll "ofbiz --load-data
>>>>>> readers=seed,deed-initial" loadAdminUserLogin -PuserLoginId=admin
>>>>>>
>>>>>> That is all one command and cannot be broken down into tidbits.
>>>>>>
>>>>>> That will clean and load a fresh unsullied database and run it on
>>>>>> the
>>>>>> local machine.
>>>>>>
>>>>>> Mathew
>>>>>>
>>>>>> ________________________________
>>>>>> From: [email protected] <[email protected]>
>>>>>
>>>>>
>>>>>> Sent: Sunday, March 13, 2022 7:44 AM
>>>>>> To: [email protected] <[email protected]>
>>>>>> Subject: intstall
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> would like to know if anyone can assist me on the easiest way to
>>>>>> install
>>>>>> Ofbiz. i have tried many ways via the internet pages found on
>>>>>> Google
>>>>>> and
>>>>>> Youtube but are no successful. Many of them i am struggling with
>>>>>> the
>>>>>> last step (Gradle) does not work at all. I also tried a Docker
>>>>>> install
>>>>>> and also cant get it right.
>>>>>>
>>>>>> At the moment i am using ERPnext but would really like to test out
>>>>>> Ofbiz. I installed ERPnext via Docker and linked it to my domain
>>>>>> for
>>>>>> the
>>>>>> ecommerce. Is this possible to do with Ofbiz, i am using Vultr
>>>>>> Ubuntun
>>>>>> 20.04 currently.
>>>>>>
>>>>>> Any help appreciated thanks.
>>>>>>
>>>>>> Regards
>>>>>> Reinier Wolmarans

Reply via email to