宝塔面板不能自动开机启动nginx的解决办法!
来源:创立工作室 作者:冯军 发布时间:2024-06-03 17:45:41 阅读 1182 次
sudo wget -O /lib/systemd/system/nginx.service http://download.bt.cn/init/systemd/nginx.service
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo wget -O /lib/systemd/system/nginx.service http://download.bt.cn/init/systemd/nginx.service
sudo systemctl enable nginx
sudo systemctl restart nginx