Step by step: install Dolibarr ERP / CRM on Ubuntu 18.04?

Feb 23, 2021 Dolibarr 0 Comments
Step by step: install Dolibarr ERP / CRM on Ubuntu 18.04?

You are a company or a startup or simply you have a free activity and you are looking for an all-in-one ERP / CRM to manage all your inbox, you are in luck. Dolibarr  is a counter designed to meet your expectations. Suppose you have a Linux Ubuntu 18.04 server waiting for service, and you want to install an ERP in it, we will explain in this step by step tutorial: how to set up your Dolibarr ERP on an ubuntu 18.0.4 machine, Follow us until the end.


ERP and CRM Dolibarr  is a high-performance one-stop-shop for your ERP / CRM needs that can manage the following:

·        Managing your clients, prospects and suppliers,

·        Invoices: your customer and supplier invoices,

·        Orders and purchase orders,

·        Management products and services,

·        Stocks and merchandise,

·        Calendar, projects, tasks,

·        Management of accounting, cash and bank,

·        Human resources management

·        And dozens of other cool features.


Now, we will explain the installation of this open source tool DOLIBARR which can help you to strengthen your workflow. I'm just assuming two things: that you have your Ubuntu 18.04 server up and running and you have access to an account with sudo privileges.


Prepare your Dolibarr installation:

The first thing you need to do is take care of a few addictions. Let us first take care of the installation of the Apache Web server, via the following command:


sudo apt-get installer apache2


Once the Apache server is installed, start it and activate it with the following command:

sudo systemctl start apache2
sudo systemctl activate apache2


Next, we need a database. Since we are working with Ubuntu 18.04, we will go with MariaDB. To install this service, run the following command:

sudo apt-get install serveur-mariadb client-mariadb


Start and activate the database server with the following commands:

sudo systemctl start mariadb
sudo systemctl activate mariadb

Now you need to Secure the database with the command:

sudo mysql_secure_installation


You will be asked a few simple questions. Out of the box, do you know that no password is set yet. So when prompted, just hit enter.


Now is the time to install the necessary PHP modules. Since we are working with Ubuntu 18.04, we will be using PHP 7.2. To install these dependencies, run the following command:

sudo apt installer php7.2 libapache2-mod-php7.2 php7.1-commun php7.2-curl php7.2-intl php7.2-mbstring php7.2-json php7.2-xmlrpc php7.2-soap php7. 2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip


We also need to install mcrypt. To take care of this dependency, run the following commands:

sudo apt-get -y installer gcc make autoconf libc-dev pkg-config
sudo apt-get -y installer php7.2-dev
sudo apt-get -y installer libmcrypt-dev
sudo pecl installer mcrypt-1.0.1


Finally, PHP must be configured. Open the configuration file with the command:

sudo nano /etc/php/7.2/apache/php.ini


In this file, you will want to make the following changes:

file_uploads = Enabled
allow_url_fopen = Enabled
memory_limit = 512 Mo
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = YOUR / TIME / ZONE


where YOUR / TIME / ZONE is your time zone.

Save and close this file, then restart Apache with the command:

sudo systemctl restart apache2


Create the Dolibarr database:


ERP and CRM Dolibarr requires a database. To create the database and a valid user, run the following commands:

sudo mysql -u root -p
CREATE USER 'dolibarruser' @ 'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL ON dolibarr. * TO 'dolibarruser' @ 'localhost' IDENTIFIED BY 'PASSWORD' WITH THE GRANT OPTION;


where PASSWORD is a unique and strong password.

Warning ! this time the password is not empty  so it's PASSWORD


Download and unzip the Dolibarr tool:


You must now download, decompress, move and give the Dolibarr directory the appropriate permissions. All this can be done with the following commands:

sudo apt-get install unzip
cd / tmp && wget
sudo mv dolibarr-7.0.3 / var / www / html / dolibarr
sudo chown -R www-data: www-data / var / www / html / dolibarr /
sudo chmod -R 755 / var / www / html / dolibarr /


NB: via the above command you have downloaded Dolibarr version 13.0.1 and it is the last version of Dolibarr until the moment this article is written, then you simply have to change the link of the latest version of Doliabrr on case of future update.


Configure the Apache Server:


We are ready to configure Apache. Create the new configuration file with the command:

sudo nano /etc/apache2/sites-available/dolibarr.conf


In this new file, add the following content:

<VirtualHost *: 80>
     DocumentRoot / var / www / html / dolibarr / htdocs
     ServerAlias ​​
     <Directory / var / www / html / dolibarr / htdocs />
        Options + Follow
        AllowOverride All
        Require everything granted
     ErrorLog $ {APACHE_LOG_DIR} /error.log
     CustomLog $ {APACHE_LOG_DIR} /access.log combined


Where and  are the actual domains on your server. If you only use one IP address, you can leave it as is.

Save and close this file.

Activate the new site and the rewrite module with the commands:

sudo a2ensite dolibarr.conf
rewrite sudo a2enmod


Restart Apache with the command:

sudo systemctl restart apache2

Finish your installation of Doliabrr:

Point your browser to the address  http: // SERVER_IP / dolibarr / htdocs / install /. At this point you will be greeted by the graphical installer and follow the Graphical installation guide provided by the Dolibarr ERP.

Don't worry nothing is complicated at this stae.


Congratulations, your Dolibarr is now installed!


From this point on, everything is explicit. You will eventually create an administrator user / password, which will allow you to connect to the Dolibarr instance. You are then ready to configure Dolibarr to perfectly meet your business needs. Congratulations, you now have a very powerful tool for your business among the best in the ERP and CRM markets.

Tags: doliwamp dolibarr modules firefox cannot establish a connection to the mamp mysql not starting doli.installs invoice signature doli installs com wamp localhost refused to connect formfile myclock firefox can t establish a connection to the s mamp sql server not starting mysql error 1022 installs doli mobile localhost refused to connect wamp propals synology crm ziptown dolr org zen forum international invoicee mysql server not starting mamp ccountry the requested resource could not be found cannot access empty property llx in c admin/index.php erp logs captcha be gone electronic vat td bom mrc and nrc kanview mamp apache server not starting mamp not starting mysql cdav mysqldump permission denied open pdf in new window unknown storage engine \'innodb\' mamp not starting datepicker php an appropriate representation of the requeste action configtest failed embed blocked php vcard slaeries mamp not starting mysql server extdirect embed blocked! epson wf-3640 blurry printing this page isnt working unable to connect firefox can\'t establish a nginx php 404 Dolibarr vs Odoo external access to srm bitnami crm servage forum third_party_name this site can’t be reached localhost refused paymentedit php datepicker dominican republic translate telecharger can\'t write; duplicate key in table dominican translate mysqldump unknown option tinxsys error 1022: can\'t write; duplicate key in ta cron job permission denied synology wiki propal uc tpl php xxxarray deb never wiki duplicate foreign key constraint name awstats watch series stocklib cyberoffice joints png catchable fatal error the operator is reserved for future use use of getpreventdefault() is deprecated. use phpsysinfo almarma php id=1 bank fetch_object eclipse git revert profid access limit to list after 3 pdf this page isn’t working zen cart forum fatal error: \'break\' not in the \'loop\' or purchase order wiki doesn\'t have a default value package \'libapache2-mod-php5\' has no instal excel template download error module icon this page isn\'t working sales tax rounding rules invoice2 php triggers date_default_timezone_get odoo wikipedia pdf models error 1046 3d000 at line 22 no database selec package \'php5\' has no installation candidat php mass mailing error 1046 (3d000) at line 22: no database se epson direct print gestionnaire de fichier invoice title tcpdf image admin index php force html5 localhost refused to connect xampp abbreviation for remove initial balance package \'php5-mysql\' has no installation ca configuration php writeable osticket knowledge base erp software mac errno: 150 \"foreign key constraint is incorr suplier w item white page pdf quickbooks desktop rest api deconnexion conceil documents directory doesn t have a default value reviews formfil the pagemaster wiki xampp localhost refused to connect paypal tls idate php paypal ssl pfd format identitysmart tcpdf cell llegal mix of collations $numd orderline cannot add or update a child row a foreign ke xtuple sourceforge .lang file mysql rowid suppliers invoices inovea 404 not found nginx/1.10.3 (ubuntu) wrond page isn’t working nrc mrc mrc nrc translate to dominican najbardziej specified key was too long; max key length is auguria warning: a non-numeric value encountered in asterisk directory can\'t write duplicate key in table videocu libstock field doesn\'t have a default value 9.0.3 call module hideref php fetch_object erp documentation best lazulite upgrade menu lateral dispendio page isn\'t working crm screenshots propale this error was generated by mod_security. package php5 has no installation candidate mysql error 1071 related object you have an error in your sql syntax near apache2 configtest failed tcpdf error can\'t use function return value in write con illegal mix of collations utf8_general_ci imp telecager stelecharger incorrect integer value wiki magento a non-numeric value encountered in db fresh php double colon template is missing backup database permission denied in database this error was generated by mod_security mysql specified key was too long php5 has no installation candidate printing module erp scanner barrcodes php permission denied a non-numeric value encountered princexml alternative issog namef apple access denied php unset post warning: a non-numeric value encountered crm lien services session_start(): open(session_file o_rdwr) failed: no such file or directory (2) s\'identifier php a non-numeric value encountered unknown column incorrect integer value: \'\' for column lancer png fryse error in your sql syntax subscribirse php fetch_row mon petit chaton non working day what is the correct way to include the file \ zencart forum fleche png ubuntu apache2 reinstall decryption core repaired mysql debian sys maint tache png tissot forum nginx 404 error primary unit crontab permission denied mysqli fetch_array invalid column count in csv input on line 1 opwindend you have an error in your sql syntax fatal error: cannot redeclare php document_uri telechar deamviewer 1024m e commerce modules labal stocks definicion erp png reports module synology ldap server mysql turn off safe mode (errno: 150 \"foreign key constraint is incor php template class consile eclipse git conflict printname mon chaton db after fatal error cannot redeclare how to disable captcha notestab commata fatal error: can\'t use function return value age analysis demodirectory smarty forum tellechager hashfinders futurebuy odt editor findresource ticketprinting com reviews php can\'t use function return value in write casoc propal définition illegal mix of collations latin1_swedish_ci i default bank account php isint wamp localhost not working translate invoice tilicherger virtual logistics libreoffice template invoice invoice proposal php get root url transvalue definition disactivated mars-14 eclipse refresh product unit php mass email petit chaton mysql illegal mix of collations tele charger how to add image in footer html stock qty tax3 分隔符 substitution variables crm web services give icon paypal tls 1.2 upgrade you have an error in your sql syntax; illegal mix of collations \\f0c9 characters in french customers orders upgrade now button sub categories in excel import qbxml into quickbooks desktop ressources ressoureces the apache2 configtest failed lang model t parts erp tester renommer php last day of month sql unknown column in field list factory error enquote awstats install manufacturing order terecharger php edit pdf footer inc php crm meme 9.0 beta ubuntu forums gr galvatec failed opening for inclusion erpforum fatal proposal 50x error commercial proposal can t use function return value in write cont shipment table suite crm reviews php date_default_timezone_get quantity unit lo que hace fiscal printer localhost htdocs suite crm api 192.168 1.116 how to refresh eclipse you have an error in your sql cant connect to localhost filecheck third party waiting netex usa index of /htdocs 8mise invoice subtotal hebrew pdf 67108864 bytes torvista erp file sh: 1: /usr/sbin/sendmail: not found import export forum crm 4 localhost 8888 mamp index translation tab marque page z6po frontaccounting review zencart forums php fatal error cannot redeclare function pre mysql invalid default value cuil org reglement facture volvo cem programming mrc vs nrc fpdf font color erp demonstration crmsearch cannot validate since no php executable is se bdd forum hy000/1045 bugstock wamp mysql not starting domiciliaciones bancarias google erp non stock item erpnext vs odoo add border to pdf socid invoice translate libreoffice templates invoice varchar 255 pos forum mysql png acompte folder.jpg crm web service proposal vs quote api superuser redirect beers criteria wiki intramessenger wamp apache not starting rejet definition vietnamese language pack image integrity check failed this localhost page can’t be found operand stack overflow sales tax rounding laravel crm customelink fileml ricardo png mars crm accett parent product is everything alright erp y crm errror de 9.0beta dderp color agenda cpaper erp forums stoc products waiting for localhost page tpl php cregions phpmyadmin error 500 internal consumption sauvegarder add line numbers to pdf mysql 1452 source soft solutions carlos neri 2016 retrospective export chart of accounts to excel agriglobe openoffice script template somme products mamp mysql server not starting telec feature en español sipartech php html_entity_decode end of script output before headers: erp forum userclass fromthewarehouse extra commercial proposal wrong calculation $pageid stripe connect php crm screenshot taxes round up or down tel echarger click2dial afup myfields where to find a biometric scanner


Log in or register to post comments