diff --git a/README.md b/README.md index 03f140dbc..443a1c4c3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -### mdserver-web 0.8.6 +### mdserver-web 0.9.0 简单的Linux面板,感谢BT.CN写出如此好的web管理软件。我一看到,就知道这是我一直想要的页面化管理方式。 复制了后台管理界面,按照自己想要的方式写了一版。 @@ -28,6 +28,7 @@ * OpenResty - 轻量级,占有内存少,并发能力强。 * PHP[52-81] - PHP是世界上最好的编程语言。 * MySQL - 一种关系数据库管理系统。 +* MariaDB - 是MySQL的一个重要分支。 * MongoDB - 一种非关系NOSQL数据库管理系统。 * phpMyAdmin - 著名Web端MySQL管理工具。 * Memcached - 一个高性能的分布式内存对象缓存系统。 @@ -56,11 +57,21 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443: ``` -### 版本更新 0.8.6 -* mysql主从配置。 -* swap插件[虚拟内存]。 +### 版本更新 0.9.0 +* 主流系统支持。 +* 插件支持更多参数。 +* MySQL主从支持GTID和经典模式。 +* MariaDB主从支持GTID和经典模式。 +* Rsyncd更新。 +* 添加网站统计的插件。 +* 添加varnish插件。 +* 添加PHP的APT安装方式[辅助插件]。 +* 添加PHP的YUM安装方式[辅助插件]。 +* 添加MYSQL的YUM安装方式[辅助插件]。 +* 各种bug修复。 -### jsdelivr [ 发布新版本生效 ] + +### JSDelivr安装地址 - 初始安装 @@ -68,43 +79,31 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443: 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使用 +### 备用地址 - 初始安装 ``` curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/install.sh | bash + ``` -- 脚本更新 +- 直接更新 ``` curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/update.sh | bash ``` -### GN使用 -- 初始安装 +### 通用软件安装[命令行安装] -``` -curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/install_cn.sh | bash -``` - -- 脚本更新 - -``` -curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/update_cn.sh | bash -``` - - - -### 通用软件安装 +- 需已经安装mdserver-web ``` curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/quick/app.sh | bash @@ -113,15 +112,8 @@ curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/qu ### DEV使用 -- 初始安装 - ``` curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install_dev.sh | bash -``` - -- 脚本更新 - -``` curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/update_dev.sh | bash ``` diff --git a/class/core/config_api.py b/class/core/config_api.py index 429b3346d..243e843d8 100755 --- a/class/core/config_api.py +++ b/class/core/config_api.py @@ -16,7 +16,7 @@ from flask import request class config_api: # mariadb 优化 - __version = '0.8.6.16' + __version = '0.9.0' def __init__(self): pass diff --git a/plugins/postgresql/index.py b/plugins/postgresql/index.py index 831f9e509..edb1dcdcb 100755 --- a/plugins/postgresql/index.py +++ b/plugins/postgresql/index.py @@ -708,7 +708,7 @@ def getDbList(): def syncGetDatabases(): pdb = pgDb() psdb = pSqliteDb('databases') - data = pdb.query('show databases') + data = pdb.query('SELECT * FROM pg_database WHERE datistemplate = false') print(data) return # isError = isSqlError(data)