GLPI Asset Management Software CentOS 5.3 x86 Installation

Home » Computer Articles » Linux » GLPI Asset Management Software CentOS 5.3 x86 Installation
September 26, 2009 Linux No Comments

Install CentOS 5.3 in text mode without any server application options.

Update and harden CentOS 5.3

Applications you need to install after server installation.

yum install httpd
yum install php
yum install php-mysql
yum install mysql-server

Startup MySQL Server and set password

/etc/init.d/mysqld start
/usr/bin/mysqladmin -u root password 'newpassword'
chkconfig mysqld on (So when the server reboots MySQL will startup with Server)

Download GLPI and copy to server

Download GLPI (Version I used glpi-0.72.21.tar.gz)

Once downloaded copy to server and extract tar.gz file.

tar -zxvf glpi-0.72.21.tar.gz

If this server is only for GLPI then copy to the root of Apache.

rm -rf /var/www/html
mv glpi /var/www/
cd /var/www
mv glpi html
chown -R apache:apache html

Edit php.ini and change memory_limit

vi /etc/php.ini
Find memory_limit and change to at least 64m

JSON is needed for GLPI

yum install php php-pear php-devel
yum install gcc make
cd /root/
pecl download json
pear install json-1.2.1.tgz
vi /etc/php.d/json.ini
; php-json package - http://pecl.php.net/package/json
extension=json.so

/etc/init.d/httpd start

php -r 'var_dump(function_exists("json_encode"));'
Everything is good if you get this answer: bool(true)

Start and Stopping Apache

/etc/init.d/httpd start

/etc/init.d/httpd stop

To Access GLPI and Start Setup

http://ipaddress or domain name
Select Language and click OK
Check off I have read and accept the terms, Click on Continue
Click on Installation
Checking the Compatibility should be good, Click on Continue
MySQL Information
MySQL Server: localhost
MySQL Username: name
MySQL Password: password, Click on Continue
Create Database, glpi and Click on Continue
Database Created, Click on Continue
Remember the first time Username: glpi and Password: glpi
To use glpi, click on Use GLPI

For Security:
cd /var/www/html
web service user.
chmod 400 config/config_db.php

Remove the config_db.php to create a new installation.

Now you can setup your new Asset Management Software.

For more information on GLPI Click Here.
For more information on CentOS Click Here

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.