As a System Administrator, you need to keep track of each and every asset of your hardware (Server/Switches/Routers/Laptops/Printers etc., ) . It is very difficult to keep these information manual. To overcome this problem, the tool called GLPI used in many companies.
Below steps explain the installation process of GLPI.
Step 1: Install Prerequisite package
[root@server ~]# yum install –y php php-mysql php-mbstring httpd httpd-server httpd-devel mysql-server mysql-devel
Step 2: Start Apache and MySQL Services
[root@server ~]# /etc/init.d/httpd start
[root@server ~]# chkconfig --level 35 httpd on
[root@server ~]# /etc/init.d/mysqld start
[root@server ~]# chkconfig –level 35 mysqld on
Step 3: Create a MySQL database
[root@server ~]# mysql -u -p
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database glpidb;
mysql> grant all on glpidb.* to 'glpiuser'@'localhost' identified by 'welcome';
mysql> flush privileges;
mysql> exit;
Step 4: Download and install GLPI
[root@server ~]# wget https://forge.indepnet.net/attachments/download/1615/glpi-0.84.3.tar.gz
[root@server ~]# tar -zxvf glpi-0.84.3.tar.gz
[root@server ~]# cp -rv glpi /var/www/html
[root@server ~]# cd /var/www/html/glpi/
[root@server glpi]# chown apache:apache -R files/
[root@server glpi]# chown apache:apache -R config/
[root@server glpi]# chmod -R 777 files/
[root@server glpi]# chmod -R 777 config/
[root@server glpi]# /etc/init.d/httpd restart
Step 5: Complete the setup in web browser
Open your web browser,type http://localhost/glpi or http://ip-address/glpi
Screen 1: Select your language -> English
Screen 2: EULA -> Click Ok
Screen 3: Click Install Button
Screen 4: Enter the below MySQL database details
Mysql server : localhost
Mysql user : glpiuser
Mysql password : welcome
Screen 5: Please select a database -> Select glpidb and click Continue
Screen 6: Successful installation screen -> Click Use GLPI
The default user accounts and their passwords will be shown in the above screen.
glpi/glpi for the administrator account
tech/tech for the technician account
normal/normal for the normal account
post-only/postonly for the postonly account
That’s it.. Use glpi account to login in to administrator console.