centos7重启apache、nginx、mysql、php-fpm命令
2 票
一、apache
1 启动:
systemctl start httpd
2 停止:
systemctl stop httpd
3 重启:
systemctl restart httpd
service httpd restart
二、mysql
1 启动:
systemctl start mysqld
2 停止:
systemctl stop mysqld
3 重启:
systemctl restart mysqld
systemctl restart mariadb
三、php-fpm
1 启动:
systemctl start php-fpm
2 停止:
systemctl stop php-fpm
3 重启:
systemctl restart php-fpm
四、nginx
1 启动:
systemctl start nginx
2 停止:
systemctl stop nginx
3 重启:
systemctl restart nginx
共有 0 条评论