#wget -q #tar xvzf setuptools-18.0.1.tar.gz #cd setuptools-18.0.1 #python setup.py install #wget -q # tar xvzf pip-7.1.0.tar.gz #cd pip-7.1.0 #python setup.py install # #pip2.7 install supervisor -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #pip2.7 install supervisor_quick -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #vim /etc/supervisord.conf [unix_http_server] file=/var/run/supervisor.sock ; (the path to the socket file) [supervisord] logfile=syslog ; (main log file;default $CWD/supervisord.log) loglevel=info ; (log level;default info; others: debug,warn,trace) pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) nodaemon=false ; (start in foreground if true;default false) minfds=655360 ; (min. avail startup file descriptors;default 1024) minprocs=655360 ; (min. avail process descriptors;default 200) nocleanup=false umask=022 user=root [supervisorctl] serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [ctlplugin:quick] supervisor.ctl_factory = supervisor_quick:make_quick_controllerplugin [include] files = /etc/supervisord.d/*.ini #
时间: 2024-11-03 01:24:04