Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mdserver-web/cmd.md

82 lines
1.1 KiB

### 常用命令说明
- 面板相关命令
```
2 years ago
/etc/init.d/mw default | 显示登录信息
12 months ago
/etc/init.d/mw db | 快捷连接MySQL
/etc/init.d/mw redis | 快捷连接Redis
9 months ago
/etc/init.d/mw mongodb | 快捷连接MongoDB
2 years ago
----------------------------------------
1 year ago
mw open | 开启面板
mw close | 关闭面板
2 years ago
2 years ago
mw debug | 开发测试
1 year ago
mw venv | 进入虚拟环境
2 years ago
mw mirror | 切换镜像
2 years ago
mw install_app | 快捷安装常用软件
2 years ago
mw update | 更新到正式
2 years ago
mw update_dev | 更新到开发
service mw [start|stop|reload|restart|status]
```
- OpenResty
```
3 years ago
systemctl [start|stop|reload|restart|status] openresty
```
- MySQL
```
3 years ago
systemctl [start|stop|reload|restart|status] mysql
```
- MariaDB
```
3 years ago
systemctl [start|stop|reload|restart|status] mariadb
```
- PHP
```
3 years ago
systemctl [start|stop|reload|restart|status] php[54-81]
3 years ago
systemctl start php71
```
- Redis
```
3 years ago
systemctl [start|stop|reload|restart|status] redis
```
- Memcached
```
3 years ago
systemctl [start|stop|reload|restart|status] memcached
```
- sphinx
```
3 years ago
systemctl [start|stop|reload|restart|status] sphinx
```