Webmin Ubuntu Server


Webmin is a great tool to install if you would like a GUI based program to help manage your server. This guide will show you how to install and setup Webmin ver. 1.441 on Ubuntu 8.04, but will work for other versions of Ubuntu linux.  The first thing that you are going to want to do is login under su.

su

cd /opt

mkdir webmin

cd webmin

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.530.tar.gz

tar -xzvf webmin-1.530.tar.gz

After you have issued the following commands, you should now have the latest Webmin source program downloaded and extracted into the /opt directory. After you have the Webmin program extracted you are going to want to install a few other pieces of software to allow you to connect to Webmin under SSL.

apt-get install openssl perl perl-modules libpam-runtime libauthen-pam-perl libnet-ssleay-perl

After you have installed the above software, issue the next few commands, which will startup the install process.

cd webmin-1.530

./setup.sh

During the install process, all you have to do is press the enter button a few times and answer the questions. Just choose a port number, a user name and password and select yes for SSL and start Webmin at boot time. To access the Webmin page, open up a web browser and type in your ip and the port number. For instance:

https://192.168.1.1:10000

192.168.1.1 = Ip address

10000 = port number

If you don’t know what your ip address is, go to the console and type in

ifconfig

root@homeserver:/opt/webmin/webmin-1.441# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:76:5c:33:0c
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:76ff:fe5c:330c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17891 errors:0 dropped:0 overruns:0 frame:0
TX packets:22347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15784214 (15.0 MB) TX bytes:2786847 (2.6 MB)
Interrupt:21 Base address:0×1200

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)