• Configure hostname

    You should double confirm the system hostname if it looks good. For example if this host is www.example.com, the /etc/hostname can be:
    host.example.com
    The /etc/hosts should also be:
    127.0.0.1 localhost
    127.0.1.1 host.example.com host

    Now reboot your system, and check the system hostname with command:
    hostname
    Ensure all APT source enabled

    By default some of your APT source may be disabled, so let’s enable them with:
    sed -i 's/^#\s*deb/deb/g' /etc/apt/sources.list
    Install Virtualmin with GPL installation script (not available yet on 2012-04-30)

    Just simply access http://www.virtualmin.com/download.html and download the Virtualmin installation script with wget:

    cd /tmp
    wget http://software.virtualmin.com/gpl/scripts/install.sh
    /bin/bash /tmp/install.sh