03-ocs e glpi - integração
TRANSCRIPT
-
7/24/2019 03-OCS e GLPI - Integrao
1/11
OCS inventory + GLPI no Debian lenny 5
Pr-Requisitos:
Apache
PHP5
Perl
MySQL
Instalando o Perl:
# aptitue in!tall libco"pre!!$libperl libbiperl libb"y!%lperl libapachebiperllibnetipperl lib!oapliteperl
# cpan i &ML''(ntitie!
Instalando o PHP:
# aptitue in!tall libphppcl$ip
# aptitue in!tall php5)
# aptitue in!tall apache* libapache*"ophp5 php5cli php5co""on php5c)i"y!%l!erver php5"y!%l
# aptitue in!tall buile!!ential
Instalando o MySQL:
# aptitue in!tall y "y!%l!erver "y!%lclient lib"y!%lclient5ev
De,na a !enha o MySQL'
# "y!%la"in u root pa!!-or .!enha/
-
7/24/2019 03-OCS e GLPI - Integrao
2/11
Instalando o OCS InventoryNG:
O OCS0G 1 u" aplicativo e!envolvio para a2uar o a"ini!traor e ree! oua"ini!traor e !i!te"a! a "anter o controle o! co"putaore! e con,)ura34e! e!ot-are %ue e!t6o in!talao! na ree7
O OCS Inventory ta"b1" 1 capa$ e etectar too! o! i!po!itivo! ativo! na !uaree8 tai! co"o !-itch8 roteaor8 i"pre!!ora e ree e i!po!itivo! aut9no"o!7 Paracaa u"8 %ue ar"a$ena o! enere3o! IP e MAC e lhe per"ite cla!!i,c:lo!7
# aptitue in!tall y libphppcl$ip lib;"l!i"pleperl libbiperl libb"y!%lperllibapachebiperl libnetipperl lib!oapliteperl libapache*"operl*
Ante! e bai;ar veri,%ue !e e!ta 1 a ulti"a ver!6o o OCS no !ite7
http'
http://www.ocsinventory-ng.org/en/download/download-server.htmlhttp://launchpadlibrarian.net/71381405/OCSNG_UNIX_SERVER-2.0.tar.gzhttp://launchpadlibrarian.net/71381405/OCSNG_UNIX_SERVER-2.0.tar.gzhttp://www.ocsinventory-ng.org/en/download/download-server.html -
7/24/2019 03-OCS e GLPI - Integrao
3/11
Erro! A reern"ia de #i$erlin% n&o v'lida(
Preen"#a os "a)$os:
Lo)in MySQL' co" o u!u:rio %ue tenha per"i!!6o e criar banco e ao! rootJ 7
MySQL pa!!-or' colo%ue a !enha o u!u:rio7
MySQL Ho!t0a"e' localho!t7
Clic e" enviar7
http://var/www/apps/conversion/tmp/scratch_7/http:%2F%2Fip_do_servidor%20%2Focsreports%2Finstall.phphttp://var/www/apps/conversion/tmp/scratch_7/http:%2F%2Fip_do_servidor%20%2Focsreports%2Finstall.php -
7/24/2019 03-OCS e GLPI - Integrao
4/11
Ace!!e http'
-
7/24/2019 03-OCS e GLPI - Integrao
5/11
O GLPI 1 u"a !olu36o open!ource e )e!t6o e par%ue e inor":rica ehelpe!8 u"a aplica36o eb para )erenciar too! o! proble"a! e)e!t6o e par%ue e inor":tica' )e!t6o e invent:rio e har-are e!ot-are e ateni"ento ao! u!u:rio!7
Antes de +ai,ar verique se esta a ulti)a vers&o do *LPI nosite(
http'
-
7/24/2019 03-OCS e GLPI - Integrao
6/11
Leia o! ter"o! a licen3a e cli%ue e" Continuar7
A)ora cli%ue e" In!talar para continuar a in!tala36o7
-
7/24/2019 03-OCS e GLPI - Integrao
7/11
Se vocU che)ou ate a%ui e!ta ino tuo be" co" a in!tala36o e !V clicare" Continuar7
Preen"#a os "a)$os:
Servior o MySQL' localho!t!uario o MySQL' rootSenha o MySQL' WWWWWWWWW
Selecione o banco e ao! e cli%ue e" Continuar7
-
7/24/2019 03-OCS e GLPI - Integrao
8/11
Cli%ue e" !ar GLPI7
Lo)in' )lpi
Senha' )lpi
-
7/24/2019 03-OCS e GLPI - Integrao
9/11
Inte.rar o *LPI e OCS:
Cli%ue e" Con,)urar epoi! e" Geral7
Cli%ue e" invent:rio na op36o Ativar "oo OCS0G colo%ue SIM7 e epoi!e" (0EIA7
Cli%ue e" MODO OCS0G7
-
7/24/2019 03-OCS e GLPI - Integrao
10/11
Cli%ue e" Aicionar7
Preen"#a os "a)$os:
0o"e' OCS
Servior o OCS0G' localho!t
0o"e o banco e ao! o OCS0G' OCS(X
!u:rio o banco e ao! o OCS0G' root
Senha o !u:rio o OCS0G' WWWWWWW
Ativo' SIM
Cli%ue e" (0EIA7
-
7/24/2019 03-OCS e GLPI - Integrao
11/11
Cli%ue e" Yerra"enta!8 OCS0G e I"porta36o e novo! co"putaore!7