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 php-mysql
Startup MySQL Server and set password
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.
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
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
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