pull/149/head
midoks 3 years ago
parent 426c2b68ec
commit e82efcf93d
  1. 15
      README.md
  2. 5
      scripts/update.sh

@ -11,6 +11,8 @@
[![Wiki](https://img.shields.io/badge/MW-Wiki-red?style=for-the-badge&logo=wiki)](https://github.com/midoks/mdserver-web/wiki) [![Wiki](https://img.shields.io/badge/MW-Wiki-red?style=for-the-badge&logo=wiki)](https://github.com/midoks/mdserver-web/wiki)
[![](https://data.jsdelivr.com/v1/package/gh/midoks/mdserver-web/badge)](https://www.jsdelivr.com/package/gh/midoks/mdserver-web)
* SSH终端工具 * SSH终端工具
* 面板收藏功能 * 面板收藏功能
* 网站子目录绑定 * 网站子目录绑定
@ -59,6 +61,19 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443:
* mysql主从配置。 * mysql主从配置。
* swap插件[虚拟内存]。 * 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使用 ### GW使用

@ -47,7 +47,12 @@ else
fi fi
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 wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master
fi
cd /tmp && unzip /tmp/master.zip cd /tmp && unzip /tmp/master.zip

Loading…
Cancel
Save