forked from norman/fusionpbx-install.sh-github-mirror
Fix PostgreSQL version (#364)
This commit is contained in:
@@ -113,7 +113,7 @@ systemctl enable php-fpm
|
|||||||
systemctl enable nginx
|
systemctl enable nginx
|
||||||
systemctl enable freeswitch
|
systemctl enable freeswitch
|
||||||
systemctl enable memcached
|
systemctl enable memcached
|
||||||
systemctl enable postgresql-9.4
|
systemctl enable postgresql-9.6
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart freeswitch
|
systemctl restart freeswitch
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ yum -y install postgresql96-server postgresql96-contrib postgresql96 postgresql9
|
|||||||
verbose "Initalize PostgreSQL database"
|
verbose "Initalize PostgreSQL database"
|
||||||
|
|
||||||
#initialize the database
|
#initialize the database
|
||||||
/usr/pgsql-9.4/bin/postgresql96-setup initdb
|
/usr/pgsql-9.6/bin/postgresql96-setup initdb
|
||||||
|
|
||||||
#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/9.6/data/pg_hba.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user