1. download glpi latest version here
2. you need to install php, myql, httpd in your unix machine use my link refer
3. start your httpd service and mysqld
4. create sql db
#mysql -u root -p
password:
mysql>create database glpi;
mysql> grant all privileges on glpi.* to glpi@localhost identified by ‘glpi’;
mysql>flush privileges;
mysql>exit
(or)
Here you have be a existing database, then upload to that
#mysql -u root -p dbname < /var/www/html/dbbackup/13oct16.sql
facing error like ERROR 1153 (08S01) at line 11719: Got a packet bigger than 'max_allowed_packet' bytes
then refer link
#service mysqld restart
#cd /var/www/html
here paste you latest glpi tar file
#tar -zxvf glpi-....tar.gz
#cd glpi/
# chown apache:apache -R files/
# chown apache:apache -R config/
# chmod -R 777 files/
# chmod -R 777 config/
#service httpd restart
based on my link you will face error like PHP >= 5.4.0 required
so you need to update php update php 5.3 to 5.4
open your browser
http://ip/glpi
here you need php 5.4. and more latest
finally if you have facing any login session error then change the permission
# yum list installed | grep "php"
php.x86_64 5.3.3-47.el6 @base
php-cli.x86_64 5.3.3-47.el6 @base
php-common.x86_64 5.3.3-47.el6 @base
php-devel.x86_64 5.3.3-47.el6 @base
php-gd.x86_64 5.3.3-47.el6 @base
php-mbstring.x86_64 5.3.3-47.el6 @base
php-mysql.x86_64 5.3.3-47.el6 @base
php-pdo.x86_64 5.3.3-47.el6 @base
php-pear.noarch 1:1.9.4-5.el6 @base
php-pecl-igbinary.x86_64 1.2.1-1.el6 @epel
php-pecl-redis.x86_64 2.2.7-1.el6 @epel
php-snmp.x86_64 5.3.3-47.el6 @base
2. you need to install php, myql, httpd in your unix machine use my link refer
3. start your httpd service and mysqld
4. create sql db
#mysql -u root -p
password:
mysql>create database glpi;
mysql> grant all privileges on glpi.* to glpi@localhost identified by ‘glpi’;
mysql>flush privileges;
mysql>exit
(or)
Here you have be a existing database, then upload to that
#mysql -u root -p dbname < /var/www/html/dbbackup/13oct16.sql
facing error like ERROR 1153 (08S01) at line 11719: Got a packet bigger than 'max_allowed_packet' bytes
then refer link
#service mysqld restart
#cd /var/www/html
here paste you latest glpi tar file
#tar -zxvf glpi-....tar.gz
#cd glpi/
# chown apache:apache -R files/
# chown apache:apache -R config/
# chmod -R 777 files/
# chmod -R 777 config/
#service httpd restart
based on my link you will face error like PHP >= 5.4.0 required
so you need to update php update php 5.3 to 5.4
open your browser
http://ip/glpi
here you need php 5.4. and more latest
finally if you have facing any login session error then change the permission
# yum list installed | grep "php"
php.x86_64 5.3.3-47.el6 @base
php-cli.x86_64 5.3.3-47.el6 @base
php-common.x86_64 5.3.3-47.el6 @base
php-devel.x86_64 5.3.3-47.el6 @base
php-gd.x86_64 5.3.3-47.el6 @base
php-mbstring.x86_64 5.3.3-47.el6 @base
php-mysql.x86_64 5.3.3-47.el6 @base
php-pdo.x86_64 5.3.3-47.el6 @base
php-pear.noarch 1:1.9.4-5.el6 @base
php-pecl-igbinary.x86_64 1.2.1-1.el6 @epel
php-pecl-redis.x86_64 2.2.7-1.el6 @epel
php-snmp.x86_64 5.3.3-47.el6 @base
now you have to update php
# yum update php if it fails
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum remove php-common # Need to remove this, otherwise it conflicts
yum install php56w
//yum install php56w-mysql
//yum install php56w-common
//yum install php56w-pdo
//yum install php56w-opcache
php --version # Verify version has been upgraded
No comments:
Post a Comment