Fix translation for section "installing supervisord" in 12.3.md
This commit is contained in:
@@ -119,13 +119,13 @@ Above, we've looked at two schemes that are commonly used to implement daemons i
|
||||
|
||||
> As an aside, I recently fell into a common pitfall while trying to deploy an application using Supervisord. All applications deployed using Supervisord are born out of the Supervisord parent process. When you change an operating system file descriptor, don't forget to completely restart Supervisord -simply restarting the application it is managing will not suffice. When I first deployed an application with Supervisord, I modified the default file descriptor field, changing the default number from 1024 to 100,000 and then restarting my application. In reality, Supervisord continued using only 1024 file descriptors to manage all of my application's processes. Upon deploying my application, the logger began reporting a lack of file descriptors! It was a long process finding and fixing this mistake, so beware!
|
||||
|
||||
### Supervisord installation
|
||||
### Installing Supervisord
|
||||
|
||||
Supervisord can `sudo easy_install supervisor` installation, of course, can also Supervisord official website to download, unzip and go to the folder where the source code, run `setup.py install` to install.
|
||||
Supervisord can easily be installed using `sudo easy_install supervisor`. Of course, there is also the option of directly downloading it from its official website, uncompressing it, going into the folder then running `setup.py install` to install it manually.
|
||||
|
||||
- Must be installed using easy_install setuptools
|
||||
- If you're going the `easy_install` route, then you need to first install `setuptools`
|
||||
|
||||
Open the `http://pypi.python.org/pypi/setuptools# files`, depending on your system version of python download the appropriate file, and then execute `sh setuptoolsxxxx.egg`, so that you can use easy_install command to install Supervisord.
|
||||
Go to `http://pypi.python.org/pypi/setuptools#files` and download the appropriate file, depending on your system's python version. Enter the directory and execute `sh setuptoolsxxxx.egg`. When then script is done, you'll be able to use the `easy_install` command to install Supervisord.
|
||||
|
||||
### Supervisord Configure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user