IT資產管理開源軟件-GLPI安裝手冊

GLPI是法語Gestionnaire libre de parc informatique的縮寫,是一款歷史悠久的資產管理開源軟件;

GLPI提供功能全面的IT資源管理接口,可以用來建立數據庫全面管理IT的電腦,顯示器,服務器,打印機,網絡設備,電話,甚至硒鼓和墨盒等。提供Helpdesk用戶支持平臺;聯繫人,合同,合作商,以及文檔的管理;提供資源預定,知識庫的管理等功能。”

搭建

搭建環境:

centos 6.5+apache+php5.6+mysql

GLPI版本:9.1.3

1.1. 配置IP 首先需保證服務器可以連接到互聯網,配置固定IP地址

vim /etc/sysconfig/network-scripts/ifcfg-eth0

enter image description here

i(編輯)

:wq(保存退出)

enter image description here

1.2.關閉selinux

vi /etc/selinux/config
i(編輯)

修改爲disabled :wq(保存退出)

enter image description here

1.3.配置LAMP環境

1.3.1. 配置yum源:

rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

如果是centos7就直接把6改成7 enter image description here

1.3.2安裝php

yum -y install php-imap

enter image description here

yum -y install php-ldap

enter image description here

yum -y install php-gd

enter image description here

yum 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

輸入Y,按回車

enter image description here輸入Y,按回車

enter image description here

1.2.3.安裝 lamp(除php)

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 mysql mysql-server httpd

enter image description here

......倒杯水,86個包安裝完成.

1.2.4.配置mysql

service mysqld start //啓動mysql
mysql //進入mysql
use mysql;
update user set password=PASSWORD("PASSWORD")where user="root";

enter image description here

create database glpi; //創建glpi
\q //退出
chkconfig --levels 235 mysqld on //設置mysql開機啓動

enter image description here

1.2.5.安裝GLPI

curl -O -L https://github.com/glpi-project/glpi/releases/download/9.1.3/glpi-9.1.3.tgz
tar -zxvf glpi-9.1.3.tgz -C /var/www/html
chown -R apache:apache /var/www/html
chkconfig --level 2345 httpd on //設置apache 開機啓動

重啓apache服務:

service httpd restart

enter image description here

瀏覽器中輸入 ip地址/glpi

enter image description here

同意許可

enter image description here

安裝GLPI

enter image description here

兼容環境檢測

enter image description here

連接數據庫

enter image description here

選擇glpi

enter image description here

初始化數據庫 enter image description here

安裝完成

enter image description here

登錄界面,輸入賬號密碼

enter image description here進入控制界面

enter image description here

刪除安裝文件

rm /var/www/html/glpo/install/install.php

雙擊圖標,修改管理員密碼

enter image description here

恭喜,至此GLPI已搭建完成.

但這也只是剛剛開始..

GLPI做爲一款成熟的開源資產管理軟件,仍有很多可學習和研究的地方。在不同的系統環境下,一定必定會遇到不同的問題.到時“見招拆招,谷歌度娘”.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章