Serveur EPP : Différence entre versions
(Page créée avec « === Installation module Whois === {{ Box Console | objet=apt-get install apache2-prefork-dev<br /> wget http://downloads.sourceforge.net/project/modwhois/mod_whois/0.1/m... ») |
(→Installation module Whois pour Apache) |
||
(12 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | + | == Installation == | |
− | {{ Box Console | objet=apt-get install apache2-prefork-dev | + | === Prérequis === |
+ | |||
+ | Pour pouvoir fonctionner, ces services ont besoin des services suivants : | ||
+ | * Serveur web avec modules PHP, MySQL et SSL | ||
+ | * Base de données MySQL | ||
+ | |||
+ | En plus des services précédements indiqués, les paquets suivants devront également être présents : | ||
+ | * apache2-suexec | ||
+ | * libapache2-mod-fcgid | ||
+ | * apache2-prefork-dev | ||
+ | |||
+ | {{ Box Console | objet=sudo apt-get install apache2-suexec libapache2-mod-fcgid apache2-prefork-dev }} | ||
+ | |||
+ | === Installation module Whois pour Apache === | ||
+ | |||
+ | C'est le serveur Apache qui répond aux interrogation du Whois depuis un terminal de commande. Pour que Apache puisse répondre, il faudra installer le '''mod_whois''' pour Apache. | ||
+ | |||
+ | {{ Box Console | objet= | ||
wget http://downloads.sourceforge.net/project/modwhois/mod_whois/0.1/mod_whois-0.1.tar.gz<br /> | wget http://downloads.sourceforge.net/project/modwhois/mod_whois/0.1/mod_whois-0.1.tar.gz<br /> | ||
tar -zxvf mod_whois-0.1.tar.gz<br /> | tar -zxvf mod_whois-0.1.tar.gz<br /> | ||
cd mod_whois<br /> | cd mod_whois<br /> | ||
− | + | apxs2 -i -a -c mod_whois.c }} | |
+ | <br /> | ||
+ | {{ Box Attention | objet=Le répertoire cgi-bin est dans la racine /usr/lib ! Il faut donc penser à mettre à jour le chemin dans /etc/apache2/conf.d/whois.conf }} | ||
+ | |||
+ | === Installation du module EPP pour Apache === | ||
+ | |||
+ | {{ Box Console | objet=wget http://downloads.sourceforge.net/project/aepps/mod_epp/1.9/mod_epp-1.9.tar.gz<br /> | ||
+ | tar -zxvf mod_epp-1.9.tar.gz<br /> | ||
+ | cd mod_epp-1.9<br /> | ||
+ | apxs -i -a -c mod_epp.c }} | ||
+ | |||
+ | === Compilation des méthodes EPP === | ||
+ | |||
+ | {{ Box Console | objet=perl -MCPAN -e 'install File::Type'<br /> | ||
+ | perl -MCPAN -e 'install HTML::Template'<br /> | ||
+ | perl -MCPAN -e 'install MIME::Lite'<br /> | ||
+ | perl -MCPAN -e 'install Net::DNS'<br /> | ||
+ | perl -MCPAN -e 'install Net::SSLeay'<br /> | ||
+ | perl -MCPAN -e 'install Net::EPP'<br /> | ||
+ | perl -MCPAN -e 'install XML::Writer'<br /> | ||
+ | perl -MCPAN -e 'install XML::Writer::String'<br /> | ||
+ | perl -MCPAN -e 'install XML::XPath'<br /> | ||
+ | perl -MCPAN -e 'install XML::Parser'<br /> | ||
+ | perl -MCPAN -e 'install MIME::Base64'<br /> | ||
+ | perl -MCPAN -e 'install Authen::SASL'<br /> | ||
+ | perl -MCPAN -e 'install Email::Valid'<br /> | ||
+ | perl -MCPAN -e 'install CGI::Session'<br /> | ||
+ | perl -MCPAN -e 'install Net::XWhois' | ||
+ | }} | ||
+ | |||
+ | === Création du groupe et utilisateur EPP === | ||
+ | |||
+ | {{ Box Console | objet=groupadd -g 700 -r epp<br /> | ||
+ | useradd -c "EPP" -d "/usr/lib/cgi-bin/epp" -g 700 -m -o -p MonMotDePasse -r epp -u 700 -s /bin/bash }} |
Version actuelle en date du 20 janvier 2014 à 02:06
Sommaire
Installation
Prérequis
Pour pouvoir fonctionner, ces services ont besoin des services suivants :
- Serveur web avec modules PHP, MySQL et SSL
- Base de données MySQL
En plus des services précédements indiqués, les paquets suivants devront également être présents :
- apache2-suexec
- libapache2-mod-fcgid
- apache2-prefork-dev
|
Installation module Whois pour Apache
C'est le serveur Apache qui répond aux interrogation du Whois depuis un terminal de commande. Pour que Apache puisse répondre, il faudra installer le mod_whois pour Apache.
|
Le répertoire cgi-bin est dans la racine /usr/lib ! Il faut donc penser à mettre à jour le chemin dans /etc/apache2/conf.d/whois.conf |
Installation du module EPP pour Apache
|
Compilation des méthodes EPP
|
Création du groupe et utilisateur EPP
|