This commit is contained in:
Mr Chen
2024-11-30 21:44:09 +08:00
parent 97829cd944
commit 9915ed35d0
124 changed files with 170 additions and 325 deletions
-2
View File
@@ -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
+1 -2
View File
@@ -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`"
+1 -3
View File
@@ -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`"
+1 -2
View File
@@ -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`"
+1 -2
View File
@@ -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`"