在CentOS 7上安装配置守护进程

2025-04-18 20:12:22

1、安装python-setuptoolsyum install python-setuptools遇到提示时,输入y命令

在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程

2、安装Supervisoreasy_install supervisor

在CentOS 7上安装配置守护进程

3、创建supervisor配置文件夹mkdir /etc/supervisor

在CentOS 7上安装配置守护进程

4、配置Supervisorecho_supervisord_conf > /etc/supervisor/supervisord.conf

在CentOS 7上安装配置守护进程

5、修改supervisord.conf文件将文件尾部的配置,修改为:[include]files = conf.d/*.confvi /etc/supervisor/supervisord.conf

在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程

6、查看supervisord.conf文件cat /etc/supervisor/supervisord.conf

在CentOS 7上安装配置守护进程
在CentOS 7上安装配置守护进程

7、至此已经安装并配置完成将守护进程启动supervisord -c /etc/supervisor/supervisord.conf

在CentOS 7上安装配置守护进程
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