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/05/22 22:28] 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:// | ||
+ | </ | ||
- | + | On met en_US.UTF8 par défaut | |
- | ===== Installation de base ===== | + | |
< | < | ||
- | # 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 | + | sudo apt install |
- | sudo apt-get install | + | sudo apt install fail2ban mailman postfix postgrey |
</ | </ | ||
===== 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 36: | Ligne 46: | ||
https:// | 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:// |