Table of Contents
Today, in this article, we show you how to install Dolibarr ERP or CRM platform on Ubuntu Server 22.04???? Ubuntu is fully integrated with public clouds and has been optimized for performance, security and usability. Due to its simplicity of use, Canonical’s Ubuntu Desktop Linux distribution is one of the most used.
Also, it is one of the starter options for Linux beginners. 22.04 (Ubuntu) Jammy Jellyfish is awesome and just released. There are some issues, however, that your beauty can’t do. up for. You might not even be aware of all the Linux distributions available for gaming. You need an ERP solution if your business has expanded to the point where you need assistance with planning and organizing details such as contacts, suppliers, invoices, orders, inventory and schedules.
To install an in-house solution in your data center or on a third-party cloud host, you can use a third-party platform or an in-house solution you deploy yourself. It is free and open source software made for companies, charities and independent contractors. can be set up and used offline or online on a shared or dedicated server so you can access it from anywhere. We have mentioned below the steps to install Dolibarr ERP or CRM platform on Ubuntu Server 22.04.
Steps to Install Dolibarr ERP or CRM Platform on Ubuntu Server 22.04
Install PHP on Ubuntu
Step 1: Install PHP and its extensions by running the commands below in your terminal:
sudo apt updatesudo apt install -y php php-cli php-mysql php-common php-zip php-mbstring
Step 2: Furthermore install libapache2-mod-php extension
sudo apt install -y libapache2-mod-php
Step 3: to set up PHP settings as below
sudo vim /etc/php/*/apache2/php.ini
Step 4: Define????????
date.timezone = Africa/Nairobimemory_limit = 256Mupload_max_filesize = 64Mdisplay_errors = Onlog_errors = Disabled
Install MariaDB and create the database
Step 1: Dolibarr ERP & CRM needs a database storage for its data. Install MariaDB on your Ubuntu using the following commands:
sudo apt install mariadb-server mariadb-client
Step 2: Once the database server is installed, secure it running the commands below:
sudo mysql_secure_installation
Step 3: Enter the MySQL shell as root user and create a database for Dolibarr ERP & CRM.
sudo mysql -u root -p
Step 4: Create a Database and User for Dolibarr ERP & CRM:
CREATE USER ‘dolibarr’@’localhost’ IDENTIFIED BY ‘StrongPassword’;CREATE dolibarr DATABASE;GRANT ALL PRIVILEGES ON dolibarr.* TO ‘dolibarr’@’localhost’;FLUSH PRIVILEGES;EXIT
Step 5: check if you can login to database shell as dolibarr user:
$ mysql -u dolibarr -p
Download Dolibarr ERP & CRM on Ubuntu 20.04|18.04
Step 1: The next step is to download the latest version of Dolibarr ERP & CRM to your Ubuntu system using the wgetcommand????????
Step 2: Check the latest version of Dolibarr ERP and CRM on Github????????
release_tag=$(curl -s | grep tag_name | cut -d ‘”’ -f 4)wget
Step 3: Extract the archive
tar xvf ${release_tag}.tar.gz
Step 4: Move the created directory from extraction to /srv/dolibarr
sudo mv dolibarr-${release_tag} /srv/dolibarr
Step 5: Then set proper permissions
sudo chown -R www-data:www-data /srv/dolibarr
Install and Configure the Apache2 Web Server
Step 1: Install Apache2 using:
sudo apt -y install apache2sudo a2enmod rewrite
Step 2: Then create a virtual host file for vTiger
sudo vim /etc/apache2/sites-enabled/dolibarr.conf
Step 3: Add Dice????????
ServerAdmin [email protected] erp.example.comServerAlias www.erp.example.comDocumentRoot /srv/dolibarr/htdocs/
Options +FollowSymlinksAllowOverride AllRequire all granted Combined ErrorLog /var/log/apache2/dolibarr_error.logCustomLog /var/log/apache2/dolibarr_access.log
Step 4: Verify the file syntax:
$ sudo apachectl -tSyntax OK
Step 5: Restart apache2 service
sudo systemctl restart apache2
Complete the installation of Dolibarr in the browser
Step 1: Finish the installation by opening in your browser. The first page will ask you to select and use the detected browser.
Step 2: Confirm all installation prerequisites checks click To start to start the installation.
Step 3: To define Data base Training.
Step 4: Log in as an admin user to Dolibarr ERP & CRM management dashboard.
Final Words
We hope you enjoy our article on how to install Dolibarr ERP or CRM platform on Ubuntu Server 22.04. With substantial improvements in cloud computing, a real-time kernel for industrial applications, enterprise Active Directory, PCI-DSS, HIPAA, FIPS and FedRAMP compliance, Ubuntu 22.04 LTS is now widely available and raising the bar for cloud open source edge, IoT, and workstations. Run the latest version of Long Term Support if you use Ubuntu.