How to Install Apache OFBiz CRM | ERP Platform on Ubuntu 18.04 | 16.04 LTS

Apache OFBiz is an open source, Java based web framework that provides enterprise-wide ERP / CRM platform for businesses that want to manage their customers relationships and employees…

OFBiz is very flexible comes with a wide range of modules, including Accounting, Order Management & E-Commerce, Warehousing and Inventory and many more right out of the box..

When looking for an enterprise ERP, CRM and Product & Catalog Management platform for your business, OFBiz is a good place to start… this open source is built on Java framework and offers features that help you run your business and collaborate with your customers.

People, companies, projects or opportunities — all can be managed in an easy and intuitive interface…

This brief tutorial shows students and new users how to install Apache OFBiz on Ubuntu 18.04 | 16.04 LTS system…

When you’re ready to install OFBiz, follow the steps below:

Step 1: Install OpenJDK 8

Since Apache OFBiz is a Java based framework, you must install JAVA to run it… To do that, run the commands below…

sudo apt update
sudo apt install openjdk-8-jdk

That should get OpenJDK 8 installed and configured…..

Run the commands below to see if Ubuntu recognizes Java and whether is correctly installed..

java -version

You should see the output below:

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

The commands above should configure Java to work and function with Ubuntu.

Step 2: Install and Configure Apache OFBiz

Now that Java is installed and configured, run the commands below to download the latest version of Apache OFBiz…

At the time of this writing, the latest version is 16.11.05

cd /tmp
wget http://apache.claz.org/ofbiz/apache-ofbiz-16.11.05.zip

After downloading, run the commands below to extract and move into the local bin folder…

unzip apache-ofbiz-16.11.05.zip
sudo mv apache-ofbiz-16.11.05 /usr/local/apache-ofbiz

Next, change into OFBiz directory and run the commands below to load its default data… This may take a while for some system..

cd /usr/local/apache-ofbiz
./gradlew cleanAll loadDefault

When all packages are downloaded and installed, you should see a completion message as below:

BUILD SUCCESSFUL

Total time: 8 mins 21.608 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.13/userguide/gradle_daemon.html

After that load some more demo data… If you’re installing in a production environment, then you may not want to include demo data… If you’re just testing, then run the commands below:

./gradlew "ofbiz --load-data readers=seed"
./gradlew "ofbiz --load-data readers=seed,seed-initial,ext"

Finally, start OFBiz by running the commands below:

./gradlew ofbiz

That should start up OFBiz service…

Open a browser and go to

https://localhost:8443/ordermgr/control/main
https://localhost:8443/ecommerce  ==>  for the ecommerce application
https://localhost:8443/ecomseo   ==>  for the ecommerce application
https://localhost:8443/webtools   ==>  for the WebTools application or
https://localhost:8443/catalog      ==>  for the Catalog Manager application.

The default administrative account is username: admin password: ofbiz.

OFBiz Ubuntu Install

Enjoy!

OFBiz Ubuntu setup

Congratulations! You have successfully installed and configured Apache OFBiz application on Ubuntu 18.04 | 16.04 LTS

You may also like the post below:

Setup and Configure iRedMail Server on Ubuntu 18.04 | 16.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.