Install VirtualMin on CentOS 6
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.
- Read the CentOS - Setup article.
- Ensure that you are running as a normal user with privileged access (sudo).
- 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.
- Set up DNS for your server. See Create DNS Records for Cloud Servers with the Control Panel for more information.
- 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.
- Update your system to ensure that you have all of the latest software installed by running the following command:
sudo yum -y update
- Install Perl with the following command:
sudo yum -y install perl
- Download the VirtualMin installer by running the following command:
Install VirtualMin by running <pre>sudo sh install.sh</pre>
When you are prompted with a license agreement, press Y and then press Enter.
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
- To access the VirtualMin console, point your web browser to your server IP address.
It should look something like https://184.108.40.206:10000/.
Use your server root username and password to log in.
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.
When you are prompted with a completion screen, click Next to return to the main page.
Reload your VirtualMin console by clicking the Re-check and refresh configuration button in the yellow bar at the top of the page.
Carry on the conversation in the Rackspace Community.
© 2015 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License
See license specifics and DISCLAIMER