aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorFrank Sträter <frankstrater@gmail.com>2021-07-12 15:31:57 +0200
committerGitHub <noreply@github.com>2021-07-12 15:31:57 +0200
commit8182a37067483f56f6e435dec342a3cc512a0fb2 (patch)
treea588e26fe05d8fd3b8e85e576eb0a6c010f17e76 /support/doc
parent05287a2e362416e3ad9b9aa0b58df36a2da62080 (diff)
downloadPeerTube-8182a37067483f56f6e435dec342a3cc512a0fb2.tar.gz
PeerTube-8182a37067483f56f6e435dec342a3cc512a0fb2.tar.zst
PeerTube-8182a37067483f56f6e435dec342a3cc512a0fb2.zip
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
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/dependencies.md21
1 files changed, 16 insertions, 5 deletions
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.
1887. Run: 1887. Run:
189 189
190``` 190```
191sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git 191sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim oidentd
192ffmpeg -version # Should be >= 4.1 192ffmpeg -version # Should be >= 4.1
193g++ -v # Should be >= 5.x 193g++ -v # Should be >= 5.x
194``` 194```
195 195
1968. Post-installation 1968. Configure nginx
197
198```
199sudo mkdir /etc/nginx/sites-available
200sudo mkdir /etc/nginx/sites-enabled
201sudo ln -s /etc/nginx/sites-enabled/peertube /etc/nginx/conf.d/peertube.conf
202```
203
2049. Post-installation
197 205
198_from [PostgreSQL documentation](https://www.postgresql.org/download/linux/redhat/):_ 206_from [PostgreSQL documentation](https://www.postgresql.org/download/linux/redhat/):_
199> Due to policies for Red Hat family distributions, the PostgreSQL installation will not be enabled for automatic start or have the database initialized automatically. 207> 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
209# Redis 217# Redis
210sudo systemctl enable redis.service 218sudo systemctl enable redis.service
211sudo systemctl start redis.service 219sudo systemctl start redis.service
220# oidentd
221sudo systemctl enable oidentd.service
222sudo systemctl start oidentd.service
212``` 223```
213 224
2149. Firewall 22510. Firewall
215 226
216By default, you cannot access your server via public IP. To do so, you must configure firewall: 227By default, you cannot access your server via public IP. To do so, you must configure firewall:
217 228
@@ -226,7 +237,7 @@ sudo firewall-cmd --permanent --zone=public --add-service=https
226sudo firewall-cmd --reload 237sudo firewall-cmd --reload
227``` 238```
228 239
22910. Configure max ports 24011. Configure max ports
230 241
231This is necessary if you are running dev setup, otherwise you will have errors with `nodemon` 242This is necessary if you are running dev setup, otherwise you will have errors with `nodemon`
232 243
@@ -321,7 +332,7 @@ dev-db/postgresql
321dev-db/redis 332dev-db/redis
322dev-vcs/git 333dev-vcs/git
323app-arch/unzip 334app-arch/unzip
324dev-lang/python:2.7 335dev-lang/python
325www-servers/nginx 336www-servers/nginx
326 337
327# Optional, client for Let’s Encrypt: 338# Optional, client for Let’s Encrypt: