OCS+GLPI 資 產 管 理

Why to do ? • 減輕MIS的管理⼯工作負擔

• 快速清點公司資產

• 建⽴立授權軟體相關⽂文件

OCS features • Wake On Lan

• QR code Management

• Deployment as a set time

• SNMP information acquisition

• Easy to management most computer assets

OCS 架構

Prepare install OCS • Apache versio 2.0.46 or higher

• •

Mod_perl version 1.29 or higher! Mod_php version 4.3.2 or higher!

• PHP 4.3.2 or higher, with ZIP and GD support enabled!

• MySQL version 4.1.0 or higher with InnoDB engine active

Prepare install OCS • Perl 5.6 or higher

• • • • • • •

Perl module XML::Simple version 2.12 or higher

Perl module Compress::Zlib version 1.33 or higher

Perl module DBI version 1.40 or higher

Perl module DBD::Mysql version 2.9004 or higher

Perl module Apache::DBI version 0.93 or higher

Perl module Net::IP version 1.21 or higher

Perl module SOAP::Lite version 0.66 or higher(optional)

Install Perl Module • • • • •

apt-get update

• • • • • •

apt-get install libapache2-mod-perl2-dev

apt-get install build-essential

apt-get install lamp-server^

apt-get install libio-compress-perl (relpace libcompress-zlib-perl)

apt-get install libxml-simple-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl

apt-get install liblocal-lib-perl

cpan -i XML::Entities

cpan -i SOAP::Lite

cpan -i Apache2::SOAP

cpan -i Compress::Zlib



Install PHP Module •

apt-get install php5-common libphp-pclzip php5-gd libpcre3-dev php-pear

• •

pecl install zip & echo "extension=zip.so" > /etc/php5/conf.d/zip.ini

• • •

tar -zxvf OCSNG_UNIX_SERVER-2.1rc1.tar.gz

wget https://launchpad.net/ocsinventory-server/ stable-2.1/2.1rc1/+download/ OCSNG_UNIX_SERVER-2.1rc1.tar.gz

cd OCSNG_UNIX_SERVER-2.1rc1

sh setup.sh

Setting OCS • vim z-ocsinventory-server.conf

• •

PerlSetEnv OCS_DB_USER root

• •

post_max_size = 40M

PerSetEnv OCS_DB_PWD 123456

• vim /etc/php5/cli/php.ini

upload_max_filesize = 100M

• mysql -u root -p

• create database ocsweb;

Setting OCS

Setting OCS

Setting OCS

Setting OCS

Login OCS on Web 預設登⼊入帳號:admin

預設登⼊入密碼:admin

Setting OCS

Setting OCS

Setting OCS

GLPI description • GLPI( Gestion Libre De Parc Informatique )

• 這是⼀一個適合IT部⾨門做電腦資產管理、 知識管理、HelpDesk追踨管理等,並且 透過結合OSC Inventory NG,將其收集 到的資訊,匯出成報表,以便年終做資 產盤點,節省時間。

Install GLPI • wget https://forge.indepnet.net/ attachments/download/1615/ glpi-0.84.3.tar.gz

• tar -C /var/www -zxvf glpi-0.84.3.tar.gz

• chown -R www-data:www-data glpi

Install GLPI Plugin •

wget https://forge.indepnet.net/attachments/ download/1564/glpi-ocsinventoryng-1.0.2.tar.gz



tar -C /var/www/glpi/plugins/ -zxvf glpiocsinventoryng-1.0.2.tar.gz



cchown -R www-data:www-data /var/www/glpi/ plugins/

Setting GLPI 選擇語系:繁體中⽂文

Setting GLPI 同意條款

Setting GLPI 點選『安裝』

Setting GLPI 點選『繼續』

Setting GLPI 設定連結資料庫,Mysql主機:localhost Mysql使⽤用者:root Mysql密碼:使⽤用者⾃自定

Setting GLPI 建⽴立⼀一個新的資料庫為『glpi』

Setting GLPI 初始化資料庫,點選『繼續』

Setting GLPI 恭喜你,已設定完成,可以開始使⽤用

登⼊入GLPI 預設帳密:glpi

GLPI 主畫⾯面

GLPI 使⽤用者設定

『管理』→『使⽤用者』→選擇要修改的使⽤用者

Enable GLPI Plugin 點選『設定』→『插件』→『安裝』→『啟動』

Setting GLPI Plugin 『插件』→『OCS Inventory NG』→點選『藍⾊色的圖案』

Setting GLPI Plugin 設定連結OCS的資料庫→『新增』

Setting GLPI Plugin 點選『OCS』

Setting GLPI Plugin

『Import options 』→import所需的資料→點選『存檔』

Setting GLPI Plugin 『插件』→『OCS Inventory NG』

恭喜您!

已完成GLPI+OCS的所有設定了!

OCS+GLPI資產管理.pdf

There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. OCS+GLPI資產 ...

2MB Sizes 6 Downloads 44 Views

Recommend Documents

No documents