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/04/16 16:58] daamien |
admin:celeste2 [2017/08/03 19:20] (Version actuelle) daamien [apache] |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Celeste2 ====== | ====== Celeste2 ====== | ||
| - | ====== Tantor2 ====== | + | * Installation : avril 2017 |
| + | * Mise en Prod : juillet 2017 | ||
| + | ===== Installation de base | ||
| - | * installation : avril 2017 | + | 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:// | ||
| + | </ | ||
| - | ===== Installation de base ===== | + | 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 | + | |
| - | # 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 |
| </ | </ | ||
| + | Mise en place du Hot Standby: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ===== apache ===== | ||
| + | |||
| + | < | ||
| + | sudo apt update | ||
| + | sudo apt install apache2 php php-pgsql libapache2-mod-php php7.0-mbstring php-xml | ||
| + | sudo a2enmode rewrite cgi | ||
| + | </ | ||
| + | |||
| + | Gotchas : | ||
| + | |||
| + | * docs > https:// | ||
| + | * docs > https:// | ||