A few more updates change 9.6 to 14

This commit is contained in:
FusionPBX 2021-10-06 18:03:48 -06:00 committed by GitHub
parent f4b4f09943
commit 2fff460632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ sudo systemctl enable postgresql-14
sudo systemctl start postgresql-14 sudo systemctl start postgresql-14
#allow loopback #allow loopback
sed -i 's/\(host *all *all *127.0.0.1\/32 *\)ident/\1md5/' /var/lib/pgsql/9.6/data/pg_hba.conf sed -i 's/\(host *all *all *127.0.0.1\/32 *\)ident/\1md5/' /var/lib/pgsql/14/data/pg_hba.conf
sed -i 's/\(host *all *all *::1\/128 *\)ident/\1md5/' /var/lib/pgsql/9.6/data/pg_hba.conf sed -i 's/\(host *all *all *::1\/128 *\)ident/\1md5/' /var/lib/pgsql/14/data/pg_hba.conf
#systemd #systemd
systemctl daemon-reload systemctl daemon-reload
@ -53,4 +53,4 @@ sudo -u postgres /usr/bin/psql -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch t
cd $cwd cd $cwd
#send a message #send a message
verbose "PostgreSQL 9.6 installed" verbose "PostgreSQL installed"