Weathermap : Différence entre versions

De Wiki NCad
Aller à : navigation, rechercher
(Page créée avec « = Installation = {{ Box Console | objet=apt-get install weathermap php-pear }} {{ Box Console | objet=pear install Console_Getopt }} »)
 
(Installation)
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 }}
 +
 +
* 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/
 +
wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
 +
unzip php-weathermap-0.97c.zip
 +
cd weathermap }}

Version du 11 février 2016 à 22:06

Installation

Prérequis

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

Installation

  • Installation du module pear pour php :
ICON Terminal.png

php5-pear

  • Installation de la console Getopt :
ICON Terminal.png

pear install Console_Getopt

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

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