There is a new version of this tutorial available for Ubuntu 22.04 (Jammy Jellyfish).

Installing Webmin On Ubuntu Feisty Fawn (7.04) - Page 2

This tutorial exists for these OS versions

On this page

  1. The Setup

The Setup

Webmin is set up with the standard setup shell command.

cd webmin-1.360/ 
sudo ./setup.sh

You should see

***********************************************************************
* Welcome to the Webmin setup script, version 1.360 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /opt/webmin/webmin-1.360 ...
***********************************************************************
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]:

In general accept the defaults but choose SSL and the 'Auto Start The Service At Boot' option.

You will be asked a few questions.

Config file directory [/etc/webmin]: [enter]
Log file directory [/var/webmin]: [enter]
***********************************************************************
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):
[enter]
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name: Ubuntu Linux
Operating system version: 7.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.

At this point you may want to choose a different port. Security by obscurity is no security at all but it does stop the casual nosey parkers.

For my system I choose 23646 ('admin' on a mobile phone pad).

Web server port (default 10000): 23646 
Login name (default admin): [enter]
Login password: myS3cr3t
Password again: myS3cr3t
Use SSL (y/n): y
Start Webmin at boot time (y/n): y

The install starts:
***********************************************************************
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
Configuring Webmin to start at boot time..
Created init script /etc/init.d/webmin
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Share this page:

0 Comment(s)