Install Webmin on Ubuntu

  UBUNTU

Install Webmin On Ubuntu 

Add the webmin  repository to Your Source file:

Edit Source file.

User following command to edit your source file

sudo vi /etc/apt/sources.list

Add the following lines at the bottom of your source file:

deb http://download.webmin.com/download/repository sarge contrib

After adding above line save your source file with wq! Command

Next Add the GPG key:

wget -qO – http://www.webmin.com/jcameron-key.asc | sudo apt-key add –

Or you can use following line to add repository to your source list.

sudo sh -c ‘echo “deb http://download.webmin.com/download/repository sarge contrib” > /etc/apt/sources.list.d/webmin.list’

And then : “wget -qO – http://www.webmin.com/jcameron-key.asc | sudo apt-key add -”

After running above command, update your source list with following command

“sudo apt update”

Rrun below command to install webmin:

“sudo apt install webmin”

Allow the webmin default port “10000” via firewall, if you want to access the webmin from a remote system.

sudo ufw allow 10000

To access Webmin

Open up your browser and type following URL https://ip-address:10000/

You will see login screen like below

Webmin on ubuntu 16.04

Enter the user name and password to log in to webmin console, after login your next screen will look like below.

Webmin on ubuntu 16.04
Webmin on ubuntu 16.04

That’s it. Now you’ll be able to manage and configure your Ubuntu server graphically.

If you are facing any issue to install webmin on your latest ubuntu 16.04 server you can use alternative method given below.

Run below command’s to Install webmin manually.

Install webmin using tar file

[root@yourserver /]# cd /tmp
[root@yourserver /tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.791.tar.gz

[root@yourserver /tmp]# tar xf webmin-1.791.tar.gz
[root@yourserver /tmp]# cd webmin-1.791
[root@yourserver /tmp/webmin-1.791]# ./setup.sh /usr/local/webmin

After running above command it will ask you following questions

The Webmin configuration directory: Press enter for default directory

The Webmin log directory: Press enter for default directory

The full path to perl on your system: Press enter for default path

Web server port : By default webmin run on 10000, if you want to change it you can change it here.

Web server login and password: Here you have to give user name and password whatever you desire for your webmin to get login, by default webmin doesn’t allow your linux user login if you want to use your default user for webmin login you can do so by changing in to webmin user configuration.

Web server host-name : In my case i have leve it the default, if you want to change you can change it here.

Use SSL: Yes/No

Start Webmin at boot time: Yes/No

LEAVE A COMMENT