diff --git a/docs/installation/netbox.md b/docs/installation/netbox.md index 27a9a855d..51ab09de5 100644 --- a/docs/installation/netbox.md +++ b/docs/installation/netbox.md @@ -62,6 +62,7 @@ If `git` is not already installed, install it: ``` # 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: diff --git a/docs/installation/web-server.md b/docs/installation/web-server.md index 1853f74a2..3e914dd5d 100644 --- a/docs/installation/web-server.md +++ b/docs/installation/web-server.md @@ -117,7 +117,7 @@ To enable SSL, consider this guide on [securing Apache with Let's Encrypt](https # 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' @@ -127,6 +127,7 @@ workers = 3 user = 'www-data' ``` + # supervisord Installation Save the following as `/etc/supervisor/conf.d/netbox.conf`. Update the `command` and `directory` paths as needed.