Guangming Zhou 4 роки тому
батько
коміт
1805dd7c8d
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      centos/resources/finish.sh
  2. 1 1
      centos/resources/postgresql.sh

+ 1 - 1
centos/resources/finish.sh

@@ -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
 
 

+ 1 - 1
centos/resources/postgresql.sh

@@ -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