Install Webmin (Ubuntu 12.04 Server)
Reposted from: http://www.danpearce.co.uk/install-webmin-ubuntu-12-04-server/
So I am a big fan of Webmin as a quick and easy way of checking up on servers and performing quick admin tasks. The following shows how to quickly do that on a server running Ubuntu.
1. Add the required software repositories. This is pretty simply done using Vi:
sudo vi /etc/apt/sources.list.d/webmin.sources.list
Add the following lines to this file:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
2. Update apt-get. Although the repository locations will now be read by apt, they will not be used since apt does not have the key yet. Before installing Webmin, the key must be imported for these new repositories. So we need to run two commands here; one to get a key for the repositories and the second to perform the update:
sudo wget http://www.webmin.com/jcameron-key.asc | sudo apt-key add jcameron-key.asc sudo apt-get update
3. Install webmin. This simply requires the following code:
sudo apt-get install webmin
If you find that there are missing prerequisites that prevent the installation completing without intervention, then you will need to run the following command at the prompt:
sudo apt-get -f install
When it has completed, may want to run a final sudo apt-get update to make sure everything has registered. You will be able to login to webmin at https://[your_domain]:10000. Its that easy.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.