mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -9,8 +9,6 @@ serverPath=$(dirname "$rootPath")
|
||||
|
||||
# cd /www/server/mdserver-web/plugins/postgresql && bash install.sh install 16
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
action=$1
|
||||
type=$2
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
postgreDir=${serverPath}/source/postgresql
|
||||
|
||||
VERSION=14.12
|
||||
@@ -20,7 +19,7 @@ VERSION=14.12
|
||||
Install_App()
|
||||
{
|
||||
mkdir -p ${postgreDir}
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
echo '正在安装脚本文件...'
|
||||
|
||||
if id postgres &> /dev/null ;then
|
||||
echo "postgres uid is `id -u postgres`"
|
||||
|
||||
@@ -10,9 +10,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
postgreDir=${serverPath}/source/postgresql
|
||||
|
||||
VERSION=15.7
|
||||
|
||||
# su - postgres -c "/www/server/postgresql/bin/pg_ctl start -D /www/server/postgresql/data"
|
||||
@@ -20,7 +18,7 @@ VERSION=15.7
|
||||
Install_App()
|
||||
{
|
||||
mkdir -p ${postgreDir}
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
echo '正在安装脚本文件...'
|
||||
|
||||
if id postgres &> /dev/null ;then
|
||||
echo "postgres uid is `id -u postgres`"
|
||||
|
||||
@@ -10,7 +10,6 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
postgreDir=${serverPath}/source/postgresql
|
||||
|
||||
VERSION=16.4
|
||||
@@ -20,7 +19,7 @@ VERSION=16.4
|
||||
Install_App()
|
||||
{
|
||||
mkdir -p ${postgreDir}
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
echo '正在安装脚本文件...'
|
||||
|
||||
if id postgres &> /dev/null ;then
|
||||
echo "postgres uid is `id -u postgres`"
|
||||
|
||||
@@ -10,7 +10,6 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
postgreDir=${serverPath}/source/postgresql
|
||||
|
||||
VERSION=17.2
|
||||
@@ -20,7 +19,7 @@ VERSION=17.2
|
||||
Install_App()
|
||||
{
|
||||
mkdir -p ${postgreDir}
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
echo '正在安装脚本文件...'
|
||||
|
||||
if id postgres &> /dev/null ;then
|
||||
echo "postgres uid is `id -u postgres`"
|
||||
|
||||
Reference in New Issue
Block a user