Teaching Research and Publishings Speaking Engagements Professional Development About Me

Server Setup Documents


Install Webmin and Open Firewall

Install Webmin

Download and Install the Webmin configuration tool:

cd /
sudo wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb
sudo dpkg -i webmin_1.580_all.deb
sudo apt-get -f install

Change Root Password

You will use the root username and password to log into Webmin, so we will need to change the root password:

sudo passwd

Adjust Firewall

The Webmin configuration tool uses the URL https://999.999.999.999:10000 (use your Google external IP address) so we need to open up port 10000 on the firewall:

  1. Click VPC Network in the main menu.

  2. Click Firewall Rules.

  3. Click Create Firewall Rule.

  4. Use the following settings:

    • Name: allow-webmin
    • Targets: All Instance in the Network
    • IP Range: 0.0.0.0/0
    • Protocols and Ports: Specified protocols
    • Protocols and Ports: tcp:10000

    Note: Everything else can remain as the defaults.

  5. Click Create.

You should now be able to log into Webmin. Go to https://999.999.999.999:10000 (use your Google external IP address) using Chrome. It will warn you regarding an insecure SSL, just proceed anyway. Log in using root and your root password.

Once you are logged into Webmin click the Upgrade Webmin button.

Once the upgrade is done refresh Webmin. If it is not working restart the server:

sudo reboot

If the upgrade worked go to System Information and update packages if needed (44 package updates are available).


MySQL in Webmin

Log in to Webmin and go to Servers and then MySQL Database Server. Enter your password and Webmin is now configured for MySQL.