How to Install Webmin on CentOS or Debian VPS

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/

 

  • payment
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install and Run UnixBench on CentOS or Debian VPS

  UnixBench is a popular server benchmarking tool. To install and run UnixBench, just do the...

How to Update cPanel License Key / Run License Script

To run the cPanel License Key update script (perhaps if you've upgraded from a trial license, or...

How to Update VPS Timezone (OpenVZ)

Your OpenVZ will reflect the host server's time settings by default; however, it is possible to...

How to Setup Ruby on Rails for CentOS/Fedora VPS

This tutorial will walk you through the setup of a basic Ruby on Rails environment, including:...

How to Install rTorrent/ruTorrent Seedbox on Ubuntu VPS

This tutorial will guide you through the installation of libtorrent 0.13.0, rTorrent 0.9, and the...

Powered by WHMCompleteSolution