aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--support/doc/dependencies.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index cb344d2d7..8ea0c047d 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -101,7 +101,7 @@ sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtool
1016. Initialize the PostgreSQL database: 1016. Initialize the PostgreSQL database:
102 102
103``` 103```
104sudo postgresql-setup initdb 104sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql
105``` 105```
106 106
107Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis: 107Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis:
@@ -141,7 +141,7 @@ sudo ln -s /usr/bin/python3 /usr/bin/python
1416. Initialize the PostgreSQL database: 1416. Initialize the PostgreSQL database:
142 142
143``` 143```
144sudo postgresql-setup initdb 144sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql
145``` 145```
146 146
147Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis: 147Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis:
@@ -188,7 +188,7 @@ 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 vim oidentd 191sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim
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```
@@ -208,7 +208,7 @@ _from [PostgreSQL documentation](https://www.postgresql.org/download/linux/redha
208 208
209``` 209```
210# PostgreSQL 210# PostgreSQL
211sudo postgresql-setup initdb 211sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql
212sudo systemctl enable postgresql.service 212sudo systemctl enable postgresql.service
213sudo systemctl start postgresql.service 213sudo systemctl start postgresql.service
214# Nginx 214# Nginx
@@ -217,9 +217,6 @@ sudo systemctl start nginx.service
217# Redis 217# Redis
218sudo systemctl enable redis.service 218sudo systemctl enable redis.service
219sudo systemctl start redis.service 219sudo systemctl start redis.service
220# oidentd
221sudo systemctl enable oidentd.service
222sudo systemctl start oidentd.service
223``` 220```
224 221
22510. Firewall 22210. Firewall