« Weathermap » : différence entre les versions

De NCad Wiki
Aller à la navigation Aller à la recherche
(Page créée avec « = Installation = {{ Box Console | objet=apt-get install weathermap php-pear }} {{ Box Console | objet=pear install Console_Getopt }} »)
 
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
= Installation =
= Installation =


{{ Box Console | objet=apt-get install weathermap php-pear }}
== Prérequis ==
 
Vous devez avoir un serveur web fonctionnel avec le module php d'activé.
 
== Installation ==
 
* Installation du module '''pear''' pour '''php''' :
 
{{ Box Console | objet=php5-pear }}
 
* Installation de la console '''Getopt''' :


{{ Box Console | objet=pear  install Console_Getopt }}
{{ Box Console | objet=pear  install Console_Getopt }}
*
{{ Box Console | objet=apt-get install snmp snmp-mibs-downloader }}
* Téléchargement de l'archive weathermap que l'on décompressera à la racine '''/var/www/''' de notre serveur web '''Apache2''' :
{{ Box Console | objet=cd /var/www/<br />
wget http://network-weathermap.com/files/php-weathermap-0.97c.zip<br />
unzip php-weathermap-0.97c.zip<br />
cd weathermap }}

Dernière version du 11 février 2016 à 21:26

Installation

Prérequis

Vous devez avoir un serveur web fonctionnel avec le module php d'activé.

Installation

  • Installation du module pear pour php :

php5-pear

  • Installation de la console Getopt :

pear install Console_Getopt

apt-get install snmp snmp-mibs-downloader

  • Téléchargement de l'archive weathermap que l'on décompressera à la racine /var/www/ de notre serveur web Apache2 :

cd /var/www/
wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
unzip php-weathermap-0.97c.zip
cd weathermap