Ubuntu 12.04 Build Ocs+glpi

Source: Internet
Author: User
Tags glpi

1. Installation Support Module

2. Installing the OCS Service side (Linux)

3, Installation Glpi

4. Integration of OCS and GLPI

5. Testing

Installation support

sudo apt-Get updatesudoApt-get Dist-upgrade//system updates to the latestApt-getInstalllibapache2-mod-php5apt-getInstallphp5-CLI Apt-getInstallphp5-Common Apt-getInstallphp5-CGI apt-getInstallMysql-server//will require a database password, the user is root (this will be used below)Apt-getInstallphp5-MySQL apt-getInstallbuild-Essential Apt-getInstalllibapache2-mod-Perl2 Apt-getInstallphp5-GD Apt-getInstalllibxml-simple-PerlApt-getInstalllibcompress-raw-zlib-PerlApt-getInstalllibdbi-PerlApt-getInstalllibdbd-mysql-PerlApt-getInstalllibapache-dbi-PerlApt-getInstallphp-Pear apt-getInstallphp5-Dev Apt-getInstalllibnet-ip-PerlApt-getInstalllibsoap-lite-PerlApt-getInstalllibyaml-PerlApt-getInstallLibmysqlclient-dev

Second, installation OCS

1. Download OCS Server

#wget https://launchpadlibrarian.net/99500930/OCSNG_UNIX_SERVER-2.0.5.tar.gz//This is the server that you can download from Linux in the above way

(Https://launchpadlibrarian.net/114008385/OCSNG-Windows-Agent-2.0.5.zip

This is the Windows client, you can download it through the Windows platform, it will be used when testing)

2. Start the installation

# tar XVF ocsng_unix_server-2.0.5.tar.gz//This is decompression

#cd ocsng_unix_server-2.0.5//Enter directory

#sh setup.sh//Start the installation, there will be a series of options, except I listed below the rest of the default carriage return

Figure One:

If you do not modify the Web directory, but note the account, folder assignment permissions

sudo chmod-r 777/usr/share/ocsinventory-reports/

Figure II: After the installation is complete, enter the ip/ocsreports/of the host in the Windows browser

root/123456a

Figure three: Next, this place defaults to Admin/admin

Figure IV:

To this OCS service-side (Linux) installation complete

Third, installation GLPI

: https://forge.indepnet.net/attachments/download/1387/glpi-0.83.7.tar.gz

tar zxvf glpi-0.83. 7. Tar // Unzip mv glpi/var/www//var/wwwchmod777 –r/var/www

In the browser input/HTTP/host ip/glpi/

Figure One: Select Chinese

Figure II: "Acceptance clause"

Figure III: "Facilities"

Figure Four: Continue

Figure V:

Figure VI: Select Ocsweb

Figure VII: GLPI/GLPI account number and password, others can enter the view

To this GLPI installation is complete

Iv. integration of OCS into GLPI

Figure One: Settings-General

Figure II: Asset List-"Enable the OCSNG mode: yes"

Figure III: localhost

Figure Four OCSNG server bar below

Figure V: Watch out! Import options Bar as follows, item optional, note me box where, if check the client software will

Unable to import!

Figure VI: The General Information Bar is as follows, as required, the project optional

Here, the integration is complete

V. Testing

Figure one: Under XP, My Computer name

Figure II: Installation

Figure Three: Change your own IP

Figure IV: No changes

Figure V: Explanation

1.//enable verbose log: Enable verbose logging

2,//do not scan for installed software: Do not scan installed software

3.//never ask for tag: ignore tag

4,//do not register service-agent must is launched manually: not registered service-agent must be started manually

5,//do not register Systray applets to automatically start: Do not register the system tray applet automatically start

6,//immediately Launch inventory: Start inventory immediately

Figure VI: Client Installation Complete

Figure VII: Re-entering Http://IP address under Windows Explorer/glpi (GLPI/GLPI)

Figure Eight:

Figure nine: I have seen my machine, click "Import"

Figure 10:

1. Official download page:

OCS Service side: http://www.ocsinventory-ng.org/en/download/download-server.html

OCS Client: http://www.ocsinventory-ng.org/en/download/download-agent.html

Glpi:http://www.glpi-project.org/?article3&lang=fr

Reference Links:

Http://blog.famillecollet.com/post/2009/06/02/ocsinventory-1.02.1-1-en

Official: Http://wiki.ocsinventory-ng.org/index.php/Documentation:Server

Ubuntu 12.04 Build Ocs+glpi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.