Skip to content

Instantly share code, notes, and snippets.

@chrisdchristo
Last active February 15, 2017 17:32
Show Gist options
  • Save chrisdchristo/8160103 to your computer and use it in GitHub Desktop.
Save chrisdchristo/8160103 to your computer and use it in GitHub Desktop.
101: Webmin

101: Webmin

https://mydomain.com:10000

You will need some dependancy packages:

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl
sudo apt-get install libpam-runtime libio-pty-perl apt-show-versions python
cd ~/
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.610_all.deb
dpkg --install webmin_1.610_all.deb
rm -rf webmin_1.610_all.deb

For remote access open up port 10000. Access it from here:

https://mydomain.com:10000

Users will be the same as your Unix users.

Use Company SSL certificate

Navigate to https://mydomain.com:10000 and login with your unix username.

Go to Webmin -> Webmin Configuration and select SSL Encryption

Set the private key to:

/etc/ssl/custom/keys/official-www-mydomain-com.key

Set the seperate certificate file to:

/etc/ssl/custom/certs/official-www-mydomain-com.crt

Mark Redirect non-SSL requests to SSL mode? to YES!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment