Comments on How to install NetBox Network Documentation and Management Tool on Ubuntu 20.04 LTS
Netbox is a free and powerful IP address (IPAM) and datacentre infrastructure management (DCIM) tool. It is used for storing information about your networks, VMs, and inventories. In this tutorial, we will explain how to install Netbox with Nginx as a reverse proxy on Ubuntu 20.04.
11 Comment(s)
Comments
Is it same as NetDot?
Hi Hitesh,Nice article, one comment though. I'd recommend to replace this line:
update-alternatives --install /usr/bin/python python /usr/bin/python3 10which is the way it should be set on ubuntu.
update-alternatives --install /usr/bin/python python /usr/bin/python3 10
Thanks for guide, got in some trouble tho. When trying to access the URL i get 502 Bad Gateway. Any ides?
I have Bad Request (400) when first browse
followed instructions, and everything worked as outlined until I launched URL at the end, all I get is "Bad Request (400)" error.. I'm stumped....
when I try to execute below:
python3 manage.py migrate/opt/netbox/netbox/utilities/api.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="? if obj is '':/opt/netbox/netbox/utilities/api.py:124: SyntaxWarning: "is" with a literal. Did you mean "=="? if data is '':Operations to perform: Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, secrets, sessions, taggit, tenancy, users, virtualizationRunning migrations: No migrations to apply.
it seems get error, thus below failed
python3 manage.py collectstaticIs it possible to install NetBox on server running ISPConfig and Apache?
Followed the guide and after running the following command I navigated to the http://your-server-ip:8080 (Where your-server-ip = my actual ip). All I get is a timeout.systemctl status nginx
if you don't have redis installed, it is needed and seems to be missing from article
sudo apt install -y redis-serverI had to make this change for
nano /opt/netbox/gunicorn_config.py command = '/usr/local/bin/gunicorn' pythonpath = '/opt/netbox/netbox' bind = 'your-server-ip:8001' workers = 3 user = 'www-data'replaced above bind to (was previously using the ip of the server)
bind = '127.0.0.1:8001'
You'd probably be better off with the official docs at https://netbox.readthedocs.io/en/stable/