Majornetwork

Gateway of last resort is not set

Category: Server Virtualization

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 […]

TLS Certificates in Debian and Apache

Adding TLS configurations in Apache: cat > /etc/ssl/private/myserver.key chmod 0640 /etc/ssl/private/myserver.key chgrp ssl-cert /etc/ssl/private/myserver.key cat > /etc/ssl/certs/myserver.crt cd /etc/apache2/sites-available cp default-ssl.conf myserver-ssl.conf vi myserver-ssl.conf – add ServerName if needed – RedirectMatch ^/$ https://myserver.mydomain.com/appname (if needed) – edit SSLCertificateFile and SSLCertificateKeyFile a2ensite myserver-ssl a2enmod ssl vi 000-default.conf – add ServerName if needed – Redirect / https://myserver.mydomain.com/ […]

Installing AWS CLI on Cygwin

To get AWS CLI working in Cygwin: Install “python2-pip” with the Cygwin installer (and accept whatever dependencies it brings) Run “pip2 install awscli“ See what you have: “aws –version“, and continue with the usual “aws configure” procedure. Using AWS CLI is not very fast in this setup however. For example, showing specific Virtual Private Gateway […]

Majornetwork.net © Markku Leiniö 2011-2018 Frontier Theme