NetBox Install on Debian 9

When installing NetBox on Debian 9 and Apache, the instructions in http://netbox.readthedocs.io/en/latest/ are fine, just some small additional operations are needed.

  • The libapache2-mod-wsgi-py3 package needs to be installed as well, otherwise you will get errors about the “WSGIPassAuthorization on” command when starting Apache [this has later been addressed in commit b917e8d]
  • Disable the “000-default” site with a2dissite 000-default
  • Copy the relevant configurations from 000-default.conf to netbox.conf (like ErrorLog and CustomLog)
  • (a2ensite netbox to enable the new site is already mentioned in the NetBox documentation)

Depending on the existing customizations, other adjustments may be needed as well, this was a plain non-TLS installation on a new VM.

Leave a Reply