Linux系统中搭载Nginx服务器
sudo ifconfig eth0 192.168.1.9 netmask 255.255.255.0
sudo ifconfig eth0:1 192.168.1.7 broadcast 192.168.1.255 netmask 255.255.255.0
sudo ifconfig eth0:2 192.168.1.17 broadcast 192.168.1.255 netmask 255.255.255.0
sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/xnzj.conf
supervisor 进程管理工具
报错: BACKOFF Exited too quickly (process log may have details)
解决方案:
[program:app]
command = python /home/yz/app.py
3 directory = /home/yz/
4 user = root