Setup Virtualmin GPL in Centos 7 for limited server resources

Virtualmin GPL is a free multiple virtual hosts manager. It is like Plesk or Cpanel that supports the creation and management of Apache virtual hosts, BIND DNS domains, MySQL databases, etc. This tutorial will show how to setup Virtualmin on a fresh server with limited resources.

It is assumed that you don't have any previous installation of Virtualmin. The following procedures are tested on my Linode server running Centos 7 64-bit Linux distribution.

  1. Install vitualmin:

    cd /opt
    chmod +x

    The script will check your server and download the software needed by a basic Virtualmin setup. After the installation you can login using your server's root credetials at https://<your server's IP>:10000.

  2. There are applications in default installation of Virtualmin that can be disabled and replaced.

    Instead of using your server for email service you may use the Zoho mail, it has a free version which is enough for individual or small business.

    Use Google Analytics as your visitor statistics tool to get rid of Webalizer and AWstats and turn off the access log of your webserver to save your server from disk write process.

    You can replace ProFTPd virtual FTP with SFTP (SSH File Transfer Protocol).

    Basically, the following applications are only enabled in my setup:

    • Administration user
    • Home directory
    • Apache website
    • SSL website
    • Log file rotation
    • MySQL database
    • Webmin login
    • DAV Login
    • Protected web directories
    • Scheduled backup

    To remove the unnecessary applications in Virtualmin, login to Virtualmin and go to System Settings -> Features and Plugins.

  3. (Optional) I found XenLayer theme for Virtualmin more appealing and here's how to use that theme:

    gunzip xenlayer-theme.wbt.gz
    tar xvf xenlayer-theme.wbt
    mv -f xenlayer-theme /usr/libexec/webmin/

    Login to Webmin and go to Webmin Configuration -> Change theme -> Current theme

    Select "XenLayer Framed Theme".

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.