linux:serveur_msp
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| linux:serveur_msp [2023/11/11 09:21] – ptitfrap | linux:serveur_msp [2023/11/12 07:44] (Version actuelle) – ptitfrap | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Ports ====== | ||
| + | * 8001 mailu 80 | ||
| + | * 8002 mailu 443 | ||
| + | |||
| + | |||
| ==== Securiser SSH ==== | ==== Securiser SSH ==== | ||
| Ligne 19: | Ligne 24: | ||
| | | ||
| ufw allow SSH | ufw allow SSH | ||
| + | ufw allow "WWW Full" | ||
| | | ||
| ufw enable | ufw enable | ||
| Ligne 31: | Ligne 37: | ||
| ufw allow from 100.100.100.100 to any port 5789 | ufw allow from 100.100.100.100 to any port 5789 | ||
| | | ||
| + | ==== Snapd ==== | ||
| + | install | ||
| + | sudo apt update | ||
| + | sudo apt install snapd | ||
| + | sudo snap install core | ||
| | | ||
| + | check | ||
| + | snap list | ||
| + | snap remove [snap_name] | ||
| + | |||
| + | ==== NGINX ==== | ||
| + | apt install nginx | ||
| + | |||
| + | LetxEncrypt | ||
| + | sudo snap install --classic certbot | ||
| + | sudo ln -s / | ||
| + | sudo snap set certbot trust-plugin-with-root=ok | ||
| + | sudo snap install certbot-dns-ovh | ||
| + | |||
| + | get ovh credential | ||
| + | |||
| + | sudo certbot certonly --dns-ovh --dns-ovh-credentials / | ||
| + | | ||
| + | | ||
| + | outils: | ||
| + | sudo certbot renew --dry-run | ||
| + | sudo certbot certificates | ||
| + | |||
| + | ==== Docker ==== | ||
| + | |||
| + | install: [[https:// | ||
| + | | ||
| + | ==== Mailu ==== | ||
| + | |||
| + | domaine principal mail.msp-roanne.fr | ||
| + | |||
| + | attention a la copie du cert dans opt mailu. | ||
| + | |||
| + | |||
| + | |||
linux/serveur_msp.1699690904.txt.gz · Dernière modification : 2023/11/11 09:21 de ptitfrap
