In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to install supervisor-3.3.1-py2.6.egg in RHEL6.5. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Python version of RHEL6.5:
[root@DMS supervisor] # python
Python 2.6.6 (r266 84292, Sep 4 2013, 07:46:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
2. Error installing supervisor-3.3.1-py2.6.egg Times: prompt
Installed / usr/lib/python2.6/site-packages/supervisor-3.3.1-py2.6.egg
Processing dependencies for supervisor==3.3.1
Searching for meld3 > = 0.6.5
Reading https://pypi.python.org/simple/meld3/
Download error on https://pypi.python.org/simple/meld3/: [Errno-2] Name or service not known-- Some packages may not be found!
Couldn't find index page for 'meld3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno-2] Name or service not known-- Some packages may not be found!
No local packages or working download links found for meld3 > = 0.6.5
Error: Could not find suitable distribution for Requirement.parse ('meld3 > = 0.6.5')
3. Download meld3-0.6.7.tar.gz from https://pypi.python.org/simple/meld3 and extract the python setup.py install installation.
4. Download and install setuptools-36.0.1.zip
5. Download and install supervisor-3.3.1.tar.gz
6. Configuration file:
1) create / etc/supervisor/conf.d folder
2) supervisord.conf is placed under / etc/supervisor/, where
[include]
Files = / etc/supervisor/conf.d/*.conf
3) so place the configuration file that ends with .conf for the monitoring process in the / etc/supervisor/conf.d/ directory.
7. In supervisord.conf
[supervisorctl]
Serverurl = http://localhost:9001
Username = root
Password = 123456
Prompt = mysupervisor
If the user name and password are not set correctly, execute supervisorctl update to report an error: "Error:Server requires authentication"
8. The configuration file in the / etc/supervisor/conf.d/ directory, such as adcc.confession [program: sendVer2Com1]
Command = sudo xterm-e python sendVer2Com1.py ttyS1
/ / for character terminal programs, to start a separate xterm display program to run the content, you need to use "xterm-e"
Numprocs = 1
Process_name=% (program_name) s Murray% (process_num) s
User = adcc
Environment= HOME=/home/adcc
/ / set the environment variables needed for the program to run, such as here: home directory
Autorestart=true
Redirect_stderr = true
Stopasgroup=true
Killasgroup=true
Directory = / home/adcc/monitor
Stdout_logfile = / etc/supervisor/% (program_name) s.log
Directory = / home/adcc/monitor/bin/
/ / set the directory in which the process is running, so that the process uses a relative path to find the configuration file. Such as:.. / resource/xxx.ini
The above is how RHEL6.5 installs supervisor-3.3.1-py2.6.egg. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.