Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
m
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 packged on your server by using the package manager of your distribution). If not, install them (use last recent version).
* 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 database, the admin user is''' root'''. You must run the following command to initialize its password:
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         

Navigation menu