31,024
edits
| Line 38: | Line 38: | ||
You can follow this tutorial for any Dolibarr version >= 2.0.0 | You can follow this tutorial for any Dolibarr version >= 2.0.0 | ||
* Check that you have installed Apache, PHP and a database server (MySQL or PostGreSQL) correctly (check list of installed | * Check that you have installed Apache, PHP and a database server (MySQL or PostGreSQL) correctly (check list of installed packaged on your server by using the package manager of your distribution). If not, install them (use last recent version). | ||
Note: The installer can create optionnaly the database if it does not exists yet, but in this case, you must know your database admin user and password. | Note: The installer can create optionnaly the database if it does not exists yet, but in this case, you must know your database admin user and password. | ||
For Linux users, if you have just installed MySQL | For Linux users, if you have just installed a MySQL server, the admin user is''' root'''. If the root password has never been set yet, you must run the following command to initialize the password: | ||
<source lang="bash"> | <source lang="bash"> | ||
mysql | mysql | ||
| Line 58: | Line 58: | ||
And type your password ''newrootpass'' then \q to quit if connexion has been successfull. | And type your password ''newrootpass'' then \q to quit if connexion has been successfull. | ||
For Linux users, if you have just installed PostgresSQL, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version) | For Linux users, if you have just installed a PostgresSQL server, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version) | ||
<source lang="ini"> | <source lang="ini"> | ||
local all dolibarrowner md5 | local all dolibarrowner md5 | ||