Linux or Windows Operating system
Apache webserver with php support
Mysql Database with php support
Preparing your system for GLPI Installation
WARNING: "this tutorial is meant for users that have a good knowledge of development tools and manual installation process and will be hardly supported by the Ubuntu community. Standard supported procedure are to install packages from the official repositories, not to compile them by hand".
Install apache2 with php support in Ubuntu
If you want to install apache2 with php support follow these steps
sudo aptitude install apache2
This will complete the installation of apache2 web server and now you need to know where
the configuration files and document root for your apache web server.
By default all your configuration files are located at /etc/apache2.Default document root for apache2 is /var/www.If you want to change the default document root you need to edit the /etc/apache2/sites-available/default file and look for this line “DocumentRoot /var/www/” here you can change where ever you want to change.For example if you want to change /home/wwww the above line looks like this “DocumentRoot /home/www/”.
The main configuration file located at /etc/apache2/apche2.conf.
Install php support for apache2
If you want to add support of php and cgi scripts install the following packages
sudo aptitude install libapache2-mod-php5 php5-cli php5-common php5-cgi
This will complete the installation of php support for apache2.
If you want to allow the different index files types check for the following line in etc /apache2/apache2.conf file
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml
Install Mysql Database server in Ubuntu with php support
If you want to install mysql database server with php support in ubuntu use the following
sudo aptitude mysql-server php5-mysql
At the time of installation it will prompt for mysql server root password and it will complete the installation
Install GLPI in Ubuntu
First you need to download the GLPT .tar.gz file from the download section of GLPI website in to your webserver root directory.For debian users default document root is
/var/www/ so i am downloading in to this.
sudo tar xzvf glpi-0.68.3-2.tar.gz
Now you should be having glpi directory in /var/www/ and change permissions for config
and files directories using the following command.
sudo chmod 777 config/ files/
To begin the installation you must to use your browser point to http://yourserverip/glpi/
During the first connection, a step by step installation starts and you should see the
following screen in this you need to select your language and click ok.
Now you have to accept the licence and click on continue.
Next screen you need to select install or update.I have selected install in this option.
Once you click on install you should see the screen “checking the compatibility of your environment” if something is missing it will give the error and you need to fix.If everything is fine you should see the following screen and click on continue.
Now you need to setup database connection here you need to enter your mysql server, mysql user and mysql user password and click on continue.
Here you need to select create new database,enter glpi (any of your choice) and click on
This time 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.
Now it will display the information about the installation of GLPI is now finished, a summary is displayed. Read these informations attentively and click on use GLPI.
Once you click on use GLPI you should see the following screen asking for username and
By defauly glpi is having the following username and passwords to login
glpi/glpi for the administrator account
tech/tech for the technician account
normal for the normal account
post-only/post-only for the postonly account
Select glpi username and password to login in to the glpi with administrator permissions
and you should see the following screen.
Add simply and easily new functionalities to GLPI using plugins.
The plugins need to be uncompress and copy in the "plugins" directory of your GLPI
installation. Each plugin is contained in a repertory
Download GLPI Plugins from here