Documentation:Server:Es - OCS Inventory NG

Embed Size (px)

Citation preview

  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    1/20

    ocumentation:Server/es

    OCS Inventory NGcumentation:Server

    mentation:Server/es

    r

    ting

    mbnail:

    ing

    Languages:English

    ntents

    1 Configurando el Servidor.2 Sobre Sistemas Operativos Linux.

    2.1 Requerimientos.2.2 Instalando Servidor de Comunicacin, requiere modulos de PERL.2.3 Instalando la Consola de Administracin, Modulos de PHP son requeridos2.4 Installing management server.2.5 Configuring management server.2.6 Upgrading management server.

    3 Under Windows Operating System.3.1 Installing management server.3.2 Configuring management server.3.3 Updating security of XAMPP components.3.4 Upgrading management server.

    onfigurando el Servidor.

    ministrador del servidor esta diseado en 4 componentes principales:

    Servidor de Base de Datos, Donde se guarda la informacin del inventario

    Servidor de Comunicacin, Es el que se encarga de las comunicaciones HTTP entre el servidor y los agentes.Consola Administrativa, Es el que permite a los administradores consultar la base de datos del servidor utilizando su navegador favorito.Servidor de Despliegue, Almacena toda la informacin de implementacin de paquetes (Requiere HTTPS).

    4 componentes pueden estar instalados en un mismo servidor o en diferentes computadores para poder balancear la carga. Para inventarios mayores a

    00 computadores, se recomienda utilizar porlo menos 2 servidores fsicos, un servidor para Base de Datos y servidor de comunicacin. Adicional un

    dor de replica de base de datos + servidor de administracin + servidor de despliegue.

    Figura 1 : Arquitectura de Comunicacin de OCS Inventory NG.

    e: Si usted quiere utilizar mltiples computadoras para instalar OCS inventory NG management server, recomendamos que utilice servidores Linux. Inventory NG server para Windows viene en un paquete integrado con todos los componentes requeridos (apache, perl, php, mod_perl, mysql).

    idor de Base de DatosActualmente solo soporta MySQL 4.1 o superior con el Engine InnoDB activo.

    http://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Upgrading_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Updating_security_of_XAMPP_components.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/eshttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/eshttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Serverhttp://wiki.ocsinventory-ng.org/index.php?title=File:Architecture_OCS.jpghttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Upgrading_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Updating_security_of_XAMPP_components.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Configuring_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Installing_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Under_Windows_Operating_System.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Upgrading_management_server.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Configuring_management_server.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Installing_management_server.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Instalando_la_Consola_de_Administraci.C3.B3n.2C_Modulos_de_PHP_son_requeridoshttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Instalando_Servidor_de_Comunicaci.C3.B3n.2C_requiere_modulos_de_PERL.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Requerimientos.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Sobre_Sistemas_Operativos_Linux.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Configurando_el_Servidor.http://wiki.ocsinventory-ng.org/index.php?title=Server&action=edit&redlink=1http://wiki.ocsinventory-ng.org/index.php?title=OCS_Inventory_NG:Language_policyhttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/eshttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    2/20

    idor de ComunicacinNecesita Apache Web Server 1.3.X/2.X y estar escrito en PERL como un modulo Apache. Porqu?. Porque los Scripts estn

    pilados en PERL cuando inicia APACHE, y no por cada request. Esto obtiene mejor rendimiento. El servidor de Comunicacin puede requerir algunos

    ulos adicionales de PERL dependiendo de la distribucin seleccionada.

    idor de DespliegueNecesita cualquier Servidor Web con soporte de SSL Habilitado.

    ola Administrativaesta escrita en PHP 4.1 (o superior) y puede ser ejecutada bajo Apache Web Server 1.3.X/2.X. La consola Administrativa requiere

    rte a archivos ZIP y GD habilitados en PHP para poder utilizar el despliegue de paquetes.

    bre Sistemas Operativos Linux.

    tros asumimos que usted tiene:

    Servidor de Base de Datos MySQL ejecutandose en algun lugar y escuchando en el puerto por defecto: 3306 y habilitado TCP/IP.Apache Web server instalado y ejecutandose para el servidor de Comunicacin y Administracin.PHP y Perl instalados y listos para ser usados por el Apache Web server para la consola Administrativa.Perl y mod_perl instalados y listos para ser usados por el Apache Web server para el servidor de Communicacin.

    querimientos.

    Apache versin 1.3.33 o superior / Apache versin 2.0.46 o superior .Mod_perl versin 1.29 o superior.Mod_php versin 4.3.2 o superior.

    PHP 4.3.2 o superior, con soporte para ZIP y GD habilitado.PERL 5.6 o superior.

    Perl module XML::Simple versin 2.12 o superior.Perl module Compress::Zlib versin 1.33 o superior.Perl module DBI versin 1.40 o superior.Perl module DBD::Mysql versin 2.9004 o superior.Perl module Apache::DBI versin 0.93 o superior.Perl module Net::IP versin 1.21 o superior.Perl module SOAP::Lite versin 0.66 o superior(opcional)

    MySQL versin 4.1.0 o superior con el motor InnoDB activo.Utileria Make como en GNU make.

    e: El Instalador de OCS Inventory NG Server revisara todos estos componentes y detendr el instalador si hace falta alguno de ellos.

    talando Servidor de Comunicacin, requiere modulos de PERL.

    rvidor Web de Comunicacin requiere Apache Web Server, el lenguaje de scripting Perl 5 y algunos modulos adicionales de Perl 5. (ver

    irements). It acts as an Apache module which handles HTTP OCS Inventory agents' requests to a virtual directory/ocsinventory.

    plate:Warning:

    edora/Redhat like Linux, usted puede utilizar yum para instalar los modulos requeridos:

    nstall perl-XML-Simplenstall perl-Compress-Zlib

    nstall perl-DBI

    nstall perl-DBD-MySQLnstall perl-Apache-DBI

    nstall perl-Net-IPnstall perl-SOAP-Lite

    ebian like Linux, usted puede utilizar apt-get para instalar los modulos requeridos:

    et install libxml-simple-perl

    et install libcompress-zlib-perl

    et install libdbi-perlet install libdbd-mysql-perl

    et install libapache-dbi-perlet install libnet-ip-perl

    et install libsoap-lite-perl

    -i XML::Entities

    Gentoo like Linux, usted puede utilizar "emerge" para instalar los modulos requeridos:

    e dev-perl/XML-Simplee perl-core/IO-Compress

    e dev-perl/Apache-DBI

    e dev-perl/Net-IPe dev-perl/SOAP-Lite

    e app-portage/g-cpann -i XML::Entities

    http://wiki.ocsinventory-ng.org/index.php?title=Template:Warning:&action=edit&redlink=1http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Requirements.
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    3/20

    paquete precompilado no esta disponible para su distribucin, usted lo puede descargar desde el fuente: http://search.cpan.org (http://search.cpan.org/)

    mpilarlo en su sistema (make y C deben de estar disponibles). Por ejemplo:

    xvzf package_name.tar.gz

    ckage_nameMakefile.PL

    testinstall

    d puede tambien instalar los modules faltantes usando el script cpan: i.e.

    -i Compress::Zlib

    e: Si usted no esta usando un interprete de perl, pero otro como XAMPP/LAMPP, usted debe de instalar este interprete de Perl, no el que viene en elma, especificando la ruta completa de su interprete de perl, por ejemplo:

    /lampp/bin/perl Makefile.PL

    talando la Consola de Administracin, Modulos de PHP son requeridos

    Web Administration console requires Apache web server and PHP 4 scripting language and some additional modules for PHP (see Requirements).

    ning: You must have root privileges to install Administration console.

    eed to install ZIP support for PHP.

    edora/Redhat like Linux, you can use yum to install PHP Zip support:

    nstall php-pecl-zip

    RedHatEL, you can download the RPM here (http://download.fedora.redhat.com/pub/epel/5/i386/repoview/php-pecl-zip.html).

    ater Fedora installations 7.x+

    nstall php-common

    ebian like Linux, you can use apt-get to set it up:

    et install libphp-pclzip

    rwise, the best way to do this is to use PHP PECL ZIP package. You must have PHP development libraries (php-devel package under RedHat or

    ra Core, under Linux Debian or Ubuntu) in order to have phpizecommand.

    , if you have pear installed, just type

    install zip

    u dont have pear installed, or no connection to Internet, download package zip-1.3.1.tgz from http://pecl.php.net/package/zip. In Debian/Ubuntu

    ystems, be sure to have installed libpcre3 and libpcre3-dev packages before install PECL_ZIP.

    ll it (php devel package is required):

    xvzf zip-1.3.1.tgzp-1.3.1

    efigure

    install

    also need to install GD support for PHP.

    edora/Redhat like Linux, you can use yum to set it up:

    http://pecl.php.net/package/ziphttp://download.fedora.redhat.com/pub/epel/5/i386/repoview/php-pecl-zip.htmlhttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Requirements.http://search.cpan.org/
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    4/20

    nstall php-gd

    ebian like Linux, you can use apt-get to set it up:

    et install php5-gd

    talling management server.

    must have root privileges to set management server up.

    e: Ensure MySQL InnoDB engine is activated on your database server. Open my.cnf and ensure there is no line skip-innodb or this line ismented (begins with #).

    nload OCSNG_LINUX_SERVER_1.01.tar.gz from OCS Inventory Web Site.

    ck it.

    xvzf OCSNG_UNIX_SERVER-1.02.1.tar.gz

    SNG_UNIX_SERVER-1.02.1

    setup.sh installer. During the installer, default choice is presented between []. For example, [y]/n means that y (yes) is the default choice, and n

    s the other choice.

    tup.sh

    e: Installer writes a log file ocs_server_setup.log in the same directory. If you encounter any error, please refer to this log for detailed error messag

    ning: If youre upgrading from OCS Inventory NG 1.01 and previous, you must first remove any Apache configuration file for Communicationer.

    y or enter to validate and, then enter MySQL server host address, in most cases localhost.

    http://wiki.ocsinventory-ng.org/index.php?title=File:Setup_sh.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    5/20

    , setup checks for MySQL client binary files version 4.1 or higher. If not present, you will be prompted to continue or abort setup.

    is OK, enter MySQL server port, generally 3306.

    or validate path to Apache daemon binary, generally /usr/sbin/httpd. It will be used to find Apache configuration files.

    e: If youre not using system Apache daemon, but another one like XAMPP/LAMPP Apache server, you must enter full path to your Apache daemon,he system one.

    or validate Apache main configuration file path, generally /etc/apache/conf/apache.conf or /etc/httpd/conf/httpd.conf.

    http://wiki.ocsinventory-ng.org/index.php?title=File:Where_apache_daemon_binary.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Port_database_server.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Host_database_server.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    6/20

  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    7/20

    mon information for setting up Communication server or Administration console is now collected. Setup prompts you if you wish to set

    munication server up on this computer. Enter y or validate to set Communication server up, n to skip Communication server installation.

    p will then try to find make utility. If it fails, setup will stop.

    or validate path to Apache include configuration directory. This is the directory where is stored Apache configuration for specific modules. Generally,

    directory is

    httpd/conf.d

    apache/conf.d

    u are not using configuration directory, but having all configurations into Apache main configuration file, enter no.

    http://wiki.ocsinventory-ng.org/index.php?title=File:Where_apache_configuration_directory.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Setup_server_com.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Where_perl_interpreter_binary.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    8/20

    p will next try to determine your Apache mod_perl version. If it is not able to determine mod_perl version, it will ask you to enter it.

    e: You can check which version of mod_perl you are using by querying your server's software database.

    Under RPM enabled Linux distribution (RedHat/Fedora, Mandriva), run rpm q mod_perl.Under DPKG enabled Linux distribution (Debian, Ubuntu), run dpkg l libapache*-mod-perl*.

    , it will prompt you to enter log directory where Communication server will store debugging/tuning logs. Validate or enter directory path. If it does not

    this directory will be created.

    , setup will check for required PERL modules (cf Requirements.):

    XML::Simple version 2.12 or higherCompress::Zlib version 1.33 or higherDBI version 1.40 or higherDBD::mysql version 2.9004 or higherApache::DBI version 0.93 or higherNet::IP version 1.21 or higherSOAP::Lite version 0.66 or higher

    ning: If any of these modules is missing, setup will abort.

    is OK, setup will install Communication server:

    Configure Communication server PERL module.

    Build Communication server PERL module.Install Communication server PERL module into PERL standard library directories.Create Communication server log directory (/var/log/ocsinventory-NG by default).Configure daily log rotation for Communication server (file /etc/logrotate.d/ocsinventory-NG by default)Create Apache configuration file (ocsinventory.conf). If you are using Apache configuration directory, this file will be copied under this directory.Otherwise, you will be prompted to add content of this file to the end of Apache main configuration file.

    ning: Do not add content to apache main configuration file if it is not a fresh install! You must manually copy content of the ocsinventory.conf.local

    http://wiki.ocsinventory-ng.org/index.php?title=File:Installation_aborted.pnghttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Requirements.http://wiki.ocsinventory-ng.org/index.php?title=File:Where_server_com_directory.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    9/20

    created by setup into apache main configuration file, replacing existing configuration.

    ###########################################################################

    Inventory NG Communication Server Perl Module Setup

    yleft 2006 Pascal DANEK: http://ocsinventory.sourceforge.net

    s code is open source and may be copied and modified as long as the sourcee is always made freely available.

    ase refer to the General Public Licence http://www.gnu.org/ or Licence.txt

    ###########################################################################

    ch version of mod_perl we are usingmod_perl 1.999_21, replace VERSION_MP by 2

    etEnv OCS_MODPERL_VERSION 1

    re to write detailled logs

    etEnv OCS_LOGPATH "/var/log/ocsinventory-NG"

    abase optionslace DATABASE_SERVER by hostname or ip of MySQL server, generally localhost

    etEnv OCS_DB_HOST localhost

    lace DATABASE_PORT by port where running MySQL server, generally 3306etEnv OCS_DB_PORT 3306

    e of database

    etEnv OCS_DB_NAME ocswebetEnv OCS_DB_LOCAL ocsweb

    r allowed to connect to database

    etEnv OCS_DB_USER ocssword for user

    etVar OCS_DB_PWD ocs

    options below are overloaded if you are using ocs GUI

    careful: you must restart apache to have any effectsetEnv OCS_OPT_FREQUENCY 0

    etEnv OCS_OPT_PROLOG_FREQ 24

    etEnv OCS_OPT_DEPLOY 1etEnv OCS_OPT_TRACE_DELETED 0

    etEnv OCS_OPT_AUTO_DUPLICATE_LVL 7etEnv OCS_OPT_LOGLEVEL 0

    etEnv OCS_OPT_INVENTORY_DIFF 1

    etEnv OCS_OPT_INVENTORY_TRANSACTION 1etEnv OCS_OPT_PROXY_REVALIDATE_DELAY 3600

    ional modulesetEnv OCS_OPT_IPDISCOVER 2

    etEnv OCS_OPT_IPDISCOVER_MAX_ALIVE 7

    etEnv OCS_OPT_IPDISCOVER_LATENCY 100etEnv OCS_OPT_REGISTRY 0

    etEnv OCS_OPT_UPDATE 0etEnv OCS_OPT_DOWNLOAD 0

    etEnv OCS_OPT_DOWNLOAD_FRAG_LATENCY 10

    etEnv OCS_OPT_DOWNLOAD_CYCLE_LATENCY 0etEnv OCS_OPT_DOWNLOAD_PERIOD_LATENCY 0

    etEnv OCS_OPT_DOWNLOAD_TIMEOUT 30

    etEnv OCS_OPT_WEB_SERVICE_ENABLED 0

    ####### DO NOT MODIFY BELOW ! #######################

    ernal modules

    odule Apache::DBIodule Compress::Zlib

    odule XML::Simple

    odule Apache::Ocsinventoryodule Apache::Ocsinventory::Server::Constants

    odule Apache::Ocsinventory::Server::System

    odule Apache::Ocsinventory::Server::Communication

    odule Apache::Ocsinventory::Server::Inventoryodule Apache::Ocsinventory::Server::Duplicate

    ions

    odule Apache::Ocsinventory::Server::Option::Registry

    odule Apache::Ocsinventory::Server::Option::Updateodule Apache::Ocsinventory::Server::Option::Ipdiscover

    odule Apache::Ocsinventory::Server::Option::Downloads module guides you through the module creation

    lModule Apache::Ocsinventory::Server::Option::Example

    s module adds some rules to filter some request sent to ocs server in the prolog and inventory stageslModule Apache::Ocsinventory::Server::Option::Filter

    tual directory for handling OCS Inventory NG agents communicationscarefull, do not create such directory into your web server root document !

    TaintCheck Ontion /ocsinventory>

    deny,allow

    from all

    fy Anyndler perl-script

    andler Apache::Ocsinventoryation>

    odule Apache::Ocsinventory::SOAP;

    tion /ocsinterface>

    ndler perl-scriptandler "Apache::Ocsinventory::SOAP"

    deny,allow

    from allfy any

  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    10/20

    ation>

    Figure 2: Apache configuration sample file

    munication server installation is now finished. You will be prompted to set Administration console up. Enter y or validate to set Administration

    ole up, enter n to skip Administration console installation.

    p will ask you to enter Apache root document directory, usually /var/www/html or /var/www-data.

    , setup will check for required PERL modules (cf Requirements.):

    XML::Simple version 2.12 or higherDBI version 1.40 or higherDBD::Mysql version 2.9004 or higherNet::IP version 1.21 or higher

    ning: If any of these modules is missing, setup will abort.

    erything is OK, setup will install Administration console into the ocsreports subdirectory:

    Create /ocsreports directory structure.Create /download directory structure.Copy files into /ocsreports directory.Fix directories and files permissions to allow Apache daemon reading and writing to required directories (write access is required in /ocsreports,/ocsreports/ipd and /download, cf 11.4 Files and directories permissions under Linux.).Configure PERL script ipdiscover-util.pl to access database and install it.

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Errors#Files_and_directories_permissions_under_Linuxhttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Requirements.http://wiki.ocsinventory-ng.org/index.php?title=File:Where_apache_root_directory.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Setup_admin_console.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    11/20

    , you can restart Apache web server for changes to take effect (httpd is usually for apache2).

    init.d/httpd restart

    init.d/apache restart

    nfiguring management server.

    ning: We recommend you to check your php.ini when you upgrade your server from 1.x to 2.x, specially these variables :

    max_execution_timemax_input_timememory_limit

    e: You are not obliged to launch install.php, you can use this command too :

    l -f -hlocalhost -uroot -p DBNAME < ocsbase.sql >log.log

    open your favorite web browser and point it on URL http://administration_console/ocsreportsto connect the Administration server.

    atabase is not yet created, this will begin OCS Inventory setup process. Otherwise, you can rerun configuration process by browsing

    /administration_console/ocsreports/install.php URL (this must be used when upgrading OCS Inventory management server).

    e: You will see warning regarding max size of package you will be able to deploy. Please, see Uploads size for package deployment.) to configure yourer to match your need.

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Errors#Uploads_size_for_package_deployment.http://administration_console/ocsreports/install.phphttp://administration_console/ocsreportshttp://wiki.ocsinventory-ng.org/index.php?title=File:Apache_restart.pnghttp://wiki.ocsinventory-ng.org/index.php?title=File:Restart_and_enjoy.png
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    12/20

    e: If your default collation is UTF8, you will see some errors regarding KEY too long in some tables, see here for some workarounds://forums.ocsinventory-ng.org/viewtopic.php?pid=32009#p32009

    n information to connect to MySQL database server with a user who has the ability to create database, tables, indexes, etc (usually root):

    MySQL user name

    MySQL user passwordMySQL hostname

    p actions :

    Create ocswebdatabase, and will add MySQL user ocswith password ocs.Grant to user ocsprivileges Select | Insert | Update | Delete | Create | Drop | References | Index | Alter | Create temp | Lockon database ocsweb.

    e: This user will be used by Administration server and Communication server to connect to the database. If you do not wish to use default MySQLocswith ocspassword, you must update in the file dbconfig.inc.phpPHP constants COMPTE_BASE, which is MySQL user login, and/or

    WD_BASE, which MySQL user password.

    t forget to also update Communication server configuration, especially in apache configuration file.

    r to Secure your OCS Inventory NG Server documentation. If you don't want to secure your OCS Inventory Server, you have to desactivate Warning

    age in user profile. Procedure is in the same documentation page.

    ning: We recommend you to read this documentation and follow the procedure

    ly, you may fill in a text describing the TAG, a string displayed at first launch of the agent to ask user to enter the TAG Value. It's a generic data which

    ws you to sort the new computers (geographical site, first floor, john room....). If you don't want this functionality, just let it blank.

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Securehttp://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv1.jpghttp://forums.ocsinventory-ng.org/viewtopic.php?pid=32009#p32009
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    13/20

    figuration of Management server is now finished.

    point your browser to the URL http://administration_server/ocsreportsand login in with adminas user and adminas password.

    Error creating thumbnail: File missing

    grading management server.

    n new versions of web communication server or web administration console are released, you must upgrade your installation.

    e: Ensure MySQL InnoDB engine is activated on your database server. Open my.cnf and ensure there is no line with skip-innodbor this line ismented out(begins with #).

    ning: Backup your database before upgrading! If you encounter any error while upgrading, restore your database, and upgrade MySQL server toon 4.1.20 or higher. Then, rerun upgrade procedure.

    http://administration_server/ocsreportshttp://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv3.jpghttp://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv2.jpg
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    14/20

    ning: Notice that many package removers are asking if you want to remove also database - you better not do this, cause you want to make upgrade,not a install from scratch.

    ning: Make sure you set max execution time limit in php.ini to zero (unlimited). Database upgrade can take a lot of time.

    ning: We recommend you to migrate your OCS database to UTF8. Refer to Migrate your OCS database to UTF8 HowTo.

    pgrade web communication server and administration console, you must follow instructions as described in Installing management server. You dont

    to update Perl modules if not required in the release notes.

    , just point your favorite browser to URL http://administration_server/ocsreports and it will run the upgrade process to ensure that your database

    ma and default data are up to date. Upgrade process looks like configuration of management server as described in Configuring management server.

    e: You will see warning regarding max size of package you will be able to deploy. Please, see Uploads size for package deployment.) to configure yourer to match your needs.

    n MySQL administrator name (usually root) and password, and MySQL database server address and click on [ Send ]button. Template:Notice

    http://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv2.jpghttp://wiki.ocsinventory-ng.org/index.php?title=Template:Notice&action=edit&redlink=1http://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv1.jpghttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Errors#Uploads_size_for_package_deployment.http://administration_server/ocsreports%E2%80%9Dhttp://wiki.ocsinventory-ng.org/index.php?title=Howtos:Migrate_your_OCS_database_to_UTF8
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    15/20

    ly, you may fill in a text describing the TAG if you wish to use it.

    e: Notice that installers says about how to log in to server after upgrade. Actually use your user/pass that you used before upgrade, especially if youoved/disabled user admin :)

    nder Windows Operating System.

    ave chosen to package OCS inventory NG server for Windows as an integrated package containing all required components. As is, the 3 main

    ponents of Management server (database server, web communication server and web administration server) are installed on the same computer.

    Inventory NG server 1.0 for Windows is based on ApacheFriends XAMPP version 1.5.5 (ApacheFriends (http://www.apachefriends.org/index-

    ml)) which sets the following components up on a single computer:

    Apache 2.2.3MySQL 5.0.27

    PHP 5.2.0 + PHP 4.4.4 + PEARPHP-Switch win32 1.0XAMPP Control Version 2.3 from www.nat32.comXAMPP Security 1.0SQLite 2.8.15OpenSSL 0.9.8dphpMyAdmin 2.9.1.1ADOdb 4.93Mercury Mail Transport System for Win32 and NetWare Systems v4.01bFileZilla FTP Server 0.9.20Webalizer 2.01-10Zend Optimizer 3.0.2eAccelerator 0.9.5 RC1 for PHP 5.1.6 (comment out in php.ini)Perl 5.8.8

    mod_perl 2.0.2

    e: Even if all these components are installed, you will be able to choose the components you want to automatically start.

    talling management server.

    ning: You must have Administrator privileges to set OCS Inventory NG server up under Windows NT4, Windows 2000, Windows XP or Windowser 2003.

    nload OCSNG_WINDOWS_SERVER_1.02.1.zipfrom OCS Inventory Web Site, unpack it and launch OcsWin32ServerSetup.exe.

    AMPP components (server and perl addon) are not already installed, Setup will prompt you that you have to set them up. Otherwise, Setup will

    matically install OCS Inventory Server into XAMPP directories.

    http://wiki.ocsinventory-ng.org/index.php?title=File:EN_02_xampp_directory.gifhttp://www.apachefriends.org/index-en.htmlhttp://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv3.jpg
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    16/20

    [ Next ]button to start installation wizard.

    [ Next ]button and accept License agreement.

    se installation directory, by default C:\Program Files\OCS Inventory NG. You need 400 MB of free hard disk space if XAMPP components are not

    led, otherwise, only 10MB are required.

    e: When upgrading, you must ensure that Setup detects the folder including XAMPP directory. See Upgrading management server.

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Upgrading_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=File:EN_05_install_location.gifhttp://wiki.ocsinventory-ng.org/index.php?title=File:EN_04_license.gifhttp://wiki.ocsinventory-ng.org/index.php?title=File:EN_03_welcome.gif
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    17/20

    , you have to validate components to install. Only OCS Inventory NG Serveris required, if XAMPP components are already installed.

    e: OCS Inventory NG Server Setup now use standard XAMPP setup. So, it may be able to upgrade existing XAMPP installation. However, by default,p will _not_ upgrade XAMPP components. See Upgrading management server

    , you have to choose the program group name in start menu, where OCS Inventory NG icons will be created and then click on [ Install ]button to start

    lation.

    AMPP setup selected, Setup will first launch XAMPP 1.5.5 setup in silent mode. This will create a folderxamppunder destination folder, and aam groupApache Friendsin start menu.

    will be prompted to start XAMPP Control Panel. Please, answer No.

    , it will launch XAMPP perl addon setup in silent mode.

    Setup will install OCS Inventory NG Server files, configure XAMPP Apache and MySQL servers for OCS Inventory NG Server, and automatically

    MySQL and Apache servers.

    e end of the process, Setup will launch your default browser to start OCS Inventory NG Server configuration (see Configuring management server).

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Configuring_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=File:EN_07_start_menu.gifhttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Upgrading_management_server._2http://wiki.ocsinventory-ng.org/index.php?title=File:EN_06_choose_components.gif
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    18/20

    p is now finished and you can click [ Finished ]button.

    e: OCS Inventory NG setup for Windows has installed XMAPP components under xamppsubfolder of selected installation directory. Apache web

    er document root directory is located in the htdocssub directory of XAMPP. This is here that ocsreportsadministration console files are installed.

    munication server files are now located into PERL standard libraries.

    he logs (access.log, error.log, phperror.log) and communication server logs (ocsinventory-NG.log) are located in the sub-directory Apache\Logs.

    nfiguring management server.

    your favorite web browser on the server and point it on URL http://localhost/ocsreportsto connect the Administration server.

    will be prompted for information to connect to MySQL database server with a user who has the ability to create database, tables, indexes, etc:

    MySQL user name, rootby defaultMySQL user password (empty password by default)MySQL hostname, localhost

    p actions :

    Create ocswebdatabase, and will add MySQL user ocswith password ocs.Grant to user ocsprivileges Select | Insert | Update | Delete | Create | Drop | References | Index | Alter | Create temp | Lockon database ocsweb.

    e: This user will be used by Administration server and Communication server to connect to the database. If you do not wish to use default MySQLocswith ocspassword, you must update in the file dbconfig.inc.phpPHP constants COMPTE_BASE, which is MySQL user login, and/or

    WD_BASE, which MySQL user password.

    t forget to also update Communication server configuration, especially in apache configuration file.

    r to Secure your OCS Inventory NG Server documentation. If you don't want to secure your OCS Inventory Server, you have to desactivate Warning

    age in user profile. Procedure is in the same documentation page.

    http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Securehttp://wiki.ocsinventory-ng.org/index.php?title=File:Fr_installserv1.jpghttp://localhost/ocsreportshttp://wiki.ocsinventory-ng.org/index.php?title=File:EN_12_completing.gif
  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    19/20

  • 7/25/2019 Documentation:Server:Es - OCS Inventory NG

    20/20

    on the language you want to access the XAMPP main configuration menu.

    , click [ Security ]on the left menu. As you will see, all is marked as unsecure or unknown for non started components.

    can change this by clicking the link http://localhost/security/xamppsecurity.php.

    of all, you must fill in MySQL root password and select phpMyAdmin authentication method.

    e: You can change this at any time by visiting the security web page of XAMPP server.

    ate your changes by clicking Password changingbutton.

    can then protect the access to XAMPP configuration menu by filling in user and password for XAMPP DIRECTORY PROTECTION. As is, this userassword will be asked to connect to XAMPP configuration menu through a web browser.

    ate your changes by clicking Make safe the XAMPP directorybutton.

    e: Do not enable PHP safe mode, as you may encounter errors on Administration console.

    ly, you must restart Apache and MySQL services for changes to take effect.

    XAMPP Control Panel from system tray or from OCS Inventory NGstart menu folder, click [ Stop ]button for Apache, then [ Start ]button and do

    ame for MySQL.

    can now reselect [ Security ]on left side menu to see that all started services are now secured.

    grading management server.

    pgrade web communication server and administration console, you must follow instructions as described in the section Installing management server.

    ensure that setup detects old installation folder correctly.

    dont need to update XAMPP components. Setup, by default, will not select XAMPP components install. If you do so, backup your databases and

    sites if you want to also upgrade XAMPP components !See the section Backup/restore of OCS Inventory NG database.

    e end of the process, Setup will launch your default browser to run the upgrade process to ensure that your database schema and default data are up to

    Upgrade process looks like configuration of management server as described in the section Configuring management server.

    e: You will see warning regarding max size of package you will be able to deploy. Please, see the section Uploads size for package deployment.) tofigure your server to match your need.

    n MySQL administrator name (usually root) and password, and MySQL database server address and click Send button.

    ly, you may fill in a text describing the TAG if you wish to use it.

    eved from "http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es&oldid=9259"

    This page was last modified on 2 November 2011, at 06:43.Content is available under GNU Free Documentation License 1.2 unless otherwise noted.

    http://www.gnu.org/copyleft/fdl.htmlhttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es&oldid=9259http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Errors#Uploads_size_for_package_deployment.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Configuring_management_server.http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Backuphttp://wiki.ocsinventory-ng.org/index.php?title=Documentation:Server/es#Installing_management_server._2http://localhost/security/xamppsecurity.php