How to Install Webmin on CentOS or Debian VPS
Posted: December 19th, 2011 | By: Rob_K | Filed under: Control Panels, Tutorials | Tags: CentOS, Debian, Tutorials, Webmin | No Comments »Webmin is a free web hosting control panel compatible with most Linux distributions. To install on CentOS or any other RHEL-derived system, follow the first half of the guide; to install on Debian or Ubuntu, skip to the latter half.
CentOS/RHEL Installation with Yum
1. Create and edit the /etc/yum.repos.d/webmin.repo file:
# vi /etc/yum.repos.d/webmin.repo
2. With the file open in vi, press “A” to enter editing mode, and add:
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
3. Save and exit the file by pressing ESC, typing :wq (colon-w-q), and pressing enter.
4. Fetch and install the proper GPG Key:
# wget http://www.webmin.com/jcameron-key.asc
# rpm –import jcameron-key.asc
5. Install Webmin with yum using the newly added repository:
# yum install webmin
Debian/Ubuntu Installation with APT
1. Edit the APT sources list:
# vi /etc/apt/sources.list
2. With the file open in vi, press “A” to enter editing mode, and add these lines to the file:
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
3. Save and exit the file by pressing ESC, typing :wq (colon-w-q), and pressing enter.
4. Fetch and install the proper GPG Key:
# cd /root
# wget http://www.webmin.com/jcameron-key.asc
# apt-key add jcameron-key.asc
5. Install Webmin:
# apt-get update
# apt-get install webmin
For more information, visit: http://www.webmin.com/
This article is also available in the VPS6 Knowledgebase:
https://vps6.net/my/knowledgebase/25/How-to-Install-Webmin-on-CentOS-or-Debian-VPS.html
VPS6.NET
Leave a Reply