====== FOSS ERP Dolibarr ====== ===== Quellen ===== * [[https://www.dolibarr.org/|Dolibarr Homepage]] * [[https://www.skynats.com/blog/how-to-install-dolibarr-on-ubuntu-24-04/|How to Install Dolibarr on Ubuntu 24.04]] ===== Installation ===== sudo su apt-get update apt-get dist-upgrade apt-get install aptitude mc unzip cd ~ ## wget https://netcologne.dl.sourceforge.net/project/dolibarr/Dolibarr%20installer%20for%20Debian-Ubuntu%20%28DoliDeb%29/21.0.1/dolibarr_21.0.1-4_all.deb ## dpkg -i dolibarr_21.0.1-4_all.deb apt install apache2 -y apt install default-mysql-server -y systemctl status mysql apt install php php-mysqli php-curl php-mbstring php-xml php-zip php-json php-gd php-soap php-ldap -y php -v mysql -u root -p # Enter password: ********** MariaDB [(none)]> CREATE DATABASE dolibarr; MariaDB [(none)]> CREATE USER 'dolibarr_user'@'localhost' IDENTIFIED BY 'your_password'; MariaDB [(none)]> GRANT ALL PRIVILEGES ON dolibarr.* TO 'dolibarr_user'@'localhost'; MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> EXIT; wget https://github.com/Dolibarr/dolibarr/archive/refs/tags/21.0.1.zip mv 21.0.1.zip dolibarr-21.0.1.zip unzip dolibarr-21.0.1.zip mkdir /var/www/html/dolibarr mv dolibarr-21.0.1 /var/www/html/ mv /var/www/html/dolibarr-21.0.1 /var/www/html/dolibarr chown -R www-data:www-data /var/www/html/dolibarr chmod -R 755 /var/www/html/dolibarr mcedit /etc/apache2/sites-available/dolibarr.conf # Add the following configuration to the file: ServerAdmin webmaster@localhost DocumentRoot /var/www/html/dolibarr/htdocs ServerName your_domain_or_IP AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # save and exit a2ensite dolibarr.conf systemctl restart apache2 a2enmod rewrite systemctl restart apache2 #Install Dolibarr via the Web Interface #Open a browser and navigate to http://your_domain_or_IP or http://localhost/dolibarr if you’re on the server directly.