Changes

From SME Server
Jump to navigationJump to search
171 bytes added ,  18:18, 8 May 2021
no edit summary
Line 1: Line 1:  
{{Languages|OCS_Inventory}}
 
{{Languages|OCS_Inventory}}
==Maintainer==
+
==Maintaineur==
 
[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===
 
===Version===
 
{{#smeversion: smeserver-ocsinventory }}
 
{{#smeversion: smeserver-ocsinventory }}
   −
==HowTO==
+
==Tutoriel==
 
===Installation===
 
===Installation===
====SME8====
  −
yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs
  −
  −
then
  −
  −
signal-event ocs-update
  −
signal-event post-upgrade; signal-event reboot
  −
  −
{{Warning box|You must issue first the ocs-update before post-upgrade and reboot}}
      
====SME9====
 
====SME9====
You must first enabled the [[Remi-ocsinventory]] repository, then
+
Vous devez d'abord activer le dépôt [[Remi-ocsinventory]], puis :
 
  yum install smeserver-ocsinventory --enablerepo=remi-ocsinventory,smecontribs
 
  yum install smeserver-ocsinventory --enablerepo=remi-ocsinventory,smecontribs
 
  signal-event ocs-update
 
  signal-event ocs-update
or if you prefer to reboot your server, then do
+
ou si vous préferrez redémarrer le serveur, faire ensuite :
 
  signal-event post-upgrade; signal-event reboot
 
  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
+
Après cela, vous pouvez procéder à l'installation normale selon [[OCS Inventory#Importing ocsagent.exe in MySQL]] qui devrait vous amener à http://VotreDomaine/ocs/install.php.
    +
Répondre seulement aux questions, les informations de la base de données (BDD) mysql seront déjà là, vous n'avez pas à les modifier car elles ont été définies.
   −
just answer the questions, mysql database informations will already be there, you do not have to change them, as they were set.
+
Puis faire l'installtion normale et à la suite aller sur http://VotreDomaine/ocs/index.php.
    +
Ne pas oublier de changer les identifiant et mot de passe par défaut qui sont admin/admin.
   −
then do the normal installation following  go to http://YOURDOMAIN/ocs/index.php
+
N'oubliez pas non plus de faire :
   −
do not forget to change the default username and password which are admin /admin
+
rm -f  /usr/share/ocsinventory-reports/ocsreports/install.php
 +
====SME8====
 +
yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs
 +
 +
then
 +
 +
signal-event ocs-update
 +
signal-event post-upgrade; signal-event reboot
    +
{{Warning box|You must issue first the ocs-update before post-upgrade and reboot}}
   −
also do not forget to do :
+
===Commandes spéciales===
 
+
Pour voir la configuration d'OCS, vous pouvez saisir :
rm -f  /usr/share/ocsinventory-reports/ocsreports/install.php
  −
 
  −
===Special commands===
  −
To view OCS configuration, you can type the following at the prompt:
   
  config show ocs
 
  config show ocs
   −
You can change a few parameters:
+
Vous pouvez changer quelques paramètres :
     DB parameter   |    Options  | Default | Explanation
+
     Paramètre DB  |    Options  | Par défaut | Explication
  # MaxUpload      | xM          | 100M   | Max uploadable file size
+
  # MaxUpload      | xM          | 100M       | Taille maximale de fichier téléchargé
  # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories)
+
  # InventoryAccess | local/global | global     | Accessibilité du serveur OCS (pour recevoir les inventaires)  
  # InventoryDelay  | >1          | 600     | Time to wait (sec) to avoid server overload (Agent cron)
+
  # InventoryDelay  | >1          | 600       | Durée d'attente (sec) pour éviter la surcharge du serveur (Agent cron)
  # URL            | new alias    |         | Optionnal aliases for ocs and glpi web interfaces
+
  # URL            | new alias    |           | Alias facultatifs pour les interfaces Web ocs et glpi
    
===Client Installation===
 
===Client Installation===
3,054

edits

Navigation menu