Networking

Hardware

Software

Consultation

 

Webmin

 
 

From the Webmin website: "Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely."  The installation is generally straight forward, this tutorial is just to show you which packages are required, and to fix some of the little things that may need tweaking.


Log into your system as root, and install the required packages:

aptitude -y install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl


The following will download the webmin package:

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin_1.500_all.deb


Then simply install the package:

dpkg -i webmin_1.500_all.deb


You should be able to log into webmin using your favourite web browser, simply type:

https://[Gateway IP Address]:10000


If you have dificulty connecting to Webmin and you have a firewall installed, please ensure that that port 10000 is allowed access from the network you are trying to connect.  For example with shorewall, connecting from the local network a 'rule' to enable this would look like:

Webmin/ACCEPT	loc	$FW

Or:

ACCEPT	loc	$FW	tcp	10000


Webmin is used to administer many of the servers (DHCP, Postfix, Samba, etc...) on the system and can be used to notify, via email or manual inspection, the system admin of issues.  One of the status functions that requires tweaking to work correctly is the DHCP.  Navigate to 'System and Server Status' under the 'Other' menu heading, to verify.

If the DHCP server status does not show up correctly, go into the 'Servers' menu and click 'DHCP Server'.  Find 'Module Config' at the top of the page, and click it.

Locate the 'Path to DHCP server PID file'  and change:

/var/run/dhcpd.pid

To:

/var/run/dhcp3-server/dhcpd.pid

Save the change.