// Tutorial //

How To Install Webmin on an Ubuntu Cloud Server

Published on May 7, 2013
Default avatar
By Faraz Fallahi
Developer and author at DigitalOcean.
How To Install Webmin on an Ubuntu Cloud Server

About Webmin

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing, and much more. Webmin removes the need to manually edit Unix configuration files, like /etc/passwd, and lets you manage a system from the console or remotely.

Step One—Root Login

Once you know your IP address and root password, login as the main user, root.

ssh root@123.45.67.890

Step Two—Add Webmin to APT repository

Edit the /etc/apt/sources.list file on your system and add the following lines.

Open the file with nano:

nano /etc/apt/sources.list

Press [Page Down] button on the keyboard to reach to the end of file. (or press Left ALt+/)

Then paste these two lines below:

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save changes with CTRL+O and exit with CTRL+X.

Step Three—Install Webmin’s GPG key

You should also fetch and install Webmin’s GPG key in which the repository is signed and with the commands:

cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

Step Four—Install Webmin

You will now be able to install with the commands:

apt-get update
apt-get install webmin

Step Five—Login to Webmin

Open your browser and go to http://your_droplet_ip:10000/

login

You can now login as root with your root password, or as any user who can use sudo to run commands as root.

account

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up
About the authors
Default avatar
Developer and author at DigitalOcean.

Still looking for an answer?

Was this helpful?
10 Comments

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

@me: Did you run <pre>sudo apt-get update</pre>?

I am unable to access the page http://drop_ipaddress:10000/ . I get a connection timed out error.

I have installed it but its not working in my browser . do anyone know why ?

I am getting: The following packages have unmet dependencies: webmin : Depends: libnet-ssleay-perl but it is not installable Depends: libio-pty-perl but it is not installable Depends: apt-show-versions but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Let me know if there are any updates that need to be done that I am missing. I have tried the above multiple times.

Can’t Login to Webmin (I was login SSH with user and password MySql)

This webpage is not available

ERR_CONNECTION_REFUSED

Can’t Install Webmin

E: Type ‘http://download.webmin.comdeb’ is not known on line 61 in source list /etc/apt/sources.list E: Type ‘/deb’ is not known on line 1 in source list /etc/apt/sources.list E: The list of sources could not be read.

got an error E:Sub-process /usr/bin/dpkg returned an error code (1) how to fix these

This comment has been deleted

Hi, Great article. I have a question: I installed Ubuntu 14.04 LTS with an pre-config Image (suggested by Digital Ocean), now I already have PHP - Apache2 - MySQL.

Does the installation destroy my current website?

will the webmin affect my current droplet and the services installed apache,mysql radius etc ?