安装OneinStack,在实际使用过程中,有时候需要重启某一项的服务,当然最省事的就是直接reboot的VPS,但是有点儿太简单粗暴了,所以这里就把各个服务常用的管理命令整理汇总一下。
1、Nginx管理命令。
查看Nginx状态:service nginx status
重启Nginx命令:service nginx restart
停止Nginx命令:service nginx stop
2、PHP管理命令
查看PHP状态:service php-fpm status
重启PHP命令:service php-fpm restart
停止PHP命令:service php-fpm stop
3、MySQL管理命令。
查看MySQL状态:service mysqld status
重启MySQL命令:service mysqld restart
停止MySQL命令:service mysqld stop
4、OneinStack常用命令
OneinStack升级命令:~/oneinstack/upgrade.sh
OneinStack卸载命令:~/oneinstack/uninstall.sh
更多的使用命令可以去官方网站查看:https://oneinstack.com/install/
What's up to every , for the reason that I am actually eager of reading this web site's post to be
updated regularly. It carries pleasant information.