Installation help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation help

Rebecca Johnson
Can someone please help with the exact steps of installing to Ubuntu 16.04 ?

My team has performed these steps and it didn't work:


Install Java:


(referencing these instructions: http://uniqueminds.co/manually-install-oracle-java-8-ubuntu/)


On your Desktop computer first do this:


Go to: http://www.oracle.com/technetwork/java/javase/downloads/index.html


Click the Java SE 8u161/ 8u162 link

In the Java SE Development Kit 8u162 section choose Accept License Agreement

Choose the Linux x64 link (jdk-8u162-linux-x64.tar.gz) and download it

Copy the download link (in Chrome press Ctrl-j, then copy download link)


In the terminal of your server do this:


wget "link-of-the-download-from-above"


mkdir /opt/jdk

tar -zxf jdk-8u162-linux-x64.tar.gz -C /opt/jdk


verify files are in the location:

ls /opt/jdk


In our case, the java executable is located under /opt/jdk/jdk1.8.0_162/bin/java. To set it as the default JVM in your machine run:


update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_162/bin/java 100


and


update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_162/bin/javac 100


Verifying installation:


java -version


The output should look like this:


java version "1.8.0_162" Java(TM) SE Runtime Environment (build 1.8.0_162-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)<https://docs.google.com/document/d/1VsVuJGcqd5ELIpwq1iQ1NyCIZ7QG1FLk3NMPbq_OwdY/edit#heading=h.499uxl1mnftb>


Edit Java environment variable:


nano ~/.bashrc


copy the following text at end of file:


export JAVA_HOME=/usr/lib/jvm/java-8-oracle


Download latest Ofbiz files from https://www-us.apache.org/dist/ofbiz/ (On the download section of the website the download was blank and it didn't work for me http://ofbiz.apache.org/download.html)<http://ofbiz.apache.org/download.html>


wget https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip


Verify download:


md5sum apache-ofbiz-16.11.04.zip


Should match the Md5 sum at: https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip.md5


Install unzip:


sudo apt update && sudo apt install unzip


Unzip archive:


unzip apache-ofbiz-16.11.04.zip


Install Ofbiz


cd /usr/local/apache-ofbiz

./gradlew cleanAll loadDefault


Start Ofbiz:


./gradlew ofbiz


The process will take a minute or two, then will stop Building at 91%, this is normal<https://stackoverflow.com/questions/43774796/apache-ofbiz-installation-trouble-with-birt-container#43817775>, now it is ready


To access the install go to following address:


https://[IP Address or domain]:8443/myportal/control/main

Admin Username: admin

Admin Password: ofbiz

Reply | Threaded
Open this post in threaded view
|

Re: Installation help

Rajesh Mallah
Hi Rebecca,

can you try below , each of the steps were tested for ubuntu , but it
relies on postgres.

https://medium.com/@mallah.rajesh/single-and-multi-tenant-setup-of-ofbiz-erp-on-ubuntu-linux-an-walkthrough-for-newbies-d61d3552ad62


regds
mallah.
Reply | Threaded
Open this post in threaded view
|

Re: Installation help

Mike Z
Off hand I would say that:


export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Is incorrect.  In your case, it should (maybe) look like:

export JAVA_HOME=/opt/jdk/jdk1.8.0_162

On Tue, Apr 10, 2018 at 1:50 AM, Rajesh Mallah <[hidden email]>
wrote:

> Hi Rebecca,
>
> can you try below , each of the steps were tested for ubuntu , but it
> relies on postgres.
>
> https://medium.com/@mallah.rajesh/single-and-multi-
> tenant-setup-of-ofbiz-erp-on-ubuntu-linux-an-walkthrough-
> for-newbies-d61d3552ad62
>
>
> regds
> mallah.
>