Centos 7 启动LAMP || LNMP环境
- Apache
123456// 启动systemctl start httpd// 停止systemctl stop httpd// 重启systemctl restart httpd - Nginx
123456// 启动systemctl start nginx// 停止systemctl stop nginx// 重启systemctl restart nginx
- MySQL
123456// 启动systemctl start mysqld// 停止systemctl stop mysqld// 重启systemctl restart mysqld - PHP
123456// 启动systemctl start php-fpm// 停止systemctl stop php-fpm// 重启systemctl restart php-fpm - 开机自启
12chkconfig httpd onchkconfig mysqld on

原创文章,作者:calvin chan,如若转载,请注明出处:https://www.calvinyuki.com/1271.html