Updated Article for Ubuntu 18.04:

Step One

Initial set-up of Ubuntu server.

This is in case you have a new installation in your premise Create a new sudo user

$ sudo useradd tech

Add superuser privileges to your new user to enable the user tun administrative tasks without using root The best way to do this on Ubuntu is by adding the new user to the “sudo” group which has administrative privileges by default

Step Five

Configure NetBox After the completion of the python packages, the next step is to configure NetBox. The example configuration file is in /opt/netbox/netbox/netbox directory so change into the directory and make a copy of it

$ cd /opt/netbox/netbox/netbox

$ cp configuration.example.py configuration.py

Inside the configuration.py file, edit the following parts as shwn below:

For the secret key, just navigate to /opt/netbox/netbox and use the generate_secret_key.py script to generate it for you in the following way.

$ cd /opt/netbox/netbox

$ ./generate_secret_key.py

The secret key will be generated and should be kept secret. Paste it in the SECRET_KEY part of the conf file. In case the database is on a different server, please place its IP Address in the HOST part of the DATABASE code block. The username and password are the nes you provided when installing the postgreSQL. Because Netbox uses a datbase to run, a schema needs to be installed. To have that accomplished, just do the following:

Step Six

User Creation and collection of static files for the webgui. Since NetBox does not come with default users, we will have to create one user for the purposes of logging into the system when we launch it.

Step Seven

Testing our fresh NetBox This installtion is a test environment and I will be covering the entire set up later. Cruise around the test environment and see if it befits your needs. The test environment runs within a virtual environment as follows.

The power of technology can be blatantly perceived by everyone in the world today and its sway did not spare me. John is a tech enthusiast, ComputingforGeeks writer and an ardent lover of knowledge and new skills that make the world brighter. His interests lie in Storage systems, High Availability, Routing and Switching, Automation, Monitoring, Android and Arts.