According to the Virtualmin website, the latest version of Ubuntu that is supported is 8.04 LTS. That’s probably a safe stance to take since non-LTS versions of Ubuntu have a six-month lifecycle, and most serious hosting companies would stick with LTS versions. For those of us who live on the bleeding edge and want to try Virtualmin on the latest version of Ubuntu, 9.10 (Karmic Koala), you’ll find that the standard method of installation (the install.sh script on their site) will fail.
Luckily, the solution is simple.
Add the following repository to your sources.list file:
[geshi lang=bash]deb http://software.virtualmin.com/gpl/debian virtualmin-universal main[/geshi]
Then run the following as root:
[geshi lang=bash]cd /root
wget http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin
wget http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin
apt-key add RPM-GPG-KEY-virtualmin
apt-key add RPM-GPG-KEY-webmin
apt-get update ; apt-get install webmin webmin-virtual-server[/geshi]
Webmin and Virtualmin will now be installed. Note that the repository may not be as up-to-date as the direct download link. If that scenario arises, simply find the URL of the latest Virtualmin package from the link, and do:[geshi lang=bash]wget http://download.webmin.com/download/virtualmin/webmin-virtual-server_3.77.gpl_all.deb ; dpkg -i webmin-virtual-server_3.77.gpl_all.deb[/geshi]
Thanks for this. Unfortunately, when I try it on Ubuntu 9.10, I get an error from the install script: “Couldn’t find package webmin-virtual-server”
Any thoughts?
Thanks for pointing this out. I’ve updated the article with a working solution. Please note the new apt repository, so try all the steps from the beginning. There’s no longer a need to use the install script either.
The problem is “apt-get update ; apt-get install webmin webmin-virtual-server”
Try
# sudo apt-get update
Then
# sudo apt-get install webmin
# sudo apt-get install webmin-virtual-server
Thats what I did worked great!
Cheers!