Apache OFBiz (The Apache Open For Business Project) is an open source ERP/CRM system from the Apache Foundation starting point for reliable, secure and scalable enterprise solutions. It offering complete accounting/ledger, inventory management, CRM, and project management systems. Also, OFBiz includes a complete CRM system and e-commerce shopping cart. OFBiz offers a solid framework for plugin development allowing complete customization.
This article will help you to install Apache OFBiz on Linux ( CentOS, Red Hat, Fedora, Ubuntu, Scientific Linux and Debian ) systems with initial demo data. This tutorial has been tested with CentOS 7 recently.
Step 1 – Install JAVA
Java is the primary requirement for installing Apache OFBiz. It required minimum Java 1.6 to installed on your system. Make sure you have Java installed with the proper version on your system.
java -versionjava version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
If you do not Java installed, Use below tutorial to install java else ignore it.
Step 2 – Download Apache OFBiz from SVN
Download the latest version of Apache OFBiz from its official download site or its mirror sites. You can also use the below command to download OFBiz 16.11.03 on your systems.
let’s extract a downloaded archive file.
unzip apache-ofbiz-16.11.03.zip mv apache-ofbiz-16.11.03 /usr/local/apache-ofbiz rm -f apache-ofbiz-16.11.03.zip
Step 3 – Install Apache OFBiz
Now build this release, navigate to the OFBiz directory and use gradlew command to load default data. This process will take time to complete.
cd /usr/local/apache-ofbiz ./gradlew cleanAll loadDefault
Step 4 – Install Dataset, Load Demo and Seed Data
Apache OFBiz provides dataset, demo data, and seed data, this data is used for the experiment. This data is unuseful for production setup.
./gradlew "ofbiz --load-data readers=seed" ./gradlew "ofbiz --load-data readers=seed,seed-initial,ext"
Step 5 – Start Apache OFBiz Service
After installing Apache OFBiz, Use following command to start Apache OFBiz service on system.
Step 6 – Access Apache OFBiz in Browser
Access Apache OFBiz in browser on port 8443 as below given url and login credentials.
svr10.tecadmin.net:8443/myportal/control/main Admin Username: adminAdmin Password: ofbiz