计算机技术

【Linux】【CMDB】【GLPI】安装与配置

2018-12-29  本文已影响0人  炼狱腾蛇Eric

1. 简介

2. 架构图

image.png

3. 链接

官方网站:https://glpi-project.org/
下载地址:https://github.com/glpi-project/glpi/releases
git:https://github.com/glpi-project
安装文档:https://glpi-install.readthedocs.io/en/latest/index.html#
插件地址:https://plugins.glpi-project.org/#/

4. 环境

5. 安装与配置

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
# MariaDB 10.3 CentOS repository list - created 2018-05-26 07:55 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

建一个空的库

MariaDB [(none)]> create database glpi;
Query OK, 1 row affected (0.000 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON glpi.* to glpi@localhost IDENTIFIED BY 'glpi';
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON glpi.* to glpi@'%' IDENTIFIED BY 'glpi';
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.000 sec)
yum -y install httpd httpd-devel
yum -y install mariadb php73 php73-php.x86_64 php73-php-ldap php73-php-imap \
php73-php-opcache php73-php-pecl-apcu php73-php-xmlrpc php73-php-mysqlnd \
php73-php-mbstring php73-php-gd php73-php-xml php-pear-CAS
wget https://github.com/glpi-project/glpi/releases/download/9.3.3/glpi-9.3.3.tgz -O /tmp/glpi-9.3.3.tgz
tar xf /tmp/glpi-9.3.3.tgz -C /var/www/html/glpi
chown -R apache:apache /var/www/html/
chmod 755 -R /var/www/html/glpi/config/
chmod 755 -R /var/www/html/glpi/files/
systemctl restart httpd && systemctl enable httpd

6. 安装插件

7. 常用的功能

上一篇下一篇

猜你喜欢

热点阅读