mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:19:25 +08:00
Compare commits
10
Commits
0.15.2
...
midoks-patch-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59a2765b2f | ||
|
|
612c104cca | ||
|
|
550ca7681a | ||
|
|
6a09706362 | ||
|
|
ca040e8986 | ||
|
|
6fcc980d5d | ||
|
|
b69adc9c7d | ||
|
|
67da343705 | ||
|
|
4b47e27a54 | ||
|
|
fba3ddc9a5 |
@@ -88,7 +88,6 @@ PHP[72-82]支持phpMyAdmin[5.2.0]
|
||||
| 服务商 | LOGO | 推广地址 | 优惠码 |
|
||||
| ------------- |----------|-----------|-------|
|
||||
| digitalvirt |[](https://digitalvirt.com/aff.php?aff=154) | https://digitalvirt.com/aff.php?aff=154 | mdserver-web |
|
||||
| mvirtua |[](https://mvirtua.com/aff/FUSKXVDH) | https://mvirtua.com/aff/FUSKXVDH | mdserver-web (全场8折)|
|
||||
|
||||
# Docker
|
||||
|
||||
|
||||
@@ -13,19 +13,29 @@ rootPath=$(dirname "$rootPath")
|
||||
SERVER_ROOT=$rootPath/lib
|
||||
SOURCE_ROOT=$rootPath/source/lib
|
||||
|
||||
|
||||
cn=$(curl -fsSL -m 10 http://ipinfo.io/json | grep "\"country\": \"CN\"")
|
||||
HTTP_PREFIX="https://"
|
||||
if [ ! -z "$cn" ];then
|
||||
HTTP_PREFIX="https://ghproxy.com/"
|
||||
fi
|
||||
|
||||
if [ ! -d ${SERVER_ROOT}/libzip ];then
|
||||
|
||||
cd $SOURCE_ROOT
|
||||
if [ ! -f ${SOURCE_ROOT}/libzip-1.3.2.tar.gz ];then
|
||||
wget --no-check-certificate -O libzip-1.3.2.tar.gz --no-check-certificate https://nih.at/libzip/libzip-1.3.2.tar.gz -T 20
|
||||
wget --no-check-certificate -O libzip-1.3.2.tar.gz ${HTTP_PREFIX}github.com/midoks/mdserver-web/releases/download/init/libzip-1.3.2.tar.gz -T 20
|
||||
fi
|
||||
|
||||
tar -zxvf libzip-1.3.2.tar.gz
|
||||
cd libzip-1.3.2
|
||||
cd ${SOURCE_ROOT}/libzip-1.3.2
|
||||
|
||||
./configure --prefix=${SERVER_ROOT}/libzip && make && make install
|
||||
|
||||
#cd $SOURCE_ROOT
|
||||
#rm -rf libzip-1.3.2
|
||||
#rm -rf libzip-1.3.2.tar.gz
|
||||
|
||||
if [ "$?" == "0" ];then
|
||||
rm -rf ${SOURCE_ROOT}/libzip-1.3.2
|
||||
rm -rf ${SOURCE_ROOT}/libzip-1.3.2.tar.gz
|
||||
fi
|
||||
|
||||
fi
|
||||
@@ -124,7 +124,7 @@ fi
|
||||
|
||||
if [ ! -d $serverPath/php/${PHP_VER} ];then
|
||||
cd $sourcePath/php/php${PHP_VER} && make clean
|
||||
./buildconf --force
|
||||
# ./buildconf --force
|
||||
./configure \
|
||||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
|
||||
Reference in New Issue
Block a user