Browse Source

added more changes for centos/rhel installation

Chagara 8 years ago
parent
commit
af519b93b7
2 changed files with 3 additions and 1 deletions
  1. 1 0
      docs/installation/netbox.md
  2. 2 1
      docs/installation/web-server.md

+ 1 - 0
docs/installation/netbox.md

@@ -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:

+ 2 - 1
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
 # 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.