🚀 Introduction to Dolibarr ERP & CRM
Dolibarr is a powerful open-source ERP and CRM software that helps businesses manage finances, customers, inventory, and more. It’s easy to install, modular, and ideal for SMEs looking for an affordable, self-hosted solution. This guide covers everything from installation to key features.
✅ Why Choose Dolibarr?
✔ Open-source & Free – No licensing fees. ✔ Modular Design – Enable only the features you need. ✔ User-friendly Interface – Simple and intuitive UI. ✔ Scalability – Suitable for small to medium-sized businesses. ✔ Multi-platform Support – Works on Linux, Windows, macOS, and Docker. ✔ Community Support – Backed by an active developer community.
🛠️ How to Install Dolibarr ERP & CRM
Method 1: Installing Dolibarr on Ubuntu 24 VPS
Step 1: Update & Install Required Packages
sudo apt update && sudo apt upgrade -y
sudo apt install apache2 mariadb-server php libapache2-mod-php php-cli php-mysql php-xml php-mbstring unzip -yStep 2: Configure MariaDB Database
sudo mysql_secure_installation
mysql -u root -p
CREATE DATABASE dolibarr;
CREATE USER 'dolibarr_user'@'localhost' IDENTIFIED BY 'your_secure_password';
GRANT ALL PRIVILEGES ON dolibarr.* TO 'dolibarr_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;Step 3: Download & Extract Dolibarr
cd /var/www/html/
wget https://github.com/Dolibarr/dolibarr/releases/download/x.y.z/dolibarr-x.y.z.zip
unzip dolibarr-x.y.z.zip
mv dolibarr-x.y.z dolibarr
sudo chown -R www-data:www-data /var/www/html/dolibarr
sudo chmod -R 755 /var/www/html/dolibarrStep 4: Configure Apache for Dolibarr
sudo nano /etc/apache2/sites-available/dolibarr.confAdd the following:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/dolibarr/htdocs
ServerName yourdomain.com
<Directory /var/www/html/dolibarr/htdocs>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>sudo a2ensite dolibarr.conf
sudo a2enmod rewrite
sudo systemctl restart apache2Step 5: Complete Web Installation
Navigate to http://yourdomain.com/install.php and follow the on-screen instructions.
Method 2: Installing Dolibarr Using Docker
Step 1: Set Up Docker & Docker Compose
sudo apt update && sudo apt install docker.io docker-compose -yStep 2: Create a Docker Compose File
mkdir dolibarr && cd dolibarr
nano docker-compose.ymlAdd the following:
version: '3'
services:
mariadb:
image: mariadb:latest
container_name: dolibarr-mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: dolibarr
MYSQL_USER: dolibarr_user
MYSQL_PASSWORD: your_secure_password
volumes:
- mariadb_data:/var/lib/mysql
dolibarr:
image: tuxgasy/dolibarr
container_name: dolibarr-app
restart: always
ports:
- "8080:80"
environment:
DOLI_DB_HOST: mariadb
DOLI_DB_USER: dolibarr_user
DOLI_DB_PASSWORD: your_secure_password
DOLI_DB_NAME: dolibarr
depends_on:
- mariadb
volumes:
mariadb_data:Step 3: Deploy Dolibarr
docker-compose up -dNow, access Dolibarr at http://yourserverip:8080/install.php and follow the setup wizard.
📊 Dolibarr vs. Alternatives
| Feature | Dolibarr | Odoo | ERPNext |
|---|---|---|---|
| Open-source | ✅ | ✅ | ✅ |
| Free Version | ✅ | ✅ | ✅ |
| Modular | ✅ | ✅ | ✅ |
| Easy to Use | ✅ | ❌ | ✅ |
| Cloud & Self-Hosted | ✅ | ✅ | ✅ |
🆓 Free Top-Rated Alternatives
🔹 Odoo – Comprehensive ERP with cloud and self-hosting options. 🔹 ERPNext – Open-source ERP with strong accounting features. 🔹 SuiteCRM – Best for CRM-specific needs.
🔗 Download & Official Links
🔗 Dolibarr Official Website 🔗 GitHub Repository
📌 Conclusion
Dolibarr ERP & CRM is a feature-rich, scalable, and self-hosted solution for businesses seeking control over their management systems. Whether you install it on a VPS or use Docker, it offers flexibility and security for your business operations.
💬 Have you used Dolibarr? Share your experience in the comments!
📢 About EngineerHow.com
EngineerHow.com is your go-to platform for IT, self-hosting, networking, and engineering guides. We simplify complex topics with step-by-step tutorials. Explore more at EngineerHow.com!
📺 Watch the Video Tutorial: [YouTube Link Placeholder]
