CentOS system based OCS2.1.2 installation GLPI 0.85

Source: Internet
Author: User
Tags glpi


CentOS system based OCS2.1.2 installation GLPI 0.85

For the novice to compile and install: It is not recommended to use compile and install, unless you really know what you are doing. Compilation and installation is not good, will you touch the full head is blood, time is also consumed, the task has not been completed, the boss still look down on you, to the end or Yum one key installation.

1, first install OCS http://990487026.blog.51cto.com/10133282/1686444



To install JSON:

TAR-ZXF json-1.2.1.tgz

CD json-1.2.1

Vim json_parser.c//glpi requires a JSON module, which needs to be increased before compiling

#define ZVAL_DELREF z_delref_p//rpm installation PHP5.3 does not support this symbol, you need to manually add the line, the preceding # do not remove

Phpize//If there is no phpize command, then use Yum to install the Php-devel package

./configure

Make

Make install



Find/-name*json.so//See if the JSON module is successfully installed

/usr/lib64/php/modules/json.so



Vim/etc/php.ini//Add to Downlink

Extension=json.so



Vim/etc/php.d/json.ini//Create Json.ini file, add the following two lines

; Enable SNMP Extension Module

Extension=json.so



Use the PHP-M command to see if PHP has loaded the JSON module





Install Glpi:


TAR-ZXF glpi-0.84.5.tar.gz

MV glpi/var/www/html///Put the extracted Glpi directory into the Web path

Chmod-r 755/var/www/html/glpi/config///grant config and files directory permissions

Chmod-r 755/var/www/html/glpi/files/

echo "extension=mbstring.so" >>/etc/php.ini

Chown-r apache:apache/var/www/html/glpi///Change the owner and owner of the GLPI directory



Create DATABASE: GLPI

MYSQL-UROOT-P123456-E "CREATE database Glpi;"

Service mysqld Restart



Restart HTTPD Service

Service httpd Restart
Service Iptables Stop
Setenforce 0



http://172.16.24.60/glpi/install/install.php

[Actoion] Invalid resolution

Vim glpi/inc/ajxc.class.php
In line 95th
Removal ($param [' Extraparam ']);
Restart Apache












CentOS system based OCS2.1.2 installation GLPI 0.85

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.