Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
admin:celeste2 [2017/08/03 11:20] daamien [apache] |
admin:celeste2 [2017/08/03 19:20] (Version actuelle) daamien [apache] |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Celeste2 ====== | ====== Celeste2 ====== | ||
| - | * installation | + | * Installation |
| + | * Mise en Prod : juillet 2017 | ||
| ===== Installation de base ===== | ===== Installation de base ===== | ||
| + | |||
| + | Les dépots debian de Gandi sont tout pourris alors on met les dépots officiels dans le `source.list` | ||
| + | |||
| + | < | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | deb http:// | ||
| + | </ | ||
| + | |||
| + | On met en_US.UTF8 par défaut | ||
| < | < | ||
| - | # On met en_US.UTF8 par défaut | ||
| sudo dpkg-reconfigure locales | sudo dpkg-reconfigure locales | ||
| - | # Quelques paquets utiles | + | </ |
| - | sudo apt install make cron vim screen rsync git software-properties-common unattended-upgrades language-pack-fr | + | |
| - | # Activation des dépots universe | + | Quelques paquets utiles |
| - | sudo add-apt-repository universe | + | |
| + | < | ||
| sudo apt update | sudo apt update | ||
| - | sudo apt install fail2ban | + | sudo apt install make cron vim screen rsync git software-properties-common unattended-upgrades language-pack-fr |
| + | sudo apt install fail2ban | ||
| </ | </ | ||
| ===== PostgreSQL 9.3 ===== | ===== PostgreSQL 9.3 ===== | ||
| - | < | + | On se branche sur les dépot pgdg : / |
| - | sudo vi / | + | |
| - | | + | < |
| deb http:// | deb http:// | ||
| - | + | </ | |
| + | |||
| + | et c'est parti ! | ||
| + | |||
| + | < | ||
| wget --quiet -O - https:// | wget --quiet -O - https:// | ||
| - | sudo apt-get update | + | sudo apt update |
| - | sudo apt install postgresql-client-9.3 postgresql-9.3 libpq-dev postgresql-server-dev-9.3 | + | sudo apt install postgresql-client-9.3 postgresql-9.3 libpq-dev postgresql-server-dev-9.3 postgresql-contrib-9.3 |
| </ | </ | ||
| Ligne 35: | Ligne 50: | ||
| < | < | ||
| - | sudo apt-get update | + | sudo apt update |
| sudo apt install apache2 php php-pgsql libapache2-mod-php php7.0-mbstring php-xml | sudo apt install apache2 php php-pgsql libapache2-mod-php php7.0-mbstring php-xml | ||
| sudo a2enmode rewrite cgi | sudo a2enmode rewrite cgi | ||