This commit is contained in:
parent
426c2b68ec
commit
e82efcf93d
15
README.md
15
README.md
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
[](https://github.com/midoks/mdserver-web/wiki)
|
||||
|
||||
[](https://www.jsdelivr.com/package/gh/midoks/mdserver-web)
|
||||
|
||||
* SSH终端工具
|
||||
* 面板收藏功能
|
||||
* 网站子目录绑定
|
||||
|
|
@ -59,6 +61,19 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443:
|
|||
* mysql主从配置。
|
||||
* swap插件[虚拟内存]。
|
||||
|
||||
### jsdelivr [ 发布新版本生效 ]
|
||||
|
||||
- 初始安装
|
||||
|
||||
```
|
||||
curl -fsSL https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/scripts/install.sh | bash
|
||||
```
|
||||
|
||||
- 更新
|
||||
|
||||
```
|
||||
curl -fsSL https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/scripts/update.sh | bash
|
||||
```
|
||||
|
||||
### GW使用
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,12 @@ else
|
|||
fi
|
||||
|
||||
|
||||
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master
|
||||
cn=$(curl -fsSL -m 10 http://ipinfo.io/json | grep "\"country\": \"CN\"")
|
||||
if [ ! -z "$cn" ];then
|
||||
wget -O /tmp/master.zip https://gitee.com/midoks/mdserver-web/repository/archive/master.zip
|
||||
else
|
||||
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master
|
||||
fi
|
||||
|
||||
|
||||
cd /tmp && unzip /tmp/master.zip
|
||||
|
|
|
|||
Loading…
Reference in New Issue