Changes

Jump to navigation Jump to search
529 bytes added ,  20:24, 10 May 2021
m
Line 1: Line 1: −
 
+
{{Languages}}
 
==Maintainer==
 
==Maintainer==
 
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
 
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
 +
===Version===
 +
{{#smeversion: smeserver-ocsinventory }}
   −
==Install==
+
==HowTO==
 
+
===Installation===
  yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs -y
+
====SME8====
 +
  yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs
 
   
 
   
 
then
 
then
Line 14: Line 17:  
{{Warning box|You must issue first the ocs-update before post-upgrade and reboot}}
 
{{Warning box|You must issue first the ocs-update before post-upgrade and reboot}}
    +
====SME9====
 +
You must first enabled the [[Remi-ocsinventory]] repository, then
 +
yum install smeserver-ocsinventory --enablerepo=remi-ocsinventory,smecontribs
 +
signal-event ocs-update
 +
or if you prefer to reboot your server, then do
 +
signal-event post-upgrade; signal-event reboot
    +
----
 
after this you can proceed to normal installation according to  [[OCS Inventory#Importing ocsagent.exe in MySQL]] should go to http://YOURDOMAIN/ocs/install.php
 
after this you can proceed to normal installation according to  [[OCS Inventory#Importing ocsagent.exe in MySQL]] should go to http://YOURDOMAIN/ocs/install.php
   Line 52: Line 62:     
If you want to inventory other SME Servers (without installing the server-side and web interfaces)
 
If you want to inventory other SME Servers (without installing the server-side and web interfaces)
 
+
====for sme8====
 
  yum install ocsinventory-agent ocsinventory-ipdiscover --enablerepo=smetest,epel
 
  yum install ocsinventory-agent ocsinventory-ipdiscover --enablerepo=smetest,epel
   
{{Warning box|this will issue a warning, which can be ignored, about : rpmts_HdrFromFdno: Entête V3 DSA signature: NOKEY, key ID 00f97f56
 
{{Warning box|this will issue a warning, which can be ignored, about : rpmts_HdrFromFdno: Entête V3 DSA signature: NOKEY, key ID 00f97f56
 
Public key for ocsinventory-ipdiscover-1.01-2.el5.remi.i386.rpm is not installed
 
Public key for ocsinventory-ipdiscover-1.01-2.el5.remi.i386.rpm is not installed
 
}}
 
}}
 
+
====for sme9====
 +
yum install ocsinventory-agent ocsinventory-ipdiscover --enablerepo=remi-ocsinventory
 +
-----
 
Then edit ''/etc/ocsinventory-agent/ocsinv.conf'' and modify following lines:
 
Then edit ''/etc/ocsinventory-agent/ocsinv.conf'' and modify following lines:
 
  OCSSERVER=yourdomain.com
 
  OCSSERVER=yourdomain.com
Line 113: Line 124:  
This also allows to update files archived in ''ocsagent.exe'' on your clients (can be service or standalone executable).
 
This also allows to update files archived in ''ocsagent.exe'' on your clients (can be service or standalone executable).
   −
A [http://prdownloads.sourceforge.net/ocsinventory/OCSNG_PACKAGER_1.01.zip?download packager] is available at ocs website. This will allow you to repackage ''ocsagent.exe'' with your own modifications (i.e. an SSL certificate!)
+
A [https://launchpad.net/ocsinventory-windows-packager/2.1/2.1.1/+download/OCSNG-Windows-Packager-2.1.1.zip packager] is available at ocs website. This will allow you to repackage ''ocsagent.exe'' with your own modifications (i.e. an SSL certificate!)
 
[[Image:OCS-packager.png]]<br>
 
[[Image:OCS-packager.png]]<br>
 
----
 
----
Line 136: Line 147:  
If you want to remove ''ocsagent.exe'' from your database, simply delete the file from the server and redo install.php. This will delete the file from the database.
 
If you want to remove ''ocsagent.exe'' from your database, simply delete the file from the server and redo install.php. This will delete the file from the database.
   −
==OCS Agent for Linux==
+
===OCS Agent for Linux===
 
Download the generic linux tar.gz, unpack, read the README, and as root, run the setup script.  
 
Download the generic linux tar.gz, unpack, read the README, and as root, run the setup script.  
   −
You may required additional perl- packages, use you package management tools to search for the missing dependencies based on the README or the error messages. See Section 4.2 in the internal OCS help file.
+
You may required additional perl-packages, use your package management tools to search for the missing dependencies based on the README or the error messages. See Section 4.2 in the internal OCS help file.
    
To run an inventory  
 
To run an inventory  
Line 146: Line 157:  
Check the time (will the PC be on) and command given in   
 
Check the time (will the PC be on) and command given in   
 
  /etc/cron.d/ocsinventory-client
 
  /etc/cron.d/ocsinventory-client
  −
  −
  −
  −
      
=OCS Inventory NG Usage=
 
=OCS Inventory NG Usage=
Line 190: Line 196:  
[[Image:OCS-ipdiscover-step4.png]]<br>
 
[[Image:OCS-ipdiscover-step4.png]]<br>
 
----
 
----
Add you own network/subnet. All fields are mandatory.
+
Add your own network/subnet. All fields are mandatory.
 
[[Image:OCS-ipdiscover-step5.png]]<br>
 
[[Image:OCS-ipdiscover-step5.png]]<br>
 
----
 
----
Line 240: Line 246:  
----
 
----
   −
====Building a deployment packages====
+
====Building a deployment package====
Deployment packages can be either '''''.zip''''' files (Windows) or '''''tar.gz''''' files (Linux)
+
Deployment packages can be either '''''.zip''''' files (Windows) or '''''tar.gz''''' files (Linux).
    
'''Don't try to deploy other file type.'''
 
'''Don't try to deploy other file type.'''
Line 248: Line 254:  
for an overview see [http://www.ocsinventory-ng.org/index.php?page=package-deployment the ocs website]
 
for an overview see [http://www.ocsinventory-ng.org/index.php?page=package-deployment the ocs website]
 
for detail see section 8.3 of the help file,
 
for detail see section 8.3 of the help file,
for [http://alufis35.uv.es/OCS-Deployment-Tips-and-tricks.html Tips and tricks] see Pablo Iranzo's site
+
for [http://alufis35.uv.es/OCS-Deployment-Tips-and-tricks.html Tips and tricks] see Pablo Iranzo's site.
 
[[Image:OCS-buildpackage.png]]<br>
 
[[Image:OCS-buildpackage.png]]<br>
 
----
 
----
Line 284: Line 290:       −
Open the desired computer's inventory on click on ''Config'' icon and add a new package
+
Open the desired computer's inventory on click on ''Config'' icon and add a new package.
 
[[Image:OCS-deploy-single-pc1.png]]<br>
 
[[Image:OCS-deploy-single-pc1.png]]<br>
 
----
 
----
You should see all activated packages, affect the one you want and confirm changes
+
You should see all activated packages, affect the one you want and confirm changes.
 
[[Image:OCS-deploy-single-pc2.png]]<br>
 
[[Image:OCS-deploy-single-pc2.png]]<br>
 
----
 
----
Line 295: Line 301:  
Next time the Agent contacts the server, it is notified of the package, and sometime later should be deployed! As usual, you can manually launch the agent to force the update.
 
Next time the Agent contacts the server, it is notified of the package, and sometime later should be deployed! As usual, you can manually launch the agent to force the update.
   −
See section 8.1 of the help file to understand how download works
+
See section 8.1 of the help file to understand how download works.
     
3,054

edits

Navigation menu