Weathermap : Différence entre versions

De Wiki NCad
Aller à : navigation, rechercher
(Installation)
(Installation)
Ligne 17 : Ligne 17 :
 
* Téléchargement de l'archive weathermap que l'on décompressera à la racine '''/var/www/''' de notre serveur web '''Apache2''' :
 
* 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/
+
{{ Box Console | objet=cd /var/www/<br />
wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
+
wget http://network-weathermap.com/files/php-weathermap-0.97c.zip<br />
unzip php-weathermap-0.97c.zip
+
unzip php-weathermap-0.97c.zip<br />
 
cd weathermap }}
 
cd weathermap }}

Version du 11 février 2016 à 22:24

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