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
This commit is contained in:
parent
05287a2e36
commit
8182a37067
1 changed files with 16 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue