Thank you for visiting the Rackspace Community
The The Community is live! Post new content or topics so our teams can assist.

Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.

CentOS - Installing VirtualMin

Former Member
Former Member

VirtualMin provides functionality for non-root users on their shared hosting accounts. This tutorial shows how to install VirtualMin on a CentOS 6.4 server.


  1. Ensure that you are running as a normal user with privileged access (sudo).
  2. Begin with a clean server. This installation MUST be performed on a server that has nothing else installed. If you have already begun installing software on your server, use the Rebuild function in the Cloud Control Panel.
  3. Set up DNS for your server. See Create DNS Records for Cloud Servers with the Control Panel for more information.
  4. Your server has at least 1 GB of memory. You can install VirtualMin on a small server, but you will not have access to all of the features.
  5. Update your system to ensure that you have all of the latest software installed by running the following command:

    sudo yum -y update
  6. Install Perl with the following command:

    sudo yum -y install perl

Install VirtualMin

  1. Download the VirtualMin installer by running the following command:

  2. Install VirtualMin by running <pre>sudo sh</pre>

  3. When you are prompted with a license agreement, press Y and then press Enter.

  4. After the installation is complete, you should see the following output:

    ssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay: Succeeded.

Set up VirtualMin

  1. To access the VirtualMin console, point your web browser to your server IP address.

    It should look something like****.

  2. Use your server root username and password to log in.

  3. After you log in, you will enter a Post-Installation Setup Wizard. Click Next to begin the wizard and select your settings.

    • Pre-load VirtualMin libraries by clicking Yes and then Next.

    • Run the ClamAV virus scanner on your server by clicking Yes and then Next.

    • Run the SpamAssassin email spam scanner. If you are hosting email on your server, you should enable this tool by clicking Yes and then Next. If you are not hosting email, you can skip this step by just clicking Next.

    • Enable MySQL or PostgreSQL database servers by selecting either or both options and click Next. This is optional, and if you choose not to enable a database server, you can skip this step by clicking Next without selecting any options.

    • Choose how VirtualMin should save passwords. We recommend selecting the "Only store hashed passwords" option for security.

  4. When you are prompted with a completion screen, click Next to return to the main page.

  5. Reload your VirtualMin console by clicking the Re-check and refresh configuration button in the yellow bar at the top of the page.