domingo, 2 de outubro de 2011

Installing OCS Inventory on CentOs 5.x


1. Download

   # wget http://launchpad.net/ocsinventory-server/stable-1.3/server-release-1.3.1/+download/OCSNG_UNIX_SERVER-1.3.1.tar.gz
   # wget http://rpms.famillecollet.com/el5.i386/perl-XML-Entities-0.02-1.el5.remi.noarch.rpm


2. Install dependencies

   #
   # yum install -y httpd php php-gd php-pecl-zip php-mysql mysql-server  perl-Apache-DBI perl-XML-Simple perl-SOAP-Lite perl-Net-IP perl-XML-SAX-Base perl-Compress-Zlib mod_perl
   #


3. Install software


    3.1. Pre-configuration


   #
   # vim /etc/yum.conf
          :
     gpgcheck=0
          :
   # yum localinstall perl-XML-Entities-0.02-1.el5.remi.noarch.rpm
   # vim /etc/yum.conf
          :
     gpgcheck=1
          :
   # echo configure incializacao automatica caso desejado ...
   # chkconfig httpd on
   # chkconfig mysqld on


    3.2. Install from sources


   #
   # tar -zxvf OCSNG_UNIX_SERVER-1.3.1.tar.gz -C /usr/src/
   # ln -s /usr/src/OCSNG_UNIX_SERVER-1.3.1/ /usr/src/ocs
   #
   # vim /usr/src/ocs/setup.sh
         :
     DB_SERVER_USER="root"
     DB_SERVER_PWD=
         :
   # 
   # cd /usr/src/ocs/
   # ./setup.sh  # answer <enter> for all questions
   #



    3.3. Complete configuration on browser
  • open on your browser de following url: http://lolcahost/ocsreports
  • adjust configurations of  server / username / password and click "send"
  • click link "Click here to enter OCS-NG GUI"


4. References



Nenhum comentário:

Postar um comentário