Professional Documents
Culture Documents
GLPI INSTALLATION
3. Using your browser, get the root of GLPI. You can now configure GLPI using an graphic interface. After this
step, you can use GLPI and begin to work.
DETAILLED PROCEDURE
Requirements
Before the installation, you must have a MySQL database available. If you are not the administrator of the
server, it is necessary to ask for the activation of a MySQL base to the administrator.
You must know the data of your MySQL connection (provided by the administrator):
the host address of the MySQL server ;
your MySQL login ;
your MySQL password ;
the name of the database
Getting GLPI
Choose the version you want to install. Unpack the tarball in your personnal computer. Upload the obtained
directory into your web server.
If your are the administrator of the server unpack the tarball in the root apache directory (/var/www
or /var/www/html).
Install the whole files of GLPI in your web space, where you want that GLPI is accessible to the public.
Now, it is necessary to modify permissions to some directories in order that PHP can write in:
/files
/config
From now, all is held online. To begin the installation you must to use your browser to get the root of GLPI:
default is http://yourserver/glpi/
During the first connection, a step by step installation starts. The interface is user friendly, you must just enter
the required informations.
Preliminary steps
B- Install or Update.
http://www.glpi-project.org/spip.php?article61 14/04/2011
GLPI - Gestionnaire libre de parc informatique Página 2 de 2
This step verifies that all requirements are ojk for the installtion of GLPI. If something is wrong, you cannot
continur the installtion. An error message will appear that explain you what to do to correct the problem.
Installation steps
You must enter in a form all the informations needed to connect to MySQL.
« Mysql server » is the hostname where is your database server. For example: localhost or mysql.domain.tld
« Mysql pass » is the password of the username This field can be empty if your user have no password (No
comment will be done here on the security of such a user).
Your parameters are rights. So, you access to the next step.
Your parameters are wrongs. So, an error message is displayed, you must to click on back to modify your
parameters and retry.
The access to the database is ok. You mustr to create or choose the database that GLPI will use.
Two possibilities:
For this case, you must to have the rights to create a new database on the server.
Select « create a new database ». Enter the name of the database that you want to create in the text field.
Click on continue in order to initialize the database.
This stage informs you that the database is initialized with the default values. Some informations are given to
you on these values. Read this information attentively and click on « continue ».
Step 4 : This stage indicates that the installation of GLPI is now finished, a summary is displayed. Read these
informations attentively and click on "use GLPI" to perform your first connection with the application.
In case of error (of the kind: you forgot your own access to GLPI...), to start again this procedure of
installation, it is necessary to use your software ftp (for example) and to erase the following file:
config/config_db.php
For security reasons you must to set the read right to config/config_db.php only to the web service user.
Example : chmod 400 config/config_db.php
Use your browser to get the root of GLPI: http://yourserver/glpi/ (by default) to start again the procedure of
configuration then (actually, it is the absence of file "config_db.php" which causes the launching of this
procedure).
http://www.glpi-project.org/spip.php?article61 14/04/2011