aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorFrank Sträter <frankstrater@gmail.com>2021-07-16 15:39:09 +0200
committerGitHub <noreply@github.com>2021-07-16 15:39:09 +0200
commit39072b2f6ae04d2037ef2cb678ce9c352a370278 (patch)
treef3b9e5363f457705586da49a7d6a2c16622afce0 /support
parenta3f45a2ab3cadf0946f06a0539993b828becd516 (diff)
downloadPeerTube-39072b2f6ae04d2037ef2cb678ce9c352a370278.tar.gz
PeerTube-39072b2f6ae04d2037ef2cb678ce9c352a370278.tar.zst
PeerTube-39072b2f6ae04d2037ef2cb678ce9c352a370278.zip
Postgresql-setup init option for auth-host (#4253)
* Set postgresql password authentication for host * Update postgresql-setup obsoleted argument syntax for initdb
Diffstat (limited to 'support')
-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