* Install des paquets manquants
yum install oar-restful-api yum install perl-FCGI yum install perl-YAML yum install oidentd rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum install mod_fastcgi
* Désactivation de suexec dans la config de fastcgi, car ça empeche de lancer l'API en tant que oar
sed -i -e "s/\(FastCgiWrapper \)On/\1Off/" /etc/httpd/conf.d/fastcgi.conf
* Adaptation de la config apache oar-api pour Centos
sed -i -e "s/mod_fastcgi.c/fastcgi_module/" /etc/httpd/conf.d/oar-restful-api.conf sed -i -e "s,#\(LoadModule ident_module modules/mod_ident.so\),\1," /etc/httpd/conf/httpd.conf
* Activer ident sur ipv6 (localhost est ipv6 !!)
sed -i -e 's/\(OIDENTD_OPTIONS=\).*/\1"-a :: -q -u nobody -g nobody"/' /etc/sysconfig/oidentd
* (re)démarrage des services
service oidentd start service httpd restart
TODO