From 804131afbbda872c4814d3a22a6383de95b8a01e Mon Sep 17 00:00:00 2001 From: Trond Arne Runde Date: Mon, 10 Feb 2020 18:51:45 +0100 Subject: [PATCH] Update 2-netbox.md --- docs/installation/2-netbox.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/installation/2-netbox.md b/docs/installation/2-netbox.md index cbe2c70c0..f3304b649 100644 --- a/docs/installation/2-netbox.md +++ b/docs/installation/2-netbox.md @@ -15,6 +15,8 @@ This section of the documentation discusses installing and configuring the NetBo # yum install -y gcc python36 python36-devel python36-setuptools libxml2-devel libxslt-devel libffi-devel openssl-devel redhat-rpm-config redis # easy_install-3.6 pip # ln -s /usr/bin/python3.6 /usr/bin/python3 +# systemctl enable redis +# systemctl start redis ``` You may opt to install NetBox either from a numbered release or by cloning the master branch of its repository on GitHub. @@ -30,6 +32,13 @@ Download the [latest stable release](https://github.com/netbox-community/netbox/ # ln -s netbox-X.Y.Z/ netbox # cd /opt/netbox/ ``` +**CentOS if selinux is active** + +```no-highlight +# chcon -R -t httpd_sys_content_t /opt/netbox/ +# restorecon -Rv /opt/netbox/* +# setsebool -P httpd_can_network_connect 1 +``` ## Option B: Clone the Git Repository