ocs_ng 安装
- Unpack it.
1
2tar –xvzf Ocsinventory-Agent-2.0.x.tar.gz
cd Ocsinventory-Agent-2.0.x - Check perl configuration with the script Makefile.PL. Its looks at the configuration of Perl, machine, libraries … and it generates the Makefile. During this step, we will create a temporary environment variable to install agent non-interactively.Exemple :
1
env PERL_AUTOINSTALL=1 perl Makefile.PL
Please install Crypt::SSLeay if you want to use SSL.
Please install nmap or ipdiscover if you want to use the network discover feature.
Please install Proc::Daemon and Proc::PID::File if you want to use the daemon monde. - Compilation
1
2make
make install