ossim:~# cd /usr/share/ossim/www/downloads/ ossim:/usr/share/ossim/www/downloads# cp OCSNG_LINUX_AGENT_1.01_with_require.tar.gz /tmp/ ossim:/usr/share/ossim/www/downloads# cd /tmp/ ossim:/tmp# tar xvfz OCSNG_LINUX_AGENT_1.01_with_require.tar.gz OCSNG_LINUX_AGENT_1.01/ OCSNG_LINUX_AGENT_1.01/changelogs OCSNG_LINUX_AGENT_1.01/require/ OCSNG_LINUX_AGENT_1.01/require/libwww-perl-5.805.tar.gz OCSNG_LINUX_AGENT_1.01/require/Compress-Zlib-1.34.tar.gz OCSNG_LINUX_AGENT_1.01/require/XML-Simple-2.14.tar.gz OCSNG_LINUX_AGENT_1.01/require/Net_SSLeay.pm-1.25.tar.gz OCSNG_LINUX_AGENT_1.01/require/Digest-MD5-2.36.tar.gz OCSNG_LINUX_AGENT_1.01/require/Net-IP-1.24.tar.gz OCSNG_LINUX_AGENT_1.01/require/dmidecode-2.8.tar.gz OCSNG_LINUX_AGENT_1.01/ipdiscover.h OCSNG_LINUX_AGENT_1.01/ipdiscover.c OCSNG_LINUX_AGENT_1.01/logrotate.ocsinventory-client OCSNG_LINUX_AGENT_1.01/Ocsinventory/ OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent.pm OCSNG_LINUX_AGENT_1.01/Ocsinventory/README OCSNG_LINUX_AGENT_1.01/Ocsinventory/MANIFEST OCSNG_LINUX_AGENT_1.01/Ocsinventory/ocsinventory-client.pl OCSNG_LINUX_AGENT_1.01/Ocsinventory/Makefile.PL OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/ OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/Option/ OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/Option/Ipdiscover.pm OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/Option/Download.pm OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/Option/Update.pm OCSNG_LINUX_AGENT_1.01/Ocsinventory/Agent/Common.pm OCSNG_LINUX_AGENT_1.01/README OCSNG_LINUX_AGENT_1.01/setup.sh ossim:/tmp# cd OCSNG_LINUX_AGENT_1.01 ossim:/tmp/OCSNG_LINUX_AGENT_1.01# vi README ossim:/tmp/OCSNG_LINUX_AGENT_1.01# sh setup.sh +----------------------------------------------------------+ | | | Welcome to OCS Inventory NG Agent setup ! | | | +----------------------------------------------------------+ Writing log to file /tmp/OCSNG_LINUX_AGENT_1.01/ocs_agent_setup.log +----------------------------------------------------------+ | Checking for previous installation... | +----------------------------------------------------------+ Previous installation of OCS Inventory NG agent not found +----------------------------------------------------------+ | Checking for supplied parameters... | +----------------------------------------------------------+ No parameter found OCS Inventory NG Agent setup running in user interactive mode +----------------------------------------------------------+ | Checking for OCS Inventory NG Agent running method... | +----------------------------------------------------------+ OCS Inventory NG Agent can be run through 2 methods: - local: inventory will be generated locally to a file, without interacting with Communication Server. Inventory results must then be imported manually into the server through Administration Console. - http: Agent can connect to Communication Server and will interact with it to know what is has to do (inventory, ipdiscover, deployment...) Which method will you use to generate the inventory ([http]/local) ?http OK, OCS Inventory NG agent will be running in mode ;-) +----------------------------------------------------------+ | Checking for OCS Inventory NG Communication Server... | +----------------------------------------------------------+ Which host is running OCS Inventory NG Communication Server [] ?127.0.0.1 On which port is running OCS Inventory NG Communication Server [80] ? OK, OCS Inventory NG Communication Server is running on host <127.0.0.1> and port <80> ;-) +----------------------------------------------------------+ | Checking for TAG administrative information value... | +----------------------------------------------------------+ What is the value of TAG ([]) ? OK, OCS Inventory NG agent will use <> as ;-) +----------------------------------------------------------+ | Checking for PERL Interpreter... | +----------------------------------------------------------+ OK, PERL Intrepreter found at ;-) +----------------------------------------------------------+ | Checking for C/C++ Compiler... | +----------------------------------------------------------+ C/C++ Compiler not found ! Setup is not able to build IPDISCOVER module. Some functionnalities of OCS Inventory NG may lack !! +----------------------------------------------------------+ | Checking for Make utility... | +----------------------------------------------------------+ OK, Make utility found at ;-) +----------------------------------------------------------+ | Checking for dmidecode binaries... | +----------------------------------------------------------+ Found dmidecode binaries version <2.8> at ;-) +----------------------------------------------------------+ | Checking for Compress::Zlib PERL module... | +----------------------------------------------------------+ OK, PERL module Compress::Zlib is available ;-) +----------------------------------------------------------+ | Checking for XML::Simple PERL module... | +----------------------------------------------------------+ OK, PERL module XML::Simple is available ;-) +----------------------------------------------------------+ | Checking for Net::IP PERL module... | +----------------------------------------------------------+ OK, PERL module Net::IP is available ;-) +----------------------------------------------------------+ | Checking for LWP::UserAgent PERL module... | +----------------------------------------------------------+ OK, PERL module LWP::UserAgent is available ;-) +----------------------------------------------------------+ | Checking for Digest::MD5 PERL module... | +----------------------------------------------------------+ OK, PERL module Digest::MD5 is available ;-) +----------------------------------------------------------+ | Checking for Net::SSLeay PERL module... | +----------------------------------------------------------+ OK, PERL module Net::SSLeay is available ;-) +----------------------------------------------------------+ | Installing OCS Inventory NG Agent... | +----------------------------------------------------------+ Configuring OCS Inventory NG Agent Building OCS Inventory NG Agent Installing OCS Inventory NG Agent Creating OCS Inventory NG Agent symbolic link OK, OCS Inventory NG Agent setup successfully ;-) +----------------------------------------------------------+ | Creating OCS Inventory NG Agent log directory... | +----------------------------------------------------------+ Creating OCS Inventory NG Agent log directory . Configuring logrotate for OCS Inventory NG Agent. Writing OCS Inventory NG Agent logrotate to file +----------------------------------------------------------+ | Installing OCS Inventory NG Agent configuration files... | +----------------------------------------------------------+ Creating OCS Inventory NG Agent configuration file Creating OCS Inventory NG Agent configuration directory Writing OCS Inventory NG Agent configuration file Creating OCS Inventory NG Agent configuration file Writing OCS Inventory NG Agent configuration file OK, OCS Inventory NG Agent configuration files setup successfully ;-) +----------------------------------------------------------+ | Installing OCS Inventory NG Agent cron configuration... | +----------------------------------------------------------+ Creating OCS Inventory NG Agent cron configuration file Writing OCS Inventory NG Agent cron configuration file OK, OCS Inventory NG Agent cron configuration file setup successfully ;-) +----------------------------------------------------------+ | Lauching OCS Inventory NG Agent... | +----------------------------------------------------------+ OK, OCS Inventory NG Agent runs successfully ;-) Setup has created a log file /tmp/OCSNG_LINUX_AGENT_1.01/ocs_agent_setup.log. Please, save this file. If you encounter error while running OCS Inventory NG Agent, we can ask you to show us his content ! Enjoy OCS Inventory NG ;-) ossim:/tmp/OCSNG_LINUX_AGENT_1.01#