diff options
author | Frank Sträter <frankstrater@gmail.com> | 2021-07-12 15:31:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 15:31:57 +0200 |
commit | 8182a37067483f56f6e435dec342a3cc512a0fb2 (patch) | |
tree | a588e26fe05d8fd3b8e85e576eb0a6c010f17e76 /support/doc/dependencies.md | |
parent | 05287a2e362416e3ad9b9aa0b58df36a2da62080 (diff) | |
download | PeerTube-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/dependencies.md')
-rw-r--r-- | support/doc/dependencies.md | 21 |
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. | |||
188 | 7. Run: | 188 | 7. Run: |
189 | 189 | ||
190 | ``` | 190 | ``` |
191 | sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git | 191 | sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim oidentd |
192 | ffmpeg -version # Should be >= 4.1 | 192 | ffmpeg -version # Should be >= 4.1 |
193 | g++ -v # Should be >= 5.x | 193 | g++ -v # Should be >= 5.x |
194 | ``` | 194 | ``` |
195 | 195 | ||
196 | 8. Post-installation | 196 | 8. Configure nginx |
197 | |||
198 | ``` | ||
199 | sudo mkdir /etc/nginx/sites-available | ||
200 | sudo mkdir /etc/nginx/sites-enabled | ||
201 | sudo ln -s /etc/nginx/sites-enabled/peertube /etc/nginx/conf.d/peertube.conf | ||
202 | ``` | ||
203 | |||
204 | 9. 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 |
210 | sudo systemctl enable redis.service | 218 | sudo systemctl enable redis.service |
211 | sudo systemctl start redis.service | 219 | sudo systemctl start redis.service |
220 | # oidentd | ||
221 | sudo systemctl enable oidentd.service | ||
222 | sudo systemctl start oidentd.service | ||
212 | ``` | 223 | ``` |
213 | 224 | ||
214 | 9. Firewall | 225 | 10. Firewall |
215 | 226 | ||
216 | By default, you cannot access your server via public IP. To do so, you must configure firewall: | 227 | By 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 | |||
226 | sudo firewall-cmd --reload | 237 | sudo firewall-cmd --reload |
227 | ``` | 238 | ``` |
228 | 239 | ||
229 | 10. Configure max ports | 240 | 11. Configure max ports |
230 | 241 | ||
231 | This is necessary if you are running dev setup, otherwise you will have errors with `nodemon` | 242 | This is necessary if you are running dev setup, otherwise you will have errors with `nodemon` |
232 | 243 | ||
@@ -321,7 +332,7 @@ dev-db/postgresql | |||
321 | dev-db/redis | 332 | dev-db/redis |
322 | dev-vcs/git | 333 | dev-vcs/git |
323 | app-arch/unzip | 334 | app-arch/unzip |
324 | dev-lang/python:2.7 | 335 | dev-lang/python |
325 | www-servers/nginx | 336 | www-servers/nginx |
326 | 337 | ||
327 | # Optional, client for Let’s Encrypt: | 338 | # Optional, client for Let’s Encrypt: |