2022-08-11 12:37:19 -04:00
|
|
|
### 常用命令说明
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 面板相关命令
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
/etc/init.d/mw default
|
|
|
|
|
|
|
|
|
|
service mw [start|stop|reload|restart|status]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- OpenResty
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] openresty
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- MySQL
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] mysql
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- MariaDB
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] mariadb
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- PHP
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] php[54-81]
|
2022-08-11 12:37:19 -04:00
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl start php71
|
2022-08-11 12:37:19 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- Redis
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] redis
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- Memcached
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] memcached
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- sphinx
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2022-09-09 23:07:33 -04:00
|
|
|
systemctl [start|stop|reload|restart|status] sphinx
|
2022-08-11 12:37:19 -04:00
|
|
|
|
|
|
|
|
```
|