Centos7 php web开发服务启动项

来源:互联网 发布:手机淘宝我的个人尺码 编辑:程序博客网 时间:2024/06/10 10:47
1.nginx服务器使用命令:
systemctl start nginx.service
#启动nginx
systemctl stop nginx.service#停止
systemctl restart nginx.service#重启
systemctl enable nginx.service#设置开机启动

2.php-fpm服务使用:
systemctl start php-fpm.service#启动php-fpm
systemctl enablephp-fpm.service#设置开机启动

3.mysql服务使用:
systemctl start mariadb.service#启动MariaDB
systemctl stop mariadb.service#停止MariaDB
systemctl restart mariadb.service#重启MariaDB
systemctl enablemariadb.service#设置开机启动




原创粉丝点击