How to install Apache OFBiz CRM on Debian 10

How to install Apache OFBiz CRM on Debian 10

Apache OFBiz, also known as “Open For Business Project”, is a free and open source ERP system written in Java. It is a set of business applications that can be used to run all aspects of the business. It has scalability, reliability, customizability, and can be flexibly developed as the business grows. It provides accounting, warehousing, inventory, order management, manufacturing, pricing, product and catalog management, and also includes a complete CRM system.

In this tutorial, we will show you how to install OFBiz CRM on a Debian 10 server.

prerequisites

  • A server running Debian 10.
  • A root password is configured on your server.

getting Started

Before you start, it is recommended to update your system to the latest version. You can run the following command to update the system.

apt-get update -y apt-get upgrade -y

After the system is updated, restart to implement the changes.

Install Java

Before you start, OFBiz requires Java Development Kit (JDK) version 8 to be installed on your system. Java 8 is not available in the Debian 10 default repository by default. Therefore, you will need to add a Java 8 repository to your system.

First, install the required packages using the following command:

apt-get install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common unzip -y

Next, download and add the GPG key using the following command:

wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -

Next, you can add a java 8 repository using the following command:

add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

After installing the repository, update the repository and install java 8 using the following command:

apt-get update -y apt-get install adoptopenjdk-8-hotspot -y

After the installation is complete, you can verify the Java version using the following command:

java -version

You should get the following output:

openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)

Download and install Apache OFBiz

You can download the latest version of Apache OFBiz from its official website using the following command:

wget https://archive.apache.org/dist/ofbiz/apache-ofbiz-16.11.05.zip

After downloading, use the following command to unzip the downloaded file:

unzip apache-ofbiz-16.11.05.zip

Next, change the directory to apache-ofbiz-16.11.05 and load the default data using the following command:

cd apache-ofbiz-16.11.05 ./gradlew cleanAll loadDefault

After successfully completing the process, you should see the following output:

BUILD SUCCESSFUL

Total time: 2 mins 55.503 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.13/userguide/gradle_daemon.html

Start Apache OFBiz

Before starting Apache OFBiz, you can also install demo data and seed data using the following command:

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

Once done, start the Apache OFBiz service using the following command:

./gradlew ofbiz

Visit Apache OFBiz

After starting Apache OFBiz service, open your web browser and enter the URL https: // your server-ip: 8443 / ordermgr / control / main. You will be redirected to the following page:

Provide the default username and password as administrator / business then click log in Button. You should see the Apache OFBiz default dashboard in the following pages:

OFBiz Dashboard

You can access the e-commerce application using the URL https: // your-server-ip: 8443 / ecommerce in your web browser:

OFBiz e-commerce

You can access the WebTools application using the URL https: // your-server-ip: 8443 / webtools / in your web browser:

Framework network tools

You can access the Catalog Manager application using the URL https: // your-server-ip: 8443 / catalog in your web browser:

OFBiz Catalog Manager

in conclusion

Congratulations! You have successfully installed Apache OFBiz ERP / CRM on your Debian 10 server. You can now easily manage CRM, inventory, ERP and more with Apache OFBiz. If you have any questions, feel free to ask me.

Source

Sidebar