====== Peertube : installation ====== ===== Prérequis serveur ===== Pour une configuration vec 2 vCore, 2GB de RAM et de utilisateurs ((https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube)) : * CPU -> nginx ~ 20%, peertube ~ 10%, postgres ~ 1%, redis ~ 3% * RAM -> nginx ~ 6MB, peertube ~ 120MB, postgres ~ 10MB, redis ~ 5MB Donc, il faut au moins : * CPU : 1 core sans transcoding, et au moins 2 si l'option est activée * RAM : 1GB * Espace disque : dépends de la quantité de vidéo hébergée ===== Préparation ===== $ sudo apt-get install curl sudo unzip vim {{page>informatique:langage:bash:commandes:ssh}} {{page>informatique:langage:bash:commandes:sudo}} ===== Redéfinir les locales ===== $ sudo apt-get install certbot python-certbot-nginx ===== Installer CertBot ===== $ sudo apt-get install certbot python-certbot-nginx sudo certbot --nginx --register-unsafely-without-email