Files
varlog/929900a9-85b5-4e89-8045-6c361621b221/index.md
T
2026-05-15 10:37:48 +02:00

25 lines
815 B
Markdown

# Peertube : installation
## Prérequis serveur
Pour une configuration vec 2 vCore, 2GB de RAM et de utilisateurs [^note: 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
## 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