mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
forgot to restart postgres; more exact match on sed
This commit is contained in:
parent
e55c767f50
commit
98095b39bd
@ -125,13 +125,14 @@ In the prompt:
|
||||
|
||||
Under Ubuntu 16.04, you will need to explicitly enable ident authentication so that local users can connect to the database without a password:
|
||||
|
||||
sudo sed -i '/peer$/a host all all 127.0.0.1/32 ident' /etc/postgresql/9.?/main/pg_hba.conf
|
||||
sudo sed -i '/^local.*postgres.*peer$/a host all all 127.0.0.1/32 ident' /etc/postgresql/9.?/main/pg_hba.conf
|
||||
|
||||
and install an ident daemon, which does not come installed by default:
|
||||
|
||||
sudo apt-get install pidentd
|
||||
sudo systemctl enable pidentd
|
||||
sudo systemctl start pidentd
|
||||
sudo systemctl restart postgresql
|
||||
|
||||
## Rbenv
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user