diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/dependencies.md | 11 |
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 | |||
101 | 6. Initialize the PostgreSQL database: | 101 | 6. Initialize the PostgreSQL database: |
102 | 102 | ||
103 | ``` | 103 | ``` |
104 | sudo postgresql-setup initdb | 104 | sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql |
105 | ``` | 105 | ``` |
106 | 106 | ||
107 | Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis: | 107 | Now 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 | |||
141 | 6. Initialize the PostgreSQL database: | 141 | 6. Initialize the PostgreSQL database: |
142 | 142 | ||
143 | ``` | 143 | ``` |
144 | sudo postgresql-setup initdb | 144 | sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql |
145 | ``` | 145 | ``` |
146 | 146 | ||
147 | Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis: | 147 | Now 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. | |||
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 vim oidentd | 191 | sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim |
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 | ``` |
@@ -208,7 +208,7 @@ _from [PostgreSQL documentation](https://www.postgresql.org/download/linux/redha | |||
208 | 208 | ||
209 | ``` | 209 | ``` |
210 | # PostgreSQL | 210 | # PostgreSQL |
211 | sudo postgresql-setup initdb | 211 | sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql |
212 | sudo systemctl enable postgresql.service | 212 | sudo systemctl enable postgresql.service |
213 | sudo systemctl start postgresql.service | 213 | sudo systemctl start postgresql.service |
214 | # Nginx | 214 | # Nginx |
@@ -217,9 +217,6 @@ sudo systemctl start nginx.service | |||
217 | # Redis | 217 | # Redis |
218 | sudo systemctl enable redis.service | 218 | sudo systemctl enable redis.service |
219 | 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 | ||
223 | ``` | 220 | ``` |
224 | 221 | ||
225 | 10. Firewall | 222 | 10. Firewall |