Changing installation documentation

Hello, I didn’t understand how to add it to the documentation (or suggest it), so I’ll write it here. Installing PeerTube using the classic method, 100 out of 100 times on Ubuntu 24.04 ends with Nginx errors: no access to PeerTube folders. This happens on different hostings and with Debian 12. This is solved

sudo chmod -R 775 /var/www/peertube 

Redis also has a memory limit warning, solution

echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

I would add these 2 solutions at the very end of the installation, for example

sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ && sudo nano /etc/systemd/system/peertube.service && sudo systemctl daemon-reload && sudo systemctl enable peertube && sudo systemctl start peertube && sudo chmod -R 775 /var/www/peertube && echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf

I would also add an update to Postgress to the latest version, I would add it at the very beginning of the installation(not required, but recommended)

sudo apt install lsb-release wget gnupg && echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/pgdg.gpg > /dev/null

This is due to the fact that I received serialization errors on various versions of Postgress, in addition, they are outdated.

Thank you for your attention