Webmin on Ubuntu
Server Training - Server Management

Webmin provides a graphical interface using a web browser on a server that only has text based information.  Webmin is an excellent program for administrators who struggle with the command line as webmin covers many of the features that you will want to alter on an Ubuntu Server.


Download the latest tar file from webmin.com and place it in the /usr directory.  Untar it with this command:

tar zxvf webmin*

Move into the directory and run the setup.sh script as root or use the sudo comamnd.  You will see the script will ask questions and you will find that you can take the default throughout the script.  Be sure to note that the user name that is default is admin and you will then create a password...which you need to remember.



# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.420        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/webmin-1.420 ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    Ubuntu Linux
Operating system version: 8.04

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): n
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/webmin-1.420
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  http://localhost:10000/

and login with the name and password you entered previously.

If you get this far it is installed.

Check to see that it is running with netstat.


# netstat -aunt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN     


If you see that it is running on port 10000 you are set.  Open the web browser and set your browser to:

http://localhost:10000

Login with the user and password you set in the installation process.

Ubuntu Training


Copyright CyberMontana Inc. and BeginLinux.com
All rights reserved. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874