{"id":3869,"date":"2017-06-07T11:29:18","date_gmt":"2017-06-07T16:29:18","guid":{"rendered":"https:\/\/www.bhinfo.com.mx\/cursos\/?p=3869"},"modified":"2017-06-07T11:29:18","modified_gmt":"2017-06-07T16:29:18","slug":"ocsinventory-instalacion","status":"publish","type":"post","link":"https:\/\/www.bhinfo.com.mx\/cursos\/2017\/06\/07\/ocsinventory-instalacion\/","title":{"rendered":"OCSInventory, Instalacion"},"content":{"rendered":"<p>IP: 172.16.1.169<\/p>\n<p>Name: \u00a0srvocsinventory<\/p>\n<p>Linux 14.04<\/p>\n<p>&#8211;OpenSSH server<\/p>\n<p>&#8212; LAMP server<\/p>\n<p>&#8211;Samba file server<\/p>\n<p>&#8211;Virtual Machine Host<\/p>\n<p>*****************************************************<\/p>\n<p>https:\/\/github.com\/pluginsOCSInventory-NG<br \/>\nhttp:\/\/www.latindevelopers.com\/articulos\/misc\/instalar-ocs-inventory.php<br \/>\nCURL<br \/>\nhttps:\/\/www.digitalocean.com\/community\/questions\/curl-is-not-installed-in-your-php-installation<br \/>\nsudo apt-get update<br \/>\n###do-release-upgrade actualizar ubuntu 14.04&#8212;-16<\/p>\n<p>1.-<br \/>\nsudo apt-get install make<br \/>\nsudo apt-get install libapache2-mod-perl2<br \/>\nsudo apt-get install libapache-dbi-perl<br \/>\nsudo apt-get install libxml-simple-perl<br \/>\nsudo apt-get install libcompress-zlib-perl XXX<\/p>\n<p>sudo apt-get install libio-compress-perl<\/p>\n<p>El paquete libcompress-zlib-perl es un paquete virtual provisto por:<br \/>\nperl 5.18.2-2ubuntu1.1<br \/>\nlibio-compress-perl 2.063-1<br \/>\nNecesita seleccionar expl\u00c3\u00adcitamente uno para instalar.<\/p>\n<p>sudo apt-get install libdbi-perl<br \/>\nsudo apt-get install libdbd-mysql-perl<br \/>\nsudo apt-get install libnet-ip-perl<br \/>\nsudo apt-get install php5-gd<br \/>\nsudo apt-get install php5-mysql<br \/>\nsudo apt-get install libsoap-lite-perl<br \/>\nsudo apt-get install libphp-pclzip<\/p>\n<p>###PERL module Apache2::SOAP is not installed<\/p>\n<p>sudo apt-get install curl<br \/>\nsudo service apache2 restart<br \/>\nsudo apt-get install php5-curl<br \/>\nsudo service apache2 restart<\/p>\n<p>#Abrimos el shell de Perl en como super usuario<br \/>\nubuntu-server$ sudo perl -MCPAN -e shell<br \/>\n#Una vez iniciado (tal vez dure unos minutos), instalamos el paquete SOAP::Lite:<br \/>\nCPAN&gt; install SOAP::Lite<br \/>\n#&#8230;<br \/>\n#Despues de cientos de lineas de mensajes instalamos el paquete XML::Entities<br \/>\nCPAN&gt; install XML::Entities<br \/>\n#suficiente con eso<br \/>\n2.-libcompress-zlib-perl<br \/>\n#descomprimiendo el archivo<\/p>\n<p>ubuntu-server$ tar zxf OCSNG_UNIX_SERVER-2.0.x.tar.gz<\/p>\n<p>#ejecutando la instalaci\u00f3n<\/p>\n<p>ubuntu-server$ cd OCSNG_UNIX_SERVER-2.0.x<\/p>\n<p>ubuntu-server$ sudo sh setup.sh<br \/>\nDeamon apache2<br \/>\n\/usr\/sbin\/apache2ctl<br \/>\nconfig apache2<br \/>\n\/etc\/apache2\/apache2.conf<br \/>\nuser apache2<br \/>\nwww-data<br \/>\ngrupo apache2<br \/>\nwww-data<\/p>\n<p>OCS Inventory NG Apache configuracion<br \/>\n\/etc\/apache2\/conf-available<\/p>\n<p>etc\/apache2\/conf-available<\/p>\n<p>******<br \/>\n*** ERROR: PERL module Archive::Zip is not installed !<br \/>\n*** ERROR: There is one or more required PERL modules missing on your computer !<br \/>\nPlease, install missing PERL modules first.<br \/>\n***<\/p>\n<p>sudo service apache2 restart<br \/>\nsudo cp z-ocsinventory-server.conf \/etc\/apache2\/sites-available\/<br \/>\nsudo cp ocsinventory-reports.conf \/etc\/apache2\/sites-available\/<\/p>\n<p>sudo a2ensite z-ocsinventory-server.conf<br \/>\nsudo a2ensite ocsinventory-reports.conf<br \/>\nsudo service apache2 restart<\/p>\n<p>sudo chown www-data:www-data \/var\/lib\/ocsinventory-reports<br \/>\nhttp:\/\/ocsinventory.bhermanos.com\/ocsreports\/<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IP: 172.16.1.169 Name: \u00a0srvocsinventory Linux 14.04 &#8211;OpenSSH server &#8212; LAMP server &#8211;Samba file server &#8211;Virtual Machine Host ***************************************************** https:\/\/github.com\/pluginsOCSInventory-NG http:\/\/www.latindevelopers.com\/articulos\/misc\/instalar-ocs-inventory.php CURL https:\/\/www.digitalocean.com\/community\/questions\/curl-is-not-installed-in-your-php-installation sudo apt-get update ###do-release-upgrade actualizar ubuntu 14.04&#8212;-16 1.- sudo apt-get install make sudo apt-get install libapache2-mod-perl2 sudo apt-get install libapache-dbi-perl sudo apt-get install libxml-simple-perl sudo apt-get install libcompress-zlib-perl XXX sudo apt-get install libio-compress-perl [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3869","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/posts\/3869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/comments?post=3869"}],"version-history":[{"count":1,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/posts\/3869\/revisions"}],"predecessor-version":[{"id":3870,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/posts\/3869\/revisions\/3870"}],"wp:attachment":[{"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/media?parent=3869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/categories?post=3869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bhinfo.com.mx\/cursos\/wp-json\/wp\/v2\/tags?post=3869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}