安装 supervisor

dnf install supervisor

修改配置

nano /etc/supervisord.conf


# 注销掉 前面的“;” 并修改相关配置

[inet_http_server] ; inet (TCP) server disabled by default
port=0.0.0.0/0:9001 ; (ip_address:port specifier, *:port for all iface)
username=admin ; (default is no username (open server))
password=xxxx ; (default is no password (open server))

# 记得开放相关端口,比如9001