Ubuntu Reference Guide

part of the WillPowered Inc. network
© 2011 William Hall <5/> - This site uses HTML5

Applications\Webmin

Webmin is a secure web-based administration system for your entire linux computer. You can administrate system functions as well as web servers and mysql database and so forth. If you already have a LAMP or apache server installed, this is a useful tool.

Webmin is an active project on SourceForge.net but depends on some packages that may not be installed by default. Run the following command to prepare your system for Webmin.

$ sudo apt-get install perl libnet-ssleay-perl openssl $ sudo apt-get install libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Now go to the Webmin homepage on SourceForge.net and go to the download page. Find the latest version of Webmin (1.420 at time of writing) and download the deb file to a directory on the linux computer. Navigate to that directory in terminal and run the following command (or one for the appropriate version).

$ sudo dpkg -i webmin_1.420_all.deb

If you have already enabled the ufw firewall, you may need to run the following command, or one similar.

$ sudo ufw allow from 192.168.1.0/24 to any port 10000

Webmin is now accessible using https://computer:10000 where computer is your computers name. You can log in using any account that has sudo permissions.

Webmin is awesome for administrating remote computers such as hosted servers as well as local ones. Three important things to do are:

  1. Under System, Bootup and Shutdown, disable useless processes to speed up your Ubuntu.
  2. Use System, Software Packages to update your Ubuntu without having to use PuTTY.
  3. Under Hardware, System Time, Time Server Sync, put in pool.ntp.org. Go to Synchronize on Schedule, click Simple Schedule and Daily at Midnight. Finally Sync and Apply.

Also note that when creating MySQL permissions, you should create the user with no permissions and then use the dropdown or a pattern to specify the database, apparently the dropdown may not work sometimes. The pattern should be a regex so escape the characters for the database name like so: "willpoweredinc\_net"

Reference here