启动PHP服务 1.启动 systemctl start PHP-fpm.service Apache服务 1. 启动、终止、重启 systemctl start Httpd.service #启动 systemctl stop httpd
启动PHP服务
1.启动
systemctl start PHP-fpm.service
systemctl start Httpd.service #启动
systemctl stop httpd.service #停止
systemctl restart httpd.service #重启
systemctl enable httpd.service #开机启动
systemctl disable httpd.service #开机不启动
systemctl list-unit-files | grep httpd # 检查Apache是否已经安装了开机自动启动
显示以下内容即已成功设置:
systemctl status httpd.service #检查状态
MariaDB数据库
systemctl status mariadb.service
MQTT服务器
1.启动MQTT服务器
systemctl start mosquitto.service
2.设置开机启动MQTT服务器
systemctl enable mosquitto.service
来源地址:https://blog.csdn.net/wenzhp1975/article/details/128234447
--结束END--
本文标题: Apache+PHP+MariaDB+MQTT重启指令
本文链接: https://www.lsjlt.com/news/391845.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0