Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:projekte:erp:uebersicht

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

wiki:projekte:erp:uebersicht [2025/05/05 19:51] – angelegt wikimasterwiki:projekte:erp:uebersicht [2025/05/06 19:14] (aktuell) wikimaster
Zeile 11: Zeile 11:
 apt-get update apt-get update
 apt-get dist-upgrade apt-get dist-upgrade
-apt-get install aptitude mc+apt-get install aptitude mc unzip
 cd ~ 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 ## 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 ## 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:
  
 +<VirtualHost *:80>
 +    ServerAdmin webmaster@localhost
 +    DocumentRoot /var/www/html/dolibarr/htdocs
 +    ServerName your_domain_or_IP
 +
 +    <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>
 +# 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.
 </code> </code>
  
wiki/projekte/erp/uebersicht.txt · Zuletzt geändert: 2025/05/06 19:14 von wikimaster