This commit is contained in:
Mr Chen
2019-03-12 16:28:48 +08:00
parent 400ea68cc9
commit db451b630c
22 changed files with 48 additions and 38 deletions
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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()
{
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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
+20 -17
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+1 -1
View File
@@ -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()
{
+1 -1
View File
@@ -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()
{
+1 -1
View File
@@ -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()
{
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()