added more changes for centos/rhel installation

This commit is contained in:
Chagara 2016-09-02 16:54:47 -04:00
parent 2213e3e0cf
commit af519b93b7
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,7 @@ If `git` is not already installed, install it:
``` ```
# sudo apt-get install -y git # sudo apt-get install -y git
# sudo yum install -y git
``` ```
Next, clone the **master** branch of the NetBox GitHub repository into the current directory: Next, clone the **master** branch of the NetBox GitHub repository into the current directory:

View File

@ -117,7 +117,7 @@ To enable SSL, consider this guide on [securing Apache with Let's Encrypt](https
# gunicorn Installation # gunicorn Installation
Save the following configuration file in the root netbox installation path (in this example, `/opt/netbox/`) as `gunicorn_config.py`. Be sure to verify the location of the gunicorn executable (e.g. `which gunicorn`) and to update the `pythonpath` variable if needed. Save the following configuration file in the root netbox installation path (in this example, `/opt/netbox/`) as `gunicorn_config.py`. Be sure to verify the location of the gunicorn executable (e.g. `which gunicorn`) and to update the `pythonpath` variable if needed. If using centos/RHEL use the apache user instead of www-data.
``` ```
command = '/usr/bin/gunicorn' command = '/usr/bin/gunicorn'
@ -127,6 +127,7 @@ workers = 3
user = 'www-data' user = 'www-data'
``` ```
# supervisord Installation # supervisord Installation
Save the following as `/etc/supervisor/conf.d/netbox.conf`. Update the `command` and `directory` paths as needed. Save the following as `/etc/supervisor/conf.d/netbox.conf`. Update the `command` and `directory` paths as needed.