2024年3月31日发(作者:)

Centos 6.10 安装部署GLPI资产管理软件

GLPI是法语Gestionnaire libre de parc informatique的缩写,是一款历史悠久的资产管理软件;

GLPI提供功能全面的IT资源管理接口,可以用来建立数据库全面管理IT的电脑,显示器,服务器,打

印机,网络设备,电话,甚至硒鼓和墨盒等。提供Helpdesk用户支持平台;联系人,合同,合作商,以及

文档的管理;提供资源预定,知识库的管理等功能。

OS:CentOS 6.10 64bit

GLPI版本:9.3.3

MySQL版本:5.6

一、关闭selinux和iptables

[root@localhost ~]# service iptables stop 关闭防火墙

[root@localhost ~]# chkconfig iptables off 开机禁用防火墙

[root@localhost ~]# vim /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=GLPI

[root@localhost ~]# getenforce 查看SElinux状态

[root@localhost ~]# vi /etc/selinux/config 编辑

将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效

二、配置yum源

[root@glpi ~]# rpm -Uvh

/pub/linux/fedora/epel/

[root@glpi ~]# rpm -Uvh /enterprise/

三、安装PHP、安装Apache、一些依赖

[root@glpi ~]# yum -y install php-imap php-ldap php-gd

[root@glpi ~]# yum -y install --enablerepo=remi --enablerepo=remi-php56 php php-opcache

php-devel php-mbstring php-mcrypt php-mysqlnd php-phpuni-PHPUnit php-pecl-xdebug

php-pecl-xhprof

3.安装Apache和一些依赖

[root@glpi ~]# yum -y install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel

zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel

openssl-devel libxml2-devel gettext-devel pcre-devel httpd