centos6.0安装glpi0.78+ocs总结

科技小先锋 2017-11-23

php Apache Image ocs Server

 GLPI 是一个信息资源管理器运行在linux下。你可以用它来给你公司建立一个资产清单(计算机,软件,打印机、、、)数据库。它的增强的功能可以是管理员的日常工作简单化,例如 带有邮件提醒功能的工作跟踪系统等。它最首要的功能包括:1)所有技术资源精确的资产清单。资产的所有属性将被存储在同一个数据中。2)管理流程、维护工 作的历史。这是一个动态的应用,它直接连把需要发出支持请求的用户和技术人员连接起来.

 
一些常用的软件下载地址如下:
Server
ftp://linvinus.ru/ocs/1.3.2/OCSNG_UNIX_SERVER-1.3.2-linvinus-with-utf8_patch.tar.gz
 
Client (windows)
ftp://linvinus.ru/ocs/windows-agent-1.3/OcsAgentSetup.exe
 
GLPI安装包
https://forge.indepnet.net/attachments/download/656/glpi-0.78.tar.gz
 
手动下载以下模块
 
Digest-SHA1-2.02
http://www.ultramonkey.org/download/2.0.1/source/perl-Digest-SHA1/Digest-SHA1-2.02.tar.gz
 
Apache-DBI-1.06.tar.gz(Apache 模块)
http://www.filewatcher.com/m/Apache-DBI-1.06.tar.gz.33833.0.0.html
 
SOAP-Lite-0.69.tar.gz   (prel 模块)
http://www.filewatcher.com/_/?q=SOAP-Lite-0.69
 
XML-Entities-1.0000.tar.gz (Prel 模块)
http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/XML-Entities-1.0000.tar.gz
 
 
1.首先在vmware上安装好centos6.0 base基本包系统
 
2. 安装install.sh脚本
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
yum -y install make gcc gcc-c++ glibc-devel glibc-headers autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libXpm libX11libxml2-devel gettext-devel pcre-devel mysql mysql-server httpd php php-devel php-gd php-pecl-zip php-mysql php-devel php-pear php-imap php-ldap php-odbc php-xml php-xmlrpc mod_perl httpd mysql mysql-server php-mysql perl mod_perl perl-XML-Simple perl-Compress-Zlib perl-DBI perl-DBD-MySQL perl-Net-IP php-mbstring
chkconfig mysqld on
service mysqld start
mysqladmin -uroot password 123456
sh 1&&sh 2&&sh 3&&sh 4&&sh 5&&sh 6
 
