In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how Linux uses Supervisor to manage background processes. I hope you will get something after reading this article. Let's discuss it together.
1. Installation
Easy_install supervisor
After the installation of supervisor, three executive programs are generated: supervisortd, supervisorctl and echo_supervisord_conf, which are the daemon service of supervisor (used to receive process management commands), the client (used to communicate with the daemon and send instructions to manage the process), and the initial configuration file program. Do not use yum installation under centos, there are a lot of md problems!
2 generate template configuration file
# View all action supervisorctl help # Control all processes supervisorctl start all supervisorctl stop all supervisorctl restart all # Control Target process supervisorctl stop shadowsocks supervisorctl start shadowsocks supervisorctl restart shadowsocks
Common errors appear: "/ usr/bin/echo_supervisord_conf", line 5, in "/ usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2603, in "/ usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666 In require "/ usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 565, in resolve source/m/meld3/meld3-1.0.2.tar.gz cd meld3-1.0.2 python setup.py install finished reading this article I believe you have a certain understanding of "how Linux uses Supervisor to manage background processes". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.