Installing Webmin

Note:

Get Webmin even if you are an experienced Linux user. Many examples used in this guide are based on it. Of course, you can get by without it.

What is Webmin?

Webmin is a system administration tool. It also helps you manage servers, such as Apache and MySQL. However, it assumes that all installations are done by RPM or apt-get. That is not really a setback. Even if you have forgotten the location of an installed directory, you can use whereis or locate command to get it.

Download:

Download the source tarball, webmin-1.xxx.tar.gz, or rpm, webmin-1.xxx.noarch.rpm, from www.webmin.com to /home/user directory.

Preparation:

The usual nag: Commands, except unpack or explicitly stated, will be issued from the source directory and you should know how to get there.

Installation:

Webmin will be installed in /usr/bin directory.

Tarball installation:

Unpack:
# tar zxf webmin-1.xxx.tar.gz

Change to source directory:
# cd webmin-1.xxx

Configure:
# ./configure

Install:
Accept default settings and answer questions on user name (default admin) and password.
Installation is done.
# make
# make install

RPM installation:

Installation is done.
Default user is root and password is root password.
# rpm -ivh webmin-1.xxx.noarch.rpm

Confirm installation:

$ whereis webmin

Downloaded the binary intead of source?

If you have downloaded the binary tarball, follow the instruction for source tarball until you arrive at the ./configure command. Run ./setup.sh instead and follow the setup instructions. You might end up using the user admin if you accept default settings. That will only affect the log-in stage.

Starting Webmin immediately:

# /etc/webmin/start

Log in to Webmin:

Point your browser to https://localhost:10000 (note the https), do the log in chores and you will soon be doing a great system administration job. If a dialogue box appears and says that the server certificated has expired or similar warning, select accept certificate permanently and continue with log in.

Launching Webmin from console:

# webmin&




Q&A

I cannot log in to https!

The OpenSSL package is probably not installed. Use the RPM or apt-get method to install the missing package. If you do not intend to use SSL (secure socket layer) connections, let it be as almost all Athena users do not use SSL. Proceed to log in to http://localhost:10000.