[root@localhost glpi]# ls //查看glpi里面的内容如下:
1  3  5  Apache-DBI-1.05.tar.gz   glpi-0.78.tar.gz  OCSNG_UNIX_SERVER-1.3.2-linvinus-with-utf8_patch.tar.gz  test.txt
2  4  6  Digest-SHA1-2.02.tar.gz  install.sh        SOAP-Lite-0.69.tar.gz                                    XML-Entities-1.0000.tar.gz
[root@localhost glpi]# cat 1//查看1的脚本
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf Digest-SHA1-2.02.tar.gz
cd Digest-SHA1-2.02
perl Makefile.PL
make test
make
make install
[root@localhost glpi]# cat 2//查看2的脚本
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf Apache-DBI-1.05.tar.gz 
cd Apache-DBI-1.05
perl Makefile.PL 
make test 
make 
make install
[root@localhost glpi]# cat 3//查看3的脚本
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf SOAP-Lite-0.69.tar.gz
cd SOAP-Lite-0.69 
perl Makefile.PL  
make 
make test 
make install
[root@localhost glpi]# cat 4 //查看4的内容
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf XML-Entities-1.0000.tar.gz 
cd XML-Entities 
perl Makefile.PL 
make 
make test 
make install
[root@localhost glpi]# cat 5//查看5的内容
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf OCSNG_UNIX_SERVER-1.3.2-linvinus-with-utf8_patch.tar.gz
cd ocsinventory-server-1.3.2/
sh setup.sh
[root@localhost glpi]# cat 6//查看6的内容
#!/bin/bash
PATH=/root/glpi:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export PATH
tar -zxvf glpi-0.78.tar.gz
cp -rf glpi/* /var/www/html/
chmod 777 -R /var/www/html/config/
chmod 777 -R /var/www/html/files/
echo "extension=mbstring.so" >>/etc/php.ini 
mysql -uroot -p123456 -e "create database glpi;" 
service httpd restart
rm -rf Digest-SHA1-2.02 Apache-DBI-1.05 SOAP-Lite-0.69 XML-Entities ocsinventory-server-1.3.2 glpi

3.安装方法直接用ssh上传到/root目录解压tar -zxvf然后sh install.sh 一路回车即可,下面是安装信息。
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Setting up Install Process
Package 1:make-3.81-19.el6.i686 already installed and latest version
Package gcc-4.4.6-3.el6.i686 already installed and latest version
Package gcc-c++-4.4.6-3.el6.i686 already installed and latest version
Package glibc-devel-2.12-1.47.el6_2.5.i686 already installed and latest version
Package glibc-headers-2.12-1.47.el6_2.5.i686 already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package automake-1.11.1-1.2.el6.noarch already installed and latest version
Package bzip2-devel-1.0.5-7.el6_0.i686 already installed and latest version
Package zlib-devel-1.2.3-27.el6.i686 already installed and latest version
Package ncurses-devel-5.7-3.20090208.el6.i686 already installed and latest version
Package libjpeg-devel-6b-46.el6.i686 already installed and latest version
Package 2:libpng-devel-1.2.46-1.el6_1.i686 already installed and latest version
Package libtiff-devel-3.9.4-1.el6_0.3.i686 already installed and latest version
Package freetype-devel-2.3.11-6.el6_1.8.i686 already installed and latest version
Package pam-devel-1.1.1-10.el6.i686 already installed and latest version
Package openssl-devel-1.0.0-20.el6_2.1.i686 already installed and latest version
Package libXpm-3.5.8-2.el6.i686 already installed and latest version
No package libX11libxml2-devel available.
Package gettext-devel-0.17-16.el6.i686 already installed and latest version
Package pcre-devel-7.8-3.1.el6.i686 already installed and latest version
Package mysql-5.1.52-1.el6_0.1.i686 already installed and latest version
Package mysql-server-5.1.52-1.el6_0.1.i686 already installed and latest version
Package httpd-2.2.15-15.el6.centos.i686 already installed and latest version
Package php-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-devel-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-gd-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-common-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-mysql-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-devel-5.3.3-3.el6_2.5.i686 already installed and latest version
Package 1:php-pear-1.9.4-4.el6.noarch already installed and latest version
Package php-imap-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-ldap-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-odbc-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-xml-5.3.3-3.el6_2.5.i686 already installed and latest version
Package php-xmlrpc-5.3.3-3.el6_2.5.i686 already installed and latest version
Package mod_perl-2.0.4-10.el6.i686 already installed and latest version
Package httpd-2.2.15-15.el6.centos.i686 already installed and latest version
Package mysql-5.1.52-1.el6_0.1.i686 already installed and latest version
Package mysql-server-5.1.52-1.el6_0.1.i686 already installed and latest version
Package php-mysql-5.3.3-3.el6_2.5.i686 already installed and latest version
Package 4:perl-5.10.1-119.el6_1.1.i686 already installed and latest version
Package mod_perl-2.0.4-10.el6.i686 already installed and latest version
Package perl-XML-Simple-2.18-6.el6.noarch already installed and latest version
Package perl-Compress-Zlib-2.020-119.el6_1.1.i686 already installed and latest version
Package perl-DBI-1.609-4.el6.i686 already installed and latest version
Package perl-DBD-MySQL-4.013-3.el6.i686 already installed and latest version
Package perl-Net-IP-1.25-13.el6.noarch already installed and latest version
Package php-mbstring-5.3.3-3.el6_2.5.i686 already installed and latest version
Nothing to do
Starting mysqld:                                           [  OK  ]
Digest-SHA1-2.02/
Digest-SHA1-2.02/README
Digest-SHA1-2.02/MANIFEST
Digest-SHA1-2.02/fip180-1.html
Digest-SHA1-2.02/SHA1.pm
Digest-SHA1-2.02/typemap
Digest-SHA1-2.02/fip180-1.gif
Digest-SHA1-2.02/t/
Digest-SHA1-2.02/t/badfile.t
Digest-SHA1-2.02/t/sha1.t
Digest-SHA1-2.02/Changes
Digest-SHA1-2.02/Makefile.PL
Digest-SHA1-2.02/SHA1.xs
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA1
cp SHA1.pm blib/lib/Digest/SHA1.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap  SHA1.xs > SHA1.xsc && mv SHA1.xsc SHA1.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables   -DVERSION=\"2.02\" -DXS_VERSION=\"2.02\" -fPIC "-I/usr/lib/perl5/CORE"   SHA1.c
Running Mkbootstrap for Digest::SHA1 ()
chmod 644 SHA1.bs
rm -f blib/arch/auto/Digest/SHA1/SHA1.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib SHA1.o  -o blib/arch/auto/Digest/SHA1/SHA1.so        \
                \
          
chmod 755 blib/arch/auto/Digest/SHA1/SHA1.so
cp SHA1.bs blib/arch/auto/Digest/SHA1/SHA1.bs
chmod 644 blib/arch/auto/Digest/SHA1/SHA1.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/badfile.t .. ok
t/sha1.t ..... ok
All tests successful.
Files=2, Tests=7,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.00 cusr  0.01 csys =  0.03 CPU)
Result: PASS
Manifying blib/man3/Digest::SHA1.3pm
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Appending installation info to /usr/lib/perl5/perllocal.pod
Apache-DBI-1.05
Apache-DBI-1.05/lib
Apache-DBI-1.05/Changes
Apache-DBI-1.05/traces.txt
Apache-DBI-1.05/t
Apache-DBI-1.05/MANIFEST
Apache-DBI-1.05/eg
Apache-DBI-1.05/TODO
Apache-DBI-1.05/Makefile.PL
Apache-DBI-1.05/README
Apache-DBI-1.05/META.yml
Apache-DBI-1.05/eg/startup.pl
Apache-DBI-1.05/t/10mysql.t
Apache-DBI-1.05/lib/Apache
Apache-DBI-1.05/lib/Apache/AuthDBI.pm
Apache-DBI-1.05/lib/Apache/DBI.pm
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::DBI
cp lib/Apache/DBI.pm blib/lib/Apache/DBI.pm
cp lib/Apache/AuthDBI.pm blib/lib/Apache/AuthDBI.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10mysql.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/10mysql.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.00 usr +  0.01 sys =  0.01 CPU)
Result: FAIL
Manifying blib/man3/Apache::DBI.3pm
Manifying blib/man3/Apache::AuthDBI.3pm
Manifying blib/man3/Apache::DBI.3pm
Manifying blib/man3/Apache::AuthDBI.3pm
Appending installation info to /usr/lib/perl5/perllocal.pod
SOAP-Lite-0.69/
SOAP-Lite-0.69/lib/
SOAP-Lite-0.69/lib/XMLRPC/
SOAP-Lite-0.69/lib/XMLRPC/Transport/
SOAP-Lite-0.69/lib/XMLRPC/Transport/TCP.pm
SOAP-Lite-0.69/lib/XMLRPC/Transport/POP3.pm
SOAP-Lite-0.69/lib/XMLRPC/Transport/HTTP.pm
SOAP-Lite-0.69/lib/XMLRPC/Lite.pm
SOAP-Lite-0.69/lib/XMLRPC/Test.pm
SOAP-Lite-0.69/lib/SOAP/
SOAP-Lite-0.69/lib/SOAP/Transport/
SOAP-Lite-0.69/lib/SOAP/Transport/JABBER.pm
SOAP-Lite-0.69/lib/SOAP/Transport/MAILTO.pm
SOAP-Lite-0.69/lib/SOAP/Transport/HTTP.pm
SOAP-Lite-0.69/lib/SOAP/Transport/LOCAL.pm
SOAP-Lite-0.69/lib/SOAP/Transport/POP3.pm
SOAP-Lite-0.69/lib/SOAP/Transport/FTP.pm
SOAP-Lite-0.69/lib/SOAP/Transport/MQ.pm
SOAP-Lite-0.69/lib/SOAP/Transport/IO.pm
SOAP-Lite-0.69/lib/SOAP/Transport/TCP.pm
SOAP-Lite-0.69/lib/SOAP/Lite.pm
SOAP-Lite-0.69/lib/SOAP/Data.pm
SOAP-Lite-0.69/lib/SOAP/Test.pm
SOAP-Lite-0.69/lib/SOAP/Schema.pm
SOAP-Lite-0.69/lib/SOAP/Server.pm
SOAP-Lite-0.69/lib/SOAP/Utils.pm
SOAP-Lite-0.69/lib/SOAP/Client.pm
SOAP-Lite-0.69/lib/SOAP/Fault.pm
SOAP-Lite-0.69/lib/SOAP/Transport.pm
SOAP-Lite-0.69/lib/SOAP/Header.pm
SOAP-Lite-0.69/lib/SOAP/Packager.pm
SOAP-Lite-0.69/lib/SOAP/Deserializer.pm
SOAP-Lite-0.69/lib/SOAP/Trace.pm
SOAP-Lite-0.69/lib/SOAP/Constants.pm
SOAP-Lite-0.69/lib/SOAP/Serializer.pm
SOAP-Lite-0.69/lib/SOAP/SOM.pm
SOAP-Lite-0.69/lib/Apache/
SOAP-Lite-0.69/lib/Apache/SOAP.pm
SOAP-Lite-0.69/lib/Apache/XMLRPC/
SOAP-Lite-0.69/lib/Apache/XMLRPC/Lite.pm
SOAP-Lite-0.69/lib/OldDocs/
SOAP-Lite-0.69/lib/OldDocs/SOAP/
SOAP-Lite-0.69/lib/OldDocs/SOAP/Transport/
SOAP-Lite-0.69/lib/OldDocs/SOAP/Transport/HTTP.pm
SOAP-Lite-0.69/lib/OldDocs/SOAP/Transport/FTP.pm

We are about to install SOAP::Lite and for your convenience will provide
you with list of modules and prerequisites, so you'll be able to choose
only modules you need for your configuration.
XMLRPC::Lite, UDDI::Lite, and XML::Parser::Lite are included by default.
Installed transports can be used for both SOAP::Lite and XMLRPC::Lite.
Press <enter> to see the detailed list.  
Feature                       Prerequisites                Install?
----------------------------- ---------------------------- --------
Core Package                  [*] URI                      always  
                              [*] MIME::Base64                     
                              [*] XML::Parser (v2.23)              
Client HTTP support           [*] LWP::UserAgent           [ yes ] 
Client HTTPS support          [ ] Crypt::SSLeay            [ no ]  
Client SMTP/sendmail support  [ ] MIME::Lite               [ no ]  
Client FTP support            [*] IO::File                 [ yes ] 
                              [*] Net::FTP                         
Standalone HTTP server        [*] HTTP::Daemon             [ yes ] 
Apache/mod_perl server        [ ] Apache                   [ no ]  
FastCGI server                [ ] FCGI                     [ no ]  
POP3 server                   [ ] MIME::Parser             [ no ]  
                              [*] Net::POP3                        
IO server                     [*] IO::File                 [ yes ] 
MQ transport support          [ ] MQSeries                 [ no ]  
JABBER transport support      [ ] Net::Jabber              [ no ]  
MIME messages                 [ ] MIME::Parser             [ no ]  
DIME messages                 [ ] IO::Scalar (v2.105)      [ no ]  
                              [ ] DIME::Tools (v0.03)              
                              [ ] Data::UUID (v0.11)               
SSL Support for TCP Transport [ ] IO::Socket::SSL          [ no ]  
Compression support for HTTP  [*] Compress::Zlib           [ yes ] 
MIME interoperability w/ Axis [ ] MIME::Parser (v6.106)    [ no ]  
--- An asterix '[*]' indicates if the module is currently installed.
Do you want to proceed with this configuration? [yes]
cp lib/XMLRPC/Transport/POP3.pm blib/lib/XMLRPC/Transport/POP3.pm
cp lib/XMLRPC/Lite.pm blib/lib/XMLRPC/Lite.pm
cp lib/SOAP/Serializer.pm blib/lib/SOAP/Serializer.pm
cp lib/OldDocs/SOAP/Lite.pm blib/lib/OldDocs/SOAP/Lite.pm
cp lib/OldDocs/SOAP/Transport/HTTP.pm blib/lib/OldDocs/SOAP/Transport/HTTP.pm
cp lib/IO/SessionData.pm blib/lib/IO/SessionData.pm
cp lib/SOAP/Client.pm blib/lib/SOAP/Client.pm
cp lib/SOAP/SOM.pm blib/lib/SOAP/SOM.pm
cp lib/XMLRPC/Test.pm blib/lib/XMLRPC/Test.pm
cp lib/SOAP/Header.pm blib/lib/SOAP/Header.pm
cp lib/OldDocs/SOAP/Transport/MQ.pm blib/lib/OldDocs/SOAP/Transport/MQ.pm
cp lib/OldDocs/SOAP/Transport/FTP.pm blib/lib/OldDocs/SOAP/Transport/FTP.pm
cp lib/OldDocs/SOAP/Transport/JABBER.pm blib/lib/OldDocs/SOAP/Transport/JABBER.pm
cp lib/SOAP/Transport/TCP.pm blib/lib/SOAP/Transport/TCP.pm
cp lib/IO/SessionSet.pm blib/lib/IO/SessionSet.pm
cp lib/OldDocs/SOAP/Transport/IO.pm blib/lib/OldDocs/SOAP/Transport/IO.pm
cp lib/SOAP/Transport/HTTP.pm blib/lib/SOAP/Transport/HTTP.pm
cp lib/OldDocs/SOAP/Transport/LOCAL.pm blib/lib/OldDocs/SOAP/Transport/LOCAL.pm
cp lib/SOAP/Lite.pm blib/lib/SOAP/Lite.pm
cp lib/SOAP/Transport/LOCAL.pm blib/lib/SOAP/Transport/LOCAL.pm
cp lib/SOAP/Fault.pm blib/lib/SOAP/Fault.pm
cp lib/OldDocs/SOAP/Transport/MAILTO.pm blib/lib/OldDocs/SOAP/Transport/MAILTO.pm
cp lib/SOAP/Transport/FTP.pm blib/lib/SOAP/Transport/FTP.pm
cp bin/SOAPsh.pl blib/script/SOAPsh.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/SOAPsh.pl
cp bin/stubmaker.pl blib/script/stubmaker.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/stubmaker.pl
cp bin/XMLRPCsh.pl blib/script/XMLRPCsh.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/XMLRPCsh.pl
Manifying blib/man1/SOAPsh.pl.1
Manifying blib/man1/stubmaker.pl.1
Manifying blib/man1/XMLRPCsh.pl.1
Manifying blib/man3/SOAP::Packager.3pm
Manifying blib/man3/XML::Parser::Lite.3pm
Manifying blib/man3/SOAP::Data.3pm
Manifying blib/man3/XMLRPC::Transport::TCP.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::TCP.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::POP3.3pm
Manifying blib/man3/Apache::SOAP.3pm
Manifying blib/man3/SOAP::Test.3pm
Manifying blib/man3/SOAP::Transport.3pm
Manifying blib/man3/Apache::XMLRPC::Lite.3pm
Manifying blib/man3/XMLRPC::Transport::HTTP.3pm
Manifying blib/man3/SOAP::Transport::POP3.3pm
Manifying blib/man3/SOAP::Deserializer.3pm
Manifying blib/man3/SOAP::Trace.3pm
Manifying blib/man3/SOAP::Schema.3pm
Manifying blib/man3/SOAP::Server.3pm
Manifying blib/man3/UDDI::Lite.3pm
Manifying blib/man3/SOAP::Utils.3pm
Manifying blib/man3/SOAP::Constants.3pm
Manifying blib/man3/XMLRPC::Transport::POP3.3pm
Manifying blib/man3/XMLRPC::Lite.3pm
Manifying blib/man3/SOAP::Serializer.3pm
Manifying blib/man3/OldDocs::SOAP::Lite.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::HTTP.3pm
Manifying blib/man3/SOAP::Client.3pm
Manifying blib/man3/SOAP::SOM.3pm
Manifying blib/man3/XMLRPC::Test.3pm
Manifying blib/man3/SOAP::Header.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::FTP.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::MQ.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::JABBER.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::IO.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::LOCAL.3pm
Manifying blib/man3/SOAP::Lite.3pm
Manifying blib/man3/OldDocs::SOAP::Transport::MAILTO.3pm
Manifying blib/man3/SOAP::Fault.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01-core.t t/02-payload.t t/03-server.t t/04-attach.t t/05-customxml.t t/06-modules.t t/07-xmlrpc_payload.t t/08-schema.t
t/01-core.t ............ ok     
t/02-payload.t ......... ok       
t/03-server.t .......... ok     
t/04-attach.t .......... skipped: Could not find MIME::Parser - is MIME::Tools installed? Aborting.
t/05-customxml.t ....... ok     
t/06-modules.t ......... ok     
t/07-xmlrpc_payload.t .. ok   
t/08-schema.t .......... ok     
All tests successful.
Files=8, Tests=306,  1 wallclock secs ( 0.03 usr  0.02 sys +  0.35 cusr  0.06 csys =  0.46 CPU)
Result: PASS
Appending installation info to /usr/lib/perl5/perllocal.pod
XML-Entities/
XML-Entities/t/
XML-Entities/t/01-xml-entities.t
XML-Entities/t/00-xml-entities-data.t
XML-Entities/t/02-unicode.t
XML-Entities/bin/
XML-Entities/bin/download-entities.pl
XML-Entities/lib/
XML-Entities/lib/XML/
XML-Entities/lib/XML/Entities/
XML-Entities/lib/XML/Entities/Data.pm
XML-Entities/lib/XML/Entities/Data.pod
XML-Entities/lib/XML/Entities.pm
XML-Entities/README
XML-Entities/Changes
XML-Entities/Build.PL
XML-Entities/Makefile.PL
XML-Entities/META.yml
XML-Entities/MANIFEST
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More 0 not found.
Writing Makefile for XML::Entities
cp lib/XML/Entities/Data.pod blib/lib/XML/Entities/Data.pod
cp lib/XML/Entities/Data.pm blib/lib/XML/Entities/Data.pm
cp lib/XML/Entities.pm blib/lib/XML/Entities.pm
cp bin/download-entities.pl blib/script/download-entities.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/download-entities.pl
Manifying blib/man1/download-entities.pl.1
Manifying blib/man3/download-entities.pl.3pm
Manifying blib/man3/XML::Entities::Data.3pm
Manifying blib/man3/XML::Entities.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-xml-entities-data.t .. Can't locate Test/More.pm in @INC (@INC contains: /root/glpi/XML-Entities/blib/lib /root/glpi/XML-Entities/blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at t/00-xml-entities-data.t line 5.
BEGIN failed--compilation aborted at t/00-xml-entities-data.t line 5.
t/00-xml-entities-data.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/01-xml-entities.t ....... Can't locate Test/More.pm in @INC (@INC contains: /root/glpi/XML-Entities/blib/lib /root/glpi/XML-Entities/blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at t/01-xml-entities.t line 6.
BEGIN failed--compilation aborted at t/01-xml-entities.t line 6.
t/01-xml-entities.t ....... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/02-unicode.t ............ Can't locate Test/More.pm in @INC (@INC contains: /root/glpi/XML-Entities/blib/lib /root/glpi/XML-Entities/blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at t/02-unicode.t line 5.
BEGIN failed--compilation aborted at t/02-unicode.t line 5.
t/02-unicode.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/00-xml-entities-data.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/01-xml-entities.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/02-unicode.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=3, Tests=0,  0 wallclock secs ( 0.01 usr +  0.01 sys =  0.02 CPU)
Result: FAIL
Failed 3/3 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
Manifying blib/man1/download-entities.pl.1
Manifying blib/man3/download-entities.pl.3pm
Manifying blib/man3/XML::Entities::Data.3pm
Manifying blib/man3/XML::Entities.3pm
Appending installation info to /usr/lib/perl5/perllocal.pod
ocsinventory-server-1.3.2/
ocsinventory-server-1.3.2/setup.sh
ocsinventory-server-1.3.2/etc/
ocsinventory-server-1.3.2/etc/ocsinventory/
ocsinventory-server-1.3.2/etc/ocsinventory/ocsinventory-reports.conf
ocsinventory-server-1.3.2/etc/ocsinventory/ocsinventory-server.conf
ocsinventory-server-1.3.2/etc/logrotate.d/
ocsinventory-server-1.3.2/etc/logrotate.d/ocsinventory-server
ocsinventory-server-1.3.2/binutils/
ocsinventory-server-1.3.2/binutils/soap-client.pl
ocsinventory-server-1.3.2/binutils/soap-client.README
ocsinventory-server-1.3.2/binutils/ipdiscover-util.pl
ocsinventory-server-1.3.2/binutils/ocsinventory-injector.pl
ocsinventory-server-1.3.2/binutils/ocsinventory-log.pl
ocsinventory-server-1.3.2/binutils/ocs-errors
ocsinventory-server-1.3.2/binutils/ocsinventory-injector.README
ocsinventory-server-1.3.2/binutils/ocsinventory-log.README
ocsinventory-server-1.3.2/binutils/create-release-tarball.sh
ocsinventory-server-1.3.2/binutils/ipdiscover-util.README
ocsinventory-server-1.3.2/dtd/
ocsinventory-server-1.3.2/dtd/prolog_reply.dtd
ocsinventory-server-1.3.2/dtd/inventory_reply.dtd
ocsinventory-server-1.3.2/dtd/update_request.dtd
ocsinventory-server-1.3.2/dtd/update_reply.dtd
ocsinventory-server-1.3.2/dtd/Interface/
ocsinventory-server-1.3.2/dtd/Interface/get_computers_V1-request.dtd
ocsinventory-server-1.3.2/dtd/file_request.dtd
ocsinventory-server-1.3.2/dtd/prolog_request.dtd
ocsinventory-server-1.3.2/dtd/inventory_request.dtd
ocsinventory-server-1.3.2/README
ocsinventory-server-1.3.2/ChangeLog-ocsreports
ocsinventory-server-1.3.2/ocsreports/
ocsinventory-server-1.3.2/ocsreports/rules_redistrib.php
ocsinventory-server-1.3.2/ocsreports/js/
ocsinventory-server-1.3.2/ocsreports/js/slider.js
ocsinventory-server-1.3.2/ocsreports/js/timer.js
ocsinventory-server-1.3.2/ocsreports/js/datetimepicker.js
ocsinventory-server-1.3.2/ocsreports/js/range.js
ocsinventory-server-1.3.2/ocsreports/pass.php
ocsinventory-server-1.3.2/ocsreports/tele_stats.php
ocsinventory-server-1.3.2/ocsreports/tele_affect.php
ocsinventory-server-1.3.2/ocsreports/files/
ocsinventory-server-1.3.2/ocsreports/files/oui.txt
ocsinventory-server-1.3.2/ocsreports/files/ocsbase.sql
ocsinventory-server-1.3.2/ocsreports/dbconfig.inc.php
ocsinventory-server-1.3.2/ocsreports/css/
ocsinventory-server-1.3.2/ocsreports/css/onglets.css
ocsinventory-server-1.3.2/ocsreports/css/winclassic.css
ocsinventory-server-1.3.2/ocsreports/css/boxsizing.htc
ocsinventory-server-1.3.2/ocsreports/css/ocsreports.css
ocsinventory-server-1.3.2/ocsreports/local.php
ocsinventory-server-1.3.2/ocsreports/opt_param.php
ocsinventory-server-1.3.2/ocsreports/uploadfile.php
ocsinventory-server-1.3.2/ocsreports/tele_compress.php
ocsinventory-server-1.3.2/ocsreports/req.class.php
ocsinventory-server-1.3.2/ocsreports/opt_download.php
ocsinventory-server-1.3.2/ocsreports/group_show.php
ocsinventory-server-1.3.2/ocsreports/index.php
ocsinventory-server-1.3.2/ocsreports/admin_attrib.php
ocsinventory-server-1.3.2/ocsreports/download.php
ocsinventory-server-1.3.2/ocsreports/preferences.php
ocsinventory-server-1.3.2/ocsreports/machine.php
ocsinventory-server-1.3.2/ocsreports/footer.php
ocsinventory-server-1.3.2/ocsreports/opt_ipdiscover.php
ocsinventory-server-1.3.2/ocsreports/all_soft.php
ocsinventory-server-1.3.2/ocsreports/doublons.php
ocsinventory-server-1.3.2/ocsreports/ipcsv.php
ocsinventory-server-1.3.2/ocsreports/opt_suppr.php
ocsinventory-server-1.3.2/ocsreports/console.php
ocsinventory-server-1.3.2/ocsreports/admin_language.php
ocsinventory-server-1.3.2/ocsreports/donnees.php
ocsinventory-server-1.3.2/ocsreports/image/
ocsinventory-server-1.3.2/ocsreports/image/imprimante_d.png
ocsinventory-server-1.3.2/ocsreports/image/imprimante.png
ocsinventory-server-1.3.2/ocsreports/image/deconnexion.png
ocsinventory-server-1.3.2/ocsreports/image/modif_anul_v2.png
ocsinventory-server-1.3.2/ocsreports/image/recherche_a.png
ocsinventory-server-1.3.2/ocsreports/image/delete_all.png
ocsinventory-server-1.3.2/ocsreports/image/memoire.png
ocsinventory-server-1.3.2/ocsreports/image/stockage_a.png
ocsinventory-server-1.3.2/ocsreports/image/disque_a.png
ocsinventory-server-1.3.2/ocsreports/image/modem_d.png
ocsinventory-server-1.3.2/ocsreports/image/video.png
ocsinventory-server-1.3.2/ocsreports/image/peripherique.png
ocsinventory-server-1.3.2/ocsreports/image/proch16.png
ocsinventory-server-1.3.2/ocsreports/image/paquets_d.png
ocsinventory-server-1.3.2/ocsreports/image/spec_a.png
ocsinventory-server-1.3.2/ocsreports/image/administration.png
ocsinventory-server-1.3.2/ocsreports/image/codes_a.png
ocsinventory-server-1.3.2/ocsreports/image/pack.png
ocsinventory-server-1.3.2/ocsreports/image/peripherique_a.png
ocsinventory-server-1.3.2/ocsreports/image/aide_a.png
ocsinventory-server-1.3.2/ocsreports/image/up.png
ocsinventory-server-1.3.2/ocsreports/image/peripherique_d.png
ocsinventory-server-1.3.2/ocsreports/image/slot_a.png
ocsinventory-server-1.3.2/ocsreports/image/Gest_admin1.png
ocsinventory-server-1.3.2/ocsreports/image/bios_a.png
ocsinventory-server-1.3.2/ocsreports/image/processeur_a.png
ocsinventory-server-1.3.2/ocsreports/image/adm_a.png
ocsinventory-server-1.3.2/ocsreports/image/modif_valid_v2.png
ocsinventory-server-1.3.2/ocsreports/image/controleur.png
ocsinventory-server-1.3.2/ocsreports/image/regconfig.png
ocsinventory-server-1.3.2/ocsreports/image/modif_a.png
ocsinventory-server-1.3.2/ocsreports/image/prec16.png
ocsinventory-server-1.3.2/ocsreports/image/red.png
ocsinventory-server-1.3.2/ocsreports/image/repartition.png
ocsinventory-server-1.3.2/ocsreports/image/connexion.png
ocsinventory-server-1.3.2/ocsreports/image/oeil.png
ocsinventory-server-1.3.2/ocsreports/image/port_d.png
ocsinventory-server-1.3.2/ocsreports/image/norm_left.gif
ocsinventory-server-1.3.2/ocsreports/image/dictionnaire.png
ocsinventory-server-1.3.2/ocsreports/image/reseau_d.png
ocsinventory-server-1.3.2/ocsreports/image/memoire_d.png
ocsinventory-server-1.3.2/ocsreports/image/local.png
ocsinventory-server-1.3.2/ocsreports/image/controleur_d.png
ocsinventory-server-1.3.2/ocsreports/image/paquets.png
ocsinventory-server-1.3.2/ocsreports/image/modif_valid.png
ocsinventory-server-1.3.2/ocsreports/image/securite.png
ocsinventory-server-1.3.2/ocsreports/image/fond.png
ocsinventory-server-1.3.2/ocsreports/image/ttmachinesred.png
ocsinventory-server-1.3.2/ocsreports/image/repartition_a.png
ocsinventory-server-1.3.2/ocsreports/image/configuration_a.png
ocsinventory-server-1.3.2/ocsreports/image/ttmachines.png
ocsinventory-server-1.3.2/ocsreports/image/banner-ocs.png
ocsinventory-server-1.3.2/ocsreports/image/utilisateur OK.png
ocsinventory-server-1.3.2/ocsreports/image/bios_d.png
ocsinventory-server-1.3.2/ocsreports/image/slot_d.png
ocsinventory-server-1.3.2/ocsreports/image/ttlogiciels_a.png
ocsinventory-server-1.3.2/ocsreports/image/pass_a.png
ocsinventory-server-1.3.2/ocsreports/image/reseau_a.png
ocsinventory-server-1.3.2/ocsreports/image/rien_a.png
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Inventory/Update/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Inventory/Update/Hardware.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Constants.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/System/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/System/Config.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Communication/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Communication/Session.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Communication.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Modperl1.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Inventory.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Registry.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Notify.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Example.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Update.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Download/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Download/Inventory.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Filter.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Capacities/Download.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Duplicate.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Server/Groups.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/SOAP.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Internals.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/History.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Updates.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Database.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Ipdiscover.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Extensions.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Inventory.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface/Config.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Map.pm
ocsinventory-server-1.3.2/Apache/Ocsinventory/Interface.pm
ocsinventory-server-1.3.2/Apache/Changes
ocsinventory-server-1.3.2/Apache/Ocsinventory.pm
ocsinventory-server-1.3.2/Apache/INSTALL
ocsinventory-server-1.3.2/Apache/LICENSE
ocsinventory-server-1.3.2/Apache/Makefile.PL
ocsinventory-server-1.3.2/ChangeLog-server
ocsinventory-server-1.3.2/LICENSE.txt
+----------------------------------------------------------+
|                                                          |
| Welcome to OCS Inventory NG Management server setup !    |
|                                                          |
+----------------------------------------------------------+
CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and
previous, please remove any Apache configuration for Communication Server!
Do you wish to continue ([y]/n)?//安装ocs
Assuming Communication server 1.0 RC2 or previous is not installed
on this computer.
Starting OCS Inventory NG Management server setup from folder /root/glpi/ocsinventory-server-1.3.2
Storing log in file /root/glpi/ocsinventory-server-1.3.2/ocs_server_setup.log
+----------------------------------------------------------+
| Checking for database server properties...               |
+----------------------------------------------------------+
Your MySQL client seems to be part of MySQL version 5.1.
Your computer seems to be running MySQL 4.1 or higher, good ;-)
Which host is running database server [localhost] ?
OK, database server is running on host localhost ;-)
On which port is running database server [3306] ?
OK, database server is running on port 3306 ;-)

+----------------------------------------------------------+
| Checking for Apache web server daemon...                 |
+----------------------------------------------------------+
Where is Apache daemon binary [/usr/sbin/httpd] ?
+----------------------------------------------------------+
| Checking for Apache main configuration file...           |
+----------------------------------------------------------+
Where is Apache main configuration file [/etc/httpd/conf/httpd.conf] ?
OK, using Apache main configuration file /etc/httpd/conf/httpd.conf ;-)

+----------------------------------------------------------+
| Checking for Apache user account...                      |
+----------------------------------------------------------+
Which user account is running Apache web server [apache] ?
OK, Apache is running under user account apache ;-)

+----------------------------------------------------------+
| Checking for Apache group...                             |
+----------------------------------------------------------+
Which user group is running Apache web server [apache] ?
OK, Apache is running under users group apache ;-)

+----------------------------------------------------------+
| Checking for Apache Include configuration directory...   |
+----------------------------------------------------------+
Setup found Apache Include configuration directory in
/etc/httpd/conf.d/.
Setup will put OCS Inventory NG Apache configuration in this directory.
Where is Apache Include configuration directory [/etc/httpd/conf.d/] ?
OK, Apache Include configuration directory /etc/httpd/conf.d/ found ;-)

+----------------------------------------------------------+
| Checking for PERL Interpreter...                         |
+----------------------------------------------------------+
Found PERL Intrepreter at </usr/bin/perl> ;-)
Where is PERL Intrepreter binary [/usr/bin/perl] ?
OK, using PERL Intrepreter /usr/bin/perl ;-)

Do you wish to setup Communication server on this computer ([y]/n)?
+----------------------------------------------------------+
| Checking for Make utility...                             |
+----------------------------------------------------------+
OK, Make utility found at </usr/bin/make> ;-)
+----------------------------------------------------------+
| Checking for Apache mod_perl version...                  |
+----------------------------------------------------------+
Checking for Apache mod_perl version 1.99_22 or higher
Found that mod_perl version 1.99_22 or higher is available.
OK, Apache is using mod_perl version 1.99_22 or higher ;-)
+----------------------------------------------------------+
| Checking for Communication server log directory...       |
+----------------------------------------------------------+
Communication server can create detailled logs. This logs can be enabled
by setting interger value of LOGLEVEL to 1 in Administration console
menu Configuration.
Where to put Communication server log directory [/var/log/ocsinventory-server] ?
OK, Communication server will put logs into directory /var/log/ocsinventory-server ;-)

+----------------------------------------------------------+
| Checking for required Perl Modules...                    |
+----------------------------------------------------------+
Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for Apache::DBI PERL module...
Found that PERL module Apache::DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for Compress::Zlib PERL module...
Found that PERL module Compress::Zlib is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.
+----------------------------------------------------------+
| Checking for optional Perl Modules...                    |
+----------------------------------------------------------+
Checking for SOAP::Lite PERL module...
Found that PERL module SOAP::Lite is available.
Checking for XML::Entities PERL module...
Found that PERL module XML::Entities is available.

+----------------------------------------------------------+
| OK, looks good ;-)                                       |
|                                                          |
| Configuring Communication server Perl modules...         |
+----------------------------------------------------------+
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Ocsinventory
+----------------------------------------------------------+
| OK, looks good ;-)                                       |
|                                                          |
| Preparing Communication server Perl modules...           |
+----------------------------------------------------------+

+----------------------------------------------------------+
| OK, prepare finshed ;-)                                  |
|                                                          |
| Installing Communication server Perl modules...          |
+----------------------------------------------------------+

+----------------------------------------------------------+
| OK, Communication server Perl modules install finished;-)|
|                                                          |
| Creating Communication server log directory...           |
+----------------------------------------------------------+
Creating Communication server log directory /var/log/ocsinventory-server.
Fixing Communication server log directory files permissions.
Configuring logrotate for Communication server.
/root/glpi/ocsinventory-server-1.3.2
Removing old communication server logrotate file /etc/logrotate.d/ocsinventory-NG
Writing communication server logrotate to file /etc/logrotate.d/ocsinventory-server

+----------------------------------------------------------+
| OK, Communication server log directory created ;-)       |
|                                                          |
| Now configuring Apache web server...                     |
+----------------------------------------------------------+
To ensure Apache loads mod_perl before OCS Inventory NG Communication Server,
Setup can name Communication Server Apache configuration file
'z-ocsinventory-server.conf' instead of 'ocsinventory-server.conf'.
Do you allow Setup renaming Communication Server Apache configuration file
to 'z-ocsinventory-server.conf' ([y]/n) ?
OK, using 'z-ocsinventory-server.conf' as Communication Server Apache configuration file
Removing old communication server configuration to file /etc/httpd/conf.d//ocsinventory.conf
Writing communication server configuration to file /etc/httpd/conf.d//z-ocsinventory-server.conf
+----------------------------------------------------------+
| OK, Communication server setup sucessfully finished ;-)  |
|                                                          |
| Please, review /etc/httpd/conf.d//z-ocsinventory-server.conf
| to ensure all is good. Then restart Apache daemon.       |
+----------------------------------------------------------+

Do you wish to setup Administration Server (Web Administration Console)
on this computer ([y]/n)?
+----------------------------------------------------------+
| Checking for Administration Server directories...        |
+----------------------------------------------------------+
CAUTION: Setup now install files in accordance with Filesystem Hierarchy
Standard. So, no file is installed under Apache root document directory
(Refer to Apache configuration files to locate it).
If you're upgrading from OCS Inventory NG Server 1.01 and previous, YOU
MUST REMOVE (or move) directories 'ocsreports' and 'download' from Apache
root document directory.
If you choose to move directory, YOU MUST MOVE 'download' directory to
Administration Server writable/cache directory (by default
/var/lib/ocsinventory-reports), especialy if you use deployement feature.
Do you wish to continue ([y]/n)?
Assuming directories 'ocsreports' and 'download' removed from
Apache root document directory.
Where to copy Administration Server static files for PHP Web Console
[/usr/share/ocsinventory-reports] ?
OK, using directory /usr/share/ocsinventory-reports to install static files ;-)
Where to create writable/cache directories for deployement packages and
IPDiscover [/var/lib/ocsinventory-reports] ?

Communication server can create detailled logs. This logs can be enabled
by setting interger value of LOGLEVEL to 1 in Administration console
menu Configuration.
Where to put Communication server log directory [/var/log/ocsinventory-server] ?
.......省略
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
                                                           [  OK  ]
4.安装好之后客户端windows xp直接打开ie 输入http://ip/install/install.php就会进入安装界面
 
 5.同意许可继续
 
 
 6.选择设施因为第一次安装。
 7.步骤一检查目录权限因为脚本中已经chmod 777了所以这里直接继续即可。
 8.步骤一输入localhost,mysql  user root 密码在脚本中123456具体密码难度可以自己设置。
 
9.步骤2测试连接数据库,因为在脚本中已经创建了glpi,所以这里选择glpi,如果没有可以直接用web来创建一个。
10.步骤3初始化数据库继续。
11.第4部设施完成了以下为常用的用户和密码。
12.点击使用glpi 进入身份验证界面输入glpi glpi即可。
13.这个是进入的界面里面有许多选项大家自己慢慢研究。
14.安装ocs打开ie http://server/ocsreports/install.php
 
 
 
 
 
 
 15.客户端xp安装OcsAgentSetup.exe代理软件在c盘手动运行ocs_contact
16.然后进入ie http://server/ocsreports查看ocsagent获取的计算机信息用户名为admin 密码admin。
 16.最后去http://server/进入glpi web界面添加计算机和同步,但是首先要设置激活ocsng
17.主页设置ocsng方式导入选项全选,general informations全选,在连接中全选。
18.点击添加新计算机导入,然后同步。
19.清单如下。
 
总结刚开始是用手动安装的遇到的问题如下:
1.刚开始因为yum -y 没装make所以不能make
2.yum -y install的时候因为没装 php-mbstring ,所以在web安装的时候出现
3.因为网上的一些资料并不是很完整,所以遇到很多问题,在perl的时候或者make test的时候经常出现问题。
4.其实有些make test的时候出现问题并没有什么关系,刚开始还以为会出现问题。其实有些是可以忽略的。
为了方便大家所以自己写了一个全自动安装的脚本,对于一些部署网站的网友有帮助。


本文转自zh888 51CTO博客,原文链接:http://blog.51cto.com/zh888/771098,如需转载请自行联系原作者

登录 后评论
下一篇
云栖号资讯小编
1216人浏览
2020-06-29
相关推荐
Centos6.4 xen编译部署
732人浏览
2014-04-28 12:43:00
Forefront for OCS2007之部署
749人浏览
2017-11-23 15:58:00
0
0
0
2000