ubuntu source installation supervisor

 

Baidu are a lot of tutorials on using apt-get install supervisor This command is a key to install, but I need to download a source package, and then copied to the U disk inside, get in a room inside for deployment. (Due to business needs, the room is not connected to external networks, LAN machines use only)

Well, without further ado, roll up its sleeves and dry.

1. Download the supervisor Source Package

https://files.cnblogs.com/files/cyq632694540/supervisor-3.3.1.tar.gz

 

 

2. Download meld3 dependencies (installation supervisor is being given)

https://files.cnblogs.com/files/cyq632694540/meld3-1.0.2.tar.gz

 

3. extract the source package

> Takes -zxvf meld3-1.0.2.tar.gz

> tar -zxvf supervisor-3.3.1.tar.gz

4. Installation meld3 python

> cd meld3-1.0.2/

> sudo python setup.py install

// Well meld3 dependencies installed

5. Use python installation supervisor, the mounting operation with the same packet meld3

> cd supervisor-3.3.1

> sudo python setup.py install

//Installed. Test whether the installation is successful input supervisord --version

> supervisord --version

After // ok to this point, to start generating supervisord.conf configuration file, find the first execution under echo_supervisord_conf

> sudo find / -name echo_supervisord_conf

> Sudo touch /etc/supervisord.conf // add files

> Sudo chmod 777 /etc/supervisord.conf // assign permissions

> / Usr / local / bin / echo_supervisord_conf> /etc/supervisord.conf // generate supervisord main configuration file

// http + modify /etc/supervisord.conf configuration through the console port access supervisord, and then start the next supervisord

> Supervisord -c /etc/supervisord.conf // start supervisor, if it fails to start can ps aux | grep supervisor, to see whether the process has been started, and the use of kill -9 process id process before the end of the run, then execute the command to restart

 // Configure supervisord.conf, open at the end of [include] to specify the folder for the configuration files directory

// and then add a task process configuration /etc/supervisord_conf/me.conf, restart under supervisord  

// entering supervisorctrl perform update operations

// Well completion

 

Guess you like

Origin www.cnblogs.com/cyq632694540/p/11418949.html