Skip to content
Snippets Groups Projects
INSTALL.fr.md 8.79 KiB

Sauf indiqué, cette procédure prends en compte par défaut les distributions GNU/Linux Ubuntu et Debian

Paquets nécessaires:

Ubuntu Trusty

apt-get install python-software-properties php5 php5-gd php5-imagick php5-xdebug php-pear php5-mysqlnd php5-xhprof graphviz apache2 mysql-server libapache2-mod-php5 git php5-mcrypt php5-curl yaz

Debian Wheezy-Jessie

apt-get install php5 php5-gd php5-imagick php5-xdebug php-pear php5-mysqlnd graphviz apache2 mysql-server libapache2-mod-php5 git php5-mcrypt php5-curl yaz php5-xhprof

ArchLinux

yaourt -S php php-gd php-imagick xdebug php-pear apache mariadb php-apache php-xhprof graphviz git php-mcrypt binutils automake autoconf gcc make fakeroot

CentOS

rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
yum install php54w php54w-gd php54w-pear php54w-mysql php54w-pecl-xdebug php54w-xml php54w-soap php54w-mbstring

Il est nécessaire de compiler Imagick extension à partir des sources.

Installer PHPUnit (en compte root / sudo):

Rechercher le numéro de la dernière version phpunit-x.x.x.phar sur https://phar.phpunit.de

  cd /usr/local/bin
  wget https://phar.phpunit.de/phpunit-x.x.x.phar
  mv phpunit-x.x.x.phar phpunit
  chmod +x phpunit

Récupération des sources

cd /var/www
git clone http://git.afi-sa.fr/afi/opacce.git opacce

Lancer le script update.sh

cd opacce
./update.sh

Serveur web Apache :

Activez les modules :