This tutorial shows how to install the latest version of Webmin in Ubuntu Linux from its official repository.
As you may know, 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.
To get started, login your remote server and follow the steps below:
1. Run below command to edit the source file:
sudo vi /etc/apt/sources.list
2. Press i on keyboard to start editing the file and add this line into the end:
deb http://download.webmin.com/download/repository sarge contrib
Press Esc to exit edit. Shift + : and followed by wq to save the changes.
3. Now execute command to download and install the key:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
4. After that, you can always use below commands to install the latest version of Webmin:
sudo apt-get update sudo apt-get install webmin
Finally in your client’s web browser go to the webmin login page https://ubuntu-serverip:10000
Very clear and concise article! Worked perfectly! Many thanks :D
very good tutorial, I’m successful install webadmin on my ubuntu with no problem.
Very good tutorial, worked perfectly for me straight away apart from warning entering https zone afterwards -but just to continue and log on.
Thanks
I got gpg: no valid OpenPGP data found, how can i solve this problem I’m using ubuntu server 14.04
Marjun are you sure you wrote -O- for options in wget command? I first read it and tried it with a zero instead of the letter O, and I believe that’s when I got the same error.
i have the same error with him, says, I got gpg: no valid OpenPGP data found,
what can i do now? pls . help. thanks.
if some still have the problem. I have had the same recently and found with some tinkering. First ping http://www.google.com and see if there are some problems, if there are such as host not found then: it could be you DNS servers.
To check edit these network config files:
/etc/network/interfaces
/etc/resolv.conf
*look for a dns name server other than 8.8.8.8 or 8.8.8.4(these are google’s). This will usually be the name server that was supplied for the registrar(godaddy or namecheap). Change the config files to googles and that might work, when done, change back if needed.
Now i need to install teamviewer 64bits on ubuntu 14.04 server 64bits. Can you help me ?
Tks !
Marcel você esta usando o modo gráfico no ubuntu server ?
What about Redhat Linux ,I want to install webmin
How will i ?
I don’t use Redhat, but you can try below steps:
1. Install wget via:
2. Download the rpm package of webmin 1.690, released on May 22, via wget:
3. Install the package via:
Uow very nice man, work perfectly =D Thanks!
root@ubuntu:~#
E: Unable to locate package webmin
Run command to check out if that repository was properly added into your system:
You should see this output:
deb http://download.webmin.com/download/repository sarge contrib
If not, re-do step 1 & 2. You may search a little on how to edit a file in Linux command line.
I am using virtualbox with ubuntu server 12.04.1
The installation went smooth. But i can’t access webmin from anywhere. Firefox Chrome etc. shows server not found neither from different virtual machine nor from host(w8.1).
Did you add the port 10000?
“Https://{virtual-machine-ip}:10000/”
Does not work? Try network configuration of your virtual machine with virtual box.
If it is NAT, you can only acces from the host where virtual box is running.
Try bridging, if your network is setup well it is a good choice.
The add key step failed on ubuntu server server 14.04 LTS because debian-keyring was not installed.
If you do
sudo aptitude update
you get below errorSo you first need to do
sudo aptitude install debian-keyring
where i can get xl2tpd modules for webmin
I have followed all the steps. It works. Thank you people.
I get an error Following packages have unmet dependecies:
Webmin Libauthen-pam-perl but is not installable
apt-show-versions
everything else checks out ok.
Everything went smoothly until i ran the install webmin and gave an error that it couldn’t locate package webmin. Please help…
tried every set and then some did not work
the process of unpacking webmin takes too long and it does not finnish, i use ubuntu 14.04, is that normal? and if not what is the problem? i am really stuck here i dont know what to do…….
Thank you for your step by step clear guidance
Hello,
if you have some issues on package not found (Libauthen-pam-perl and others), verify that you have the word universe in your source list :
deb http://fr.archive.ubuntu.com/ubuntu trusty main universe
regards
Serge
When copying and pasting this line from above in PuTTY:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add –
the O (capital O) gets pasted in as a 0 (zero) somehow, giving the error: gpg: no valid OpenPGP data found.
Editing the pasted command line in PuTTY to reflect an O vice a 0 allows the command to complete successfully.
Same issue as leyubai. Working with same version and on Virtualbox.
Thanks for this tutorial but may I suggest you replace steps 1 and 2 with
sudo echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
or else something like “add this line to the end of /etc/apt/sources.list using your favourite text editor”.
Mixing in a vi tutorial adds another level of complexity to this article which is daunting to those who don’t know it and unneccesary to those that do.
ps. Just tried it on a new 14.04 install and everything worked perfectly.
Could you please let you know the configurioin part of mail server in the webmin
Hi J im,
I installed owncloud before installimg webmin and now I cannot get into Webmin. What do you suggest?
After sudo apt-get install webmin it says:
Reading package list…Done
Building dependendy tree
Reading state informtion… Done
E:Unable to locate package webmin
Did I miss something?
1. Remove the webmin repository from /etc/apt/sources.list
2. cd ~
3. wget http://prdownloads.sourceforge.net/webadmin/webmin_1.750_all.deb
4. dpkg –install webmin_1.750_all.deb
This will install it since the key most of the time is down.
Many thanks spent an hour trying to do this before reading your blog. then I read your blog and had it working in moments. Thank you very much
I am having the same problem as leyubai and harri00413
I am also using Ubuntu LTS 14.04 on virtual box…
Well, i solved my problem by installing Webmin from tar.gz file(instead of using package manager).
as is explained here:
http://www.webmin.com/tgz.html
I hope this helps other people who are having the same problem as i did.
This will work for Ubuntu Server 16.04 on XenServer (at least it did for me!).
So, all of my google-fu led to this website or blog and to Ji M who’s profile
states that his native language isn’t English–but did a good job explaining
this anyway! I am an unabashed noob at this Linux thing so this helped tons!
You can show love for Ji on Google+ as well…