netbox:installatie
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| netbox:installatie [2025/11/19 11:19] – [NetBox components] admin | netbox:installatie [2025/11/20 15:24] (current) – [HTTP server] admin | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| cp configuration_example.py configuration.py</ | cp configuration_example.py configuration.py</ | ||
| * open configuration.py en vul onderstaande waarden in: | * open configuration.py en vul onderstaande waarden in: | ||
| - | * ALLOWED_HOSTS = [' | + | * ALLOWED_HOSTS = [' |
| * postgresql info: user en wachtwoord | * postgresql info: user en wachtwoord | ||
| * redis info: default is ok | * redis info: default is ok | ||
| Line 53: | Line 53: | ||
| * voert database schema migrations uit | * voert database schema migrations uit | ||
| * maakt de documentatie aan {{ : | * maakt de documentatie aan {{ : | ||
| - | * | + | * activeer de Python virtual environement: |
| + | * maak een **superuser** gebruiker aan: < | ||
| + | python3 manage.py createsuperuser</ | ||
| + | * test de server: < | ||
| + | |||
| + | |||
| + | |||
| + | ===== Gunicorn===== | ||
| + | = Webserver Gateway Interface: fucntie waarbij web servers requests forward | ||
| + | < | ||
| + | ===== Systemd ===== | ||
| + | * < | ||
| + | systemctl daemon-reload</ | ||
| + | * start netbox en netbox-rq < | ||
| + | * controleer de status: < | ||
| + | |||
| + | |||
| - | ===== Gunicorn or uWSGI===== | ||
| ===== HTTP server===== | ===== HTTP server===== | ||
| + | * maak een SSL certificaat aan: < | ||
| + | -keyout / | ||
| + | -out / | ||
| + | * install Apache: < | ||
| + | * kopieer de config: < | ||
| + | * activeer de nodige Apache modules,de netbox site en herstart Apache: < | ||
| + | a2ensite netbox | ||
| + | systemctl restart apache2</ | ||
| + | * test door naar https://< | ||
| ===== LDAP authentication===== | ===== LDAP authentication===== | ||
| + | |||
| + | |||
netbox/installatie.1763551143.txt.gz · Last modified: by admin
