#447: Correcting CentOS installation docs

This commit is contained in:
Jeremy Stretch
2016-09-26 12:50:44 -04:00
parent 69f9249c52
commit 41afdddc55
2 changed files with 41 additions and 54 deletions

View File

@@ -1,39 +1,17 @@
# Installation
NetBox requires following system dependencies:
**Debian/Ubuntu**
Debian/Ubuntu
* python2.7
* python-dev
* python-pip
* libxml2-dev
* libxslt1-dev
* libffi-dev
* graphviz
* libpq-dev
* libssl-dev
Centos/RHEL
* python27
* python-devel
* git
* python-pip
* libxml2-devel
* libxslt-devel
* libffi-devel
* graphviz
* openssl-devel
### Debian/Ubuntu
```
# sudo apt-get install -y python2.7 python-dev python-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev
# apt-get install -y python2.7 python-dev python-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev
```
## Centos/RHEL
**CentOS/RHEL**
```
# yum install -y epel-release
# yum install -y gcc python2 python-devel python-pip libxml2-devel libxslt-devel libffi-devel graphviz openssl-devel
```
# sudo yum install -y epel-release
# sudo yum install -y python27 python-devel git python-pip libxml2-devel lbxslt-devel libffi-devel graphviz.x_86_64 openssl-devel
You may opt to install NetBox either from a numbered release or by cloning the master branch of its repository on GitHub.
@@ -60,9 +38,16 @@ Create the base directory for the NetBox installation. For this guide, we'll use
If `git` is not already installed, install it:
**Debian/Ubuntu**
```
# sudo apt-get install -y git
# sudo yum install -y git
# apt-get install -y git
```
**CentOS/RHEL**
```
# yum install -y git
```
Next, clone the **master** branch of the NetBox GitHub repository into the current directory:
@@ -83,7 +68,7 @@ Checking connectivity... done.
Install the required Python packages using pip. (If you encounter any compilation errors during this step, ensure that you've installed all of the system dependencies listed above.)
```
# sudo pip install -r requirements.txt
# pip install -r requirements.txt
```
# Configuration