How to install Netbox with Apache and uWSGI

  • Posted on
  • 4 mins read

Netbox is an IPAM and DCIM tool written by Jeremy Stretch1 for the DigitalOcean’s needs.

It was released in June 2016, and has since become (in my opinion) the best FLOSS tool to manage your inventory of network devices, servers, IP addresses and their interconnections2.

Here I’ll describe how to install Netbox using uWSGI and Apache mod_proxy_uwsgi on Debian3. I won’t cover what Netbox’s documentation already does (Netbox’s code or PostgreSQL installation and configuration for instance), I’ll assume that you already followed the official documentation to download Netbox, install its dependencies and configure everything (tip: the script at the root of the repository does all this for you).

If you only want to get the configuration files and avoid reading all the crap I write, you can look at this Github Gist I made a few month ago.