2018-07-17 17:23:10 -04:00
# Installation
The following sections detail how to set up a new instance of NetBox:
2018-07-30 17:19:22 -04:00
1. [PostgreSQL database ](1-postgresql.md )
2020-02-26 11:40:31 -05:00
1. [Redis ](2-redis.md )
3. [NetBox components ](3-netbox.md )
2020-07-20 16:53:04 -04:00
4. [Gunicorn ](4-gunicorn.md )
5. [HTTP server ](5-http-server.md )
6. [LDAP authentication ](6-ldap.md ) (optional)
2018-07-17 17:23:10 -04:00
2020-04-09 14:43:22 -04:00
Below is a simplified overview of the NetBox application stack for reference:
![NetBox UI as seen by a non-authenticated user ](../media/installation/netbox_application_stack.png )
2020-03-05 17:23:56 -05:00
## Upgrading
2018-07-17 17:23:10 -04:00
2018-07-30 17:19:22 -04:00
If you are upgrading from an existing installation, please consult the [upgrading guide ](upgrading.md ).
2018-07-17 17:23:10 -04:00
2020-07-20 16:53:04 -04:00
!!! note
Beginning with v2.5.9, the official documentation calls for systemd to be used for managing the WSGI workers in place of supervisord. Please see the instructions for [migrating to systemd ](migrating-to-systemd.md ) if you are still using supervisord.