Beruflich Dokumente
Kultur Dokumente
Howtos:VMOcsinventory-ng
From OCS Inventory NG
Howtos:VMOcsinventory-ng
Languages:
English Franais
Contents
1 How to install, start and configure the OCSInventory-NG virtual machine
1.1 Overview
1.2 Requirements
1.3 Glossary
1.4 Installing the Virtual Machine
1.5 Configuring the Virtual Machine
1.5.1 Configuring IP
1.5.2 Configuring SAMBA
1.5.3 Configuring DNS
1.5.4 Gnrating SSL certificate
1.6 Installing and configuring a client agent
1.7 If you want more ...
1.7.1 Updating time and date
1.7.2 HTTPS Inventory transmission
1.7.3 Secure your OCS Inventory NG Server
1.7.4 Personnalize your OCS Inventory NG Server
Note: The SSL mode is also enabled. This allows secure inventory transmission and package deployment. Indeed, a control of the SSL certificate is
performed when the agent contacts the server. You can disable this feature but for security reasons, we strongly advise aginst doing this.
http://wiki.ocsinventory-ng.org/index.php/Howtos:VMOcsinventory-ng
1/5
14/4/2014
Requirements
You must ensure that you have :
An installed and operational VMWare solution
8 GB hard disk space free
The host machine must know how to manage x64 instructions if you choose a 64-bit distribution
Glossary
On Linux, by default, the profile root is associated with the password ocs.
On Mysql, by default, the couple ocs/ocs is associated to the ocsweb database.
IP : 10.10.10.10
Subnet mask : 255.255.255.0
Gateway : 10.10.10.8
DNS : 10.10.200.11 / 10.10.200.2
To be consistent with your own network, you must edit the following files :
/etc/hosts : change IP address 10.10.10.10 with the one you chose above.
http://wiki.ocsinventory-ng.org/index.php/Howtos:VMOcsinventory-ng
2/5
14/4/2014
Configuring SAMBA
By default, the SAMBA configuration of the virtual machine inserts it in the workgroup WORKGROUP. If that does not fit into your network settings,
please change the WORKGROUP= value by editing the file :
nano /etc/samba/smb.conf
Configuring DNS
To ensure the proper functioning of the inventory and deployment on the agents, the ocsinventory-ng hostname must be resolved by the clients. In other
words, the command ping ocsinventory-ng must return a positive result as shown in this image :
To do this, either you use the DNS server on your network to point the name ocsinventory-ng to the IP address of the virtual machine (Howto for
Windows Server (http://technet.microsoft.com/fr-fr/library/cc779029%28WS.10%29.aspx) ), or you update the hosts file of each computer with the same
information (usually located in %windir%\system32\drivers\etc\).
Warning: The SSL certificate generated in the virtual machine contains ocsinventory-ng hostname. It is very important that this step is respected as is,
with the same name.
http://wiki.ocsinventory-ng.org/index.php/Howtos:VMOcsinventory-ng
3/5
14/4/2014
The certificate is automatically used by Apache and is available from a client under the address : \\ocsinventory-ng\ocs$.
You can also use ocspackage.exe to generate an installer including the certificate. For instructions, see this documentation (http://wiki.ocsinventoryng.org/index.php/Tools:Packager/fr) .
Pass the NTPDATE_USE_NTP_CONF value from YES to NO. Save everything and do update with :
ntpdate ntp.ubuntu.com
It's Ok ;)
4/5
14/4/2014
http://wiki.ocsinventory-ng.org/index.php/Howtos:VMOcsinventory-ng
5/5