python+supervisorインストール

731 ワード

yum -y install gcc automake autoconf libtool make gcc gcc-c++ pcre pcre-devel openssl openssl-devel  zlib-devel subversion git
cd /tmp && wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz -O Python-2.7.12.tgz
tar xzvf Python-2.7.12.tgz && cd Python-2.7.12 && ./configure && make && make install
cd /tmp && wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && pip install supervisor
echo_supervisord_conf > /etc/supervisord.conf && mkdir -p /etc/supervisord.conf.d
echo "[include]" >> /etc/supervisord.conf
echo "files = /etc/supervisord.conf.d/*.conf" >> /etc/supervisord.conf