Professional Documents
Culture Documents
OCS Inventory o acrnomo Open Computer and Software Inventory, uma ferramenta sob licena GNU
GPL, que permite os usurios ativos fazer o inventrio de TI.
OCS NG coleta informaes sobre hardware e software dos computadores da rede que executam o cliente
OCS. OCS pode visualizar o inventrio atravs da interface web.
Depois de conhecer o OCS Inventory e pra que ser serve, podemos seguir os procedimentos de instalao e
configurao do OCS Inventory em seu servidor GNU/Linux Debian.
Observao: Testado no GNU/Linux Debian 8 (Jessie) e a verso do OCS Inventory 2.1.2 at a data de
publicao deste post.
Responder as perguntas
Do you wish to continue ([y]/n)? [ENTER]
Which host is running database server [localhost] ? [ENTER]
On which port is running database server [3306] ? [ENTER]
Where is Apache daemon binary [/usr/sbin/apache2ctl] ? [ENTER]
Which user account is running Apache web server [www-data] ? [ENTER]
Which user group is running Apache web server [www-data] ? [ENTER]
Setup will put OCS Inventory NG Apache configuration in this directory.
Where is Apache Include configuration directory [] ? /etc/apache2/conf-enabled
Where is PERL Intrepreter binary [/usr/bin/perl] ? [ENTER]
Do you wish to setup Communication server on this computer ([y]/n)? [ENTER]
Where to put Communication server log directory [/var/log/ocsinventory-server] ? [ENTER]
Where to put Communication server plugins configuration files [/etc/ocsinventory-server/plugins] ?
[ENTER]
Where to put Communication server plugins Perl modules files [/etc/ocsinventory-server/perl] ? [ENTER]
Do you wish to setup Administration Server (Web Administration Console) on this computer ([y]/n)?
[ENTER]
Do you wish to continue ([y]/n)? [ENTER]
Where to copy Administration Server static files for PHP Web Console [/usr/share/ocsinventory-reports] ?
[ENTER]
Where to create writable/cache directories for deployement packages, administration console logs,
IPDiscover and SNMP [/var/lib/ocsinventory-reports] ? [ENTER]
Reiniciar o Apache
#/etc/init.d/apache2 restart
Aps o preenchimento, ser redirecionado para a pgina com status de instalao, clique em enviar, ser
redirecionado para outra pgina de finished, clique OCS-NG-GUI.
O usurio e senha default do OCS Inventory admin/admin.
Observe que ser recebido as mensagens de: SECURITY ALERT!
Your install.php exists in your installation directory.
The default SQL login/password is activate on your database: ocsweb
The default login/password is activate on OCS-NG GUI
1. Remover o arquivo install.php do diretrio /usr/share/ocsinventory-reports/
#cd /usr/share/ocsinventory-reports/ocsreports/
#rm install.php