From source » Historique » Version 8
Patrice Nadeau, 2015-01-02 16:40
| 1 | 1 | Patrice Nadeau | h1. From source |
|---|---|---|---|
| 2 | |||
| 3 | 7 | Patrice Nadeau | L'installation à partir des sources permet |
| 4 | 6 | Patrice Nadeau | * d'avoir la version la plus récente |
| 5 | * n'est pas relier à une plate-forme spécifique (i686 vs x86_64 vs ARM) |
||
| 6 | |||
| 7 | 8 | Patrice Nadeau | Les test ont été fait à partir d'un BeagleBone Black. |
| 8 | |||
| 9 | 4 | Patrice Nadeau | h2. Prérequis |
| 10 | 1 | Patrice Nadeau | |
| 11 | 6 | Patrice Nadeau | Installer les utilitaires pour la compilation : |
| 12 | 5 | Patrice Nadeau | <pre><code class="bash"> |
| 13 | zypper install make gcc |
||
| 14 | </code></pre> |
||
| 15 | 4 | Patrice Nadeau | |
| 16 | 2 | Patrice Nadeau | Télécharger |
| 17 | 1 | Patrice Nadeau | <pre><code class="bash"> |
| 18 | mkdir tmp |
||
| 19 | wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.8.tar.gz |
||
| 20 | wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz |
||
| 21 | </code></pre> |
||
| 22 | 3 | Patrice Nadeau | |
| 23 | Création de l'usager et groupe |
||
| 24 | <pre><code class="bash"> |
||
| 25 | useradd nagios |
||
| 26 | groupadd nagcmd |
||
| 27 | usermod -a -G nagcmd nagios |
||
| 28 | </code></pre> |