Add info about IP of postgres
This commit is contained in:
parent
fbeefcc011
commit
02cdf57a2b
1 changed files with 4 additions and 2 deletions
|
@ -19,9 +19,11 @@ Open postgresql port on Synology
|
||||||
|
|
||||||
Taken from https://www.youtube.com/watch?v=MqJuKu38BsA
|
Taken from https://www.youtube.com/watch?v=MqJuKu38BsA
|
||||||
|
|
||||||
|
x.x.x.x should be your IP where the script runs
|
||||||
|
|
||||||
```
|
```
|
||||||
echo "host all all 192.168.1.1/24 trust" >> /etc/postgresql/pg_hba.conf
|
echo "host all all x.x.x.x/24 trust" >> /etc/postgresql/pg_hba.conf
|
||||||
sed -i /listen_addresses = '127.0.0.1'/listen_addresses = '*'/ /etc/pastgresql/postgresql.conf
|
sed -i /listen_addresses = '127.0.0.1'/listen_addresses = '*'/ /etc/postgresql/postgresql.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue