打开服务配置路径
/usr/lib/systemd/system
2、新建一个服务 xxx.service
3、添加服务配置
4、使服务生效:systemctl enable xxx.service
5、开启服务:systemctl start ygt_front.service
6、配置代理服务器nginx
打开代理配置文件路径
7、添加代理配置
8、重启代理命令:systemctl restart nginx
打开服务配置路径
/usr/lib/systemd/system
2、新建一个服务 xxx.service
3、添加服务配置
4、使服务生效:systemctl enable xxx.service
5、开启服务:systemctl start ygt_front.service
6、配置代理服务器nginx
打开代理配置文件路径
7、添加代理配置
8、重启代理命令:systemctl restart nginx