mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
update
This commit is contained in:
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
CSVN_SOURCE='https://github.com/midoks/mdserver-web/releases/download/init/CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.xz'
|
||||
|
||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
Install_gae()
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
GOGS_DOWNLOAD='https://dl.gogs.io'
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
Install_mem()
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
action=$1
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
openrestyDir=${serverPath}/source/openresty
|
||||
|
||||
Install_openresty()
|
||||
|
||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
openrestyDir=${serverPath}/source/openresty
|
||||
|
||||
|
||||
@@ -8,13 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
# echo ${serverPath}
|
||||
# echo ${install_tmp}
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
Install_php()
|
||||
{
|
||||
@@ -48,23 +42,31 @@ fi
|
||||
|
||||
#
|
||||
# --without-iconv=$serverPath/lib/libiconv \
|
||||
|
||||
#--enable-pcntl \
|
||||
#--enable-bcmath \
|
||||
#--enable-hash \
|
||||
#--enable-libxml \
|
||||
#--enable-dom \
|
||||
#--enable-filter \
|
||||
#--enable-fileinfo \
|
||||
#--enable-xml \
|
||||
#--enable-intl \
|
||||
#--enable-exif \
|
||||
#--enable-ftp \
|
||||
#--enable-wddx \
|
||||
#--enable-soap \
|
||||
#--enable-posix \
|
||||
# --with-zlib-dir=$serverPath/lib/zlib \
|
||||
# --enable-zip \
|
||||
cd $sourcePath/php/php-5.3.29 && ./configure \
|
||||
--prefix=$serverPath/php/53 \
|
||||
--exec-prefix=$serverPath/php/53 \
|
||||
--with-config-file-path=$serverPath/php/53/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--without-iconv \
|
||||
--enable-zip \
|
||||
--enable-sockets \
|
||||
--enable-mbstring \
|
||||
--enable-xml \
|
||||
--enable-intl \
|
||||
--enable-exif \
|
||||
--enable-ftp \
|
||||
--enable-wddx \
|
||||
--enable-soap \
|
||||
--enable-posix \
|
||||
--enable-mysqlnd \
|
||||
--enable-sysvmsg \
|
||||
--enable-sysvsem \
|
||||
--enable-sysvshm \
|
||||
@@ -87,6 +89,7 @@ fi
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php53 stop
|
||||
rm -rf $serverPath/php/53
|
||||
echo "卸载php-5.3.29 ..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
@@ -57,6 +57,7 @@ cd $sourcePath/php/php-5.4.45 && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php54 stop
|
||||
rm -rf $serverPath/php/54
|
||||
echo "卸载php-5.4.45 ..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
@@ -59,6 +59,7 @@ cd $sourcePath/php/php-5.5.38 && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php55 stop
|
||||
rm -rf $serverPath/php/55
|
||||
echo "卸载php-5.5.38 ..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
@@ -65,6 +65,7 @@ cd $sourcePath/php/php-5.6.36 && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php56 stop
|
||||
rm -rf $serverPath/php/56
|
||||
echo "卸载php-5.6.36 ..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
@@ -60,6 +60,7 @@ cd $sourcePath/php/php-7.0.30 && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php70 stop
|
||||
rm -rf $serverPath/php/70
|
||||
echo "卸载php-7.0.30 ..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
# echo $curPath
|
||||
# echo ${1}
|
||||
@@ -58,6 +58,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php71 stop
|
||||
rm -rf $serverPath/php/71
|
||||
echo "卸载php-${version}..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
version=7.2.16
|
||||
@@ -54,6 +54,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php72 stop
|
||||
rm -rf $serverPath/php/72
|
||||
echo "卸载php-${version}..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
version=7.3.3
|
||||
@@ -54,6 +54,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
||||
|
||||
Uninstall_php()
|
||||
{
|
||||
$serverPath/php/init.d/php73 stop
|
||||
rm -rf $serverPath/php/73
|
||||
echo "卸载php-${version}..." > $install_tmp
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
Install_phpmyadmin()
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
Install_pm2()
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
Install_pureftp()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
Install_redis()
|
||||
|
||||
@@ -9,7 +9,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
Install_rsyncd()
|
||||
{
|
||||
echo '正在安装脚本文件...' > $install_tmp
|
||||
|
||||
@@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
yum install -y postgresql-libs unixODBC
|
||||
|
||||
@@ -9,7 +9,7 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/bt_install.pl
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
||||
Install_webssh()
|
||||
|
||||
Reference in New Issue
Block a user