mirror of https://github.com/midoks/mdserver-web
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.
69 lines
666 B
69 lines
666 B
3 years ago
|
### 常用命令说明
|
||
|
|
||
|
|
||
|
- 面板相关命令
|
||
|
|
||
|
```
|
||
|
/etc/init.d/mw default
|
||
|
|
||
|
service mw [start|stop|reload|restart|status]
|
||
|
```
|
||
|
|
||
|
- OpenResty
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] openresty
|
||
|
|
||
|
```
|
||
|
|
||
|
- MySQL
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] mysql
|
||
|
|
||
|
```
|
||
|
|
||
|
- MariaDB
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] mariadb
|
||
|
|
||
|
```
|
||
|
|
||
|
- PHP
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] php[54-81]
|
||
|
|
||
|
sytemctl start php71
|
||
|
```
|
||
|
|
||
|
- Redis
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] redis
|
||
|
|
||
|
```
|
||
|
|
||
|
- Memcached
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] memcached
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
- sphinx
|
||
|
|
||
|
```
|
||
|
|
||
|
sytemctl [start|stop|reload|restart|status] sphinx
|
||
|
|
||
|
```
|