From 8182a37067483f56f6e435dec342a3cc512a0fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Str=C3=A4ter?= Date: Mon, 12 Jul 2021 15:31:57 +0200 Subject: Fedora guide fix (#4238) * Fix peertube sudoer * Add vim to Fedora packages installation * Add oidentd to Fedora packages installation * Enable and start the ident daemon * Add nginx configuration * Add future symbolic link for nginx config * Add small change for Gentoo --- support/doc/dependencies.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'support') diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index f1df49577..798e05136 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -188,12 +188,20 @@ This is necessary because `ffmpeg` is not in the Fedora repos. 7. Run: ``` -sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git +sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim oidentd ffmpeg -version # Should be >= 4.1 g++ -v # Should be >= 5.x ``` -8. Post-installation +8. Configure nginx + +``` +sudo mkdir /etc/nginx/sites-available +sudo mkdir /etc/nginx/sites-enabled +sudo ln -s /etc/nginx/sites-enabled/peertube /etc/nginx/conf.d/peertube.conf +``` + +9. Post-installation _from [PostgreSQL documentation](https://www.postgresql.org/download/linux/redhat/):_ > Due to policies for Red Hat family distributions, the PostgreSQL installation will not be enabled for automatic start or have the database initialized automatically. @@ -209,9 +217,12 @@ sudo systemctl start nginx.service # Redis sudo systemctl enable redis.service sudo systemctl start redis.service +# oidentd +sudo systemctl enable oidentd.service +sudo systemctl start oidentd.service ``` -9. Firewall +10. Firewall By default, you cannot access your server via public IP. To do so, you must configure firewall: @@ -226,7 +237,7 @@ sudo firewall-cmd --permanent --zone=public --add-service=https sudo firewall-cmd --reload ``` -10. Configure max ports +11. Configure max ports This is necessary if you are running dev setup, otherwise you will have errors with `nodemon` @@ -321,7 +332,7 @@ dev-db/postgresql dev-db/redis dev-vcs/git app-arch/unzip -dev-lang/python:2.7 +dev-lang/python www-servers/nginx # Optional, client for Let’s Encrypt: -- cgit v1.2.3