Installation of GLPI:
Server Requirement:
HTTP
PHP
MySQL
# yum install http* php mysql-server mysql mysql-client
For Latest Database:
# rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
# yum install mysql-community-server mysql-community-client mysql-community-libs mysql-community-common
# service httpd start
# chkconfig httpd on
# service mysqld start
# mysql_secure_installation
Login and create new database for glpi:
mysql> create database glpidb;
mysql> GRANT ALL ON glpidb.* TO glpiuser@localhost IDENTIFIED BY 'My$k@123';
mysql> flush privileges;
mysql> exit
Download GLPI from: http://www.glpi-project.org/spip.php?article41
# wget https://forge.indepnet.net/attachments/download/1615/glpi-0.84.3.tar.gz
Extract the tarball using command:
# tar -zxvf glpi-0.84.3.tar.gz
Move the extracted files to your webserver root document folder.
# mv glpi/ /var/www/glpi
Set Read/Write permissions of the following directories.
# chmod -R 777 /var/www/html/glpi/files/
# chmod -R 777 /var/www/html/glpi/config
Begin Installation
The rest of the installation is web based and pretty easy. Point your web browser with URL http://ip-address/glpi or http://domain-name/glpi and follow the onscreen instructions.
You should see the following screen. Select your language and click Ok.
Default logins / passwords are:
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
You can delete or modify these accounts as well as the initial data.
At the first log in it will show some precautions that be made before using GLPI further.
First you above to change the default users passwords for security reasons. To do that. Go to Administration -> Users -> glpi and input your new password in the password column.
And also you have to remove the install/install.php file for security reasons.
# rm -fr /var/www/html/glpi/install/install.php
If you made any mistakes or just forgot the password for the administrative account, you can re-run the above setup by deleting the following config/config.php file.
After completing your installation change the permission of the config/config_db.php file to avoid any misconfiguration by users.
# chmod 400 /var/www/html/glpi/config/config_db.php
Now start using GLPI asset management system by navigating to http://ip-address/glpi.
# check for - how to change default glpi logo
Refer:
http://www.unixmen.com/setup-asset-management-system-glpi-debianubuntu/
http://linuxadmin.melberi.com/2010/07/glpi-installation-guide-step-by-step.html
No comments:
Post a Comment