Ocs Inventory Bsd Install

  1. Open Bsd Install Packages
  2. Ocs Inventory Download
  3. Ocs Inventory Agent Download
  1. OCS-NG collects information about the hardware and software of networked machines running the OCS client program (“OCS Inventory Agent”). OCS can visualize the inventory through a web interface. Furthermore, OCS includes the capability of deploying applications on computers according to search criteria.
  2. I think there are two OCS-Inventory contribs, an older and a newer one. - The one described in the Wiki is the older one (Ver. 4100 in Webinterface), it has been installed with: 'yum install smeserver-inventory-tools --enablerepo=smecontribs'. It installed the package 'smeserver-inventory-tools-1-7.el4.sme.i386.rpm'.
  3. Summary; Files. Then Try OCS Inventory NG. To discover and audit networked and standalone computers on demand or on a regular basis without the.

On this page

  1. How To Install OCS Inventory NG Server 2 On CentOS 5.5
    1. 1 Some Prerequisites
    2. 3 Configuring OCS Inventory NG Server 2

OCS Inventory UnixAgent. Some Links: Ask question Installation Website OCS Professional. Ocsinventory-Agent is an agent for ocsinventory NG. It supports Linux, Solaris and AIX. *BSD support is.

How To Install OCS Inventory NG Server 2 On CentOS 5.5

This article explains how to install OCS Inventory NG Server 2 on Linux Server.Prepared by Rafael Marangoni, from BRLink Consultoria Linux Team.

Introduction

OCS Inventory is a great software to make inventories. The NG Server is formed by: communication server, deployment server,and administration console. Click here to know how it works.

The computers that will be inventoried must run an agent (installed on each computer), to connect to the OCS NG Server. We are using the CentOS 5.5 (64bits) distribution, but it will probably work on Fedora (and Red Hat, for sure).

1 Some Prerequisites

Installing MySQL Server

We need to install it (if it's not already installed):

Starting MySQL:

/etc/init.d/mysqld start
chkconfig --level 35 mysqld on

Setting a root password on mysql:

Starting Apache:

We need to start Apache (OCS uses it):

Opera mini browser for pc windows 10 free download. /etc/init.d/httpd start
chkconfig --level 35 httpd on

Installing Packages

Next, we need to install EPEL repository:

Afterwards, let's install the packages:

Configure PHP

Edit the /etc/php.ini file, and change the following lines:

Restart Apache:

2 Installing OCS Inventory NG Server 2

First, we need to download the tarball from OCS Inventory website. Click here.

mkdir /download
cd /download
wget http://launchpad.net/ocsinventory-server/stable-2.0/2.0rc1/+download/OCSNG_UNIX_SERVER-2.0rc1.tar.gz

Initiate the installer:

tar -zxvf OCSNG_UNIX_SERVER-2.0rc1.tar.gz
cd /download/OCSNG_UNIX_SERVER-2.0rc1
sh setup.sh

The install script is very simple, it's a wizard. Almost all the options, we'll select the default option.
These are the questions:

If you leave the question in blank, it will select the default option.

Do you wish to continue ([y]/n)?y
Your MySQL client seems to be part of MySQL version 5.0.
Your computer seems to be running MySQL 4.1 or higher, good ;-)
Which host is running database server [localhost] ?localhost
On which port is running database server [3306] ? 3306
Where is Apache daemon binary [/usr/sbin/httpd] ?
Where is Apache main configuration file [/etc/httpd/conf/httpd.conf] ?
Which user account is running Apache web server [apache] ?
Which user group is running Apache web server [apache] ?
Where is Apache Include configuration directory [/etc/httpd/conf.d/] ?
Where is PERL Intrepreter binary [/usr/bin/perl] ?
Do you wish to setup Communication server on this computer ([y]/n)?y
Where to put Communication server log directory [/var/log/ocsinventory-server] ?
OCS setup.sh can install perl module from packages for you
The script will use the native package from your operating system like apt or rpm
Do you wish to continue (y/[n])? y
To ensure Apache loads mod_perl before OCS Inventory NG Communication Server,
Setup can name Communication Server Apache configuration file
'z-ocsinventory-server.conf' instead of 'ocsinventory-server.conf'.
Do you allow Setup renaming Communication Server Apache configuration file
to 'z-ocsinventory-server.conf' ([y]/n) ?y
Do you wish to setup Administration Server (Web Administration Console)
on this computer ([y]/n)?y
CAUTION: Setup now install files in accordance with Filesystem Hierarchy
Standard. So, no file is installed under Apache root document directory
(Refer to Apache configuration files to locate it).
If you're upgrading from OCS Inventory NG Server 1.01 and previous, YOU
MUST REMOVE (or move) directories 'ocsreports' and 'download' from Apache
root document directory.
If you choose to move directory, YOU MUST MOVE 'download' directory to
Administration Server writable/cache directory (by default
/var/lib/ocsinventory-reports), especialy if you use deployement feature.
Do you wish to continue ([y]/n)?y
Where to copy Administration Server static files for PHP Web Console
[/usr/share/ocsinventory-reports] ?
Where to create writable/cache directories for deployement packages,
IPDiscover and SNMP [/var/lib/ocsinventory-reports] ?

3 Configuring OCS Inventory NG Server 2

Dragonfly bsd install

Creating a MySQL database:

First, we need to open mysql shell:

Then create the database named ocsweb, and grant permissions to user ocs, with password ocs:

CREATE DATABASE ocsweb;
GRANT ALL ON ocsweb.* to 'ocs'@'localhost' identified by 'ocs';

If you want, you can change these parameters (database name, username or password). This is the default of ocs.

Now, point your browser to ocsreports interface, to manage the server with the administration tool:

Open

http://server-ip/ocsreports/

The default user is 'admin' and password is 'admin'.

Open Bsd Install Packages

Finally, we must delete the install script:

Now, all you have to do is configure the server with the machine options. Install the agents on the network computers pointing theserver ip on them.
For more information, take a look at the wiki of OCS clicking here.

References

Ocs Inventory Download

OCS Inventory: http://wiki.ocsinventory-ng.org/index.php/Documentation:Main

Ocs Inventory Agent Download

So I've set up OCSInventory (OCS) on FreeBSD 10.3 and I'm having problems trying to get the OCSInventory agent to communicate properly with the server. I'm running the latest version of OCS which requires SSL to function. I've generated a self-signed cert but the handshake is failing. The server is running OpenSSL v1.0.1s and on the Mac OS X client OpenSSL v1.0.2g. The error code that is being returned by the OCS agent on the client is:
Connecting with the openssl s_client results in the following error (relevant parts):
I don't know if the conflict is due to the cert being generated with the older version of OpenSSL on the server and the client running a newer version.
I'm thinking that I'll have to update OpenSSL on the server side and regenerate the certs, but if anyone has gone through this I'd appreciate any help!
Thanks!
Comments are closed.