Basic Virtualmin installation and configuration guide. (20 Images)
We will use a minimal installation of Centos 6.4 but most of this guide is OS neutral. Starting with a clean install the first thing we should do is update our OS:
[[email protected] ~]# yum update -y
Followed by a reboot so that we are running the latest kernel.
[[email protected] ~]# reboot
After the reboot log in to you your system and download the Virtualmin GPL installer that is available at this page: http://www.virtualmin.com/download.html
[[email protected] ~]# yum install perl -y
You may need to install the wget utility if it is not already installed on your system.
[[email protected] ~]# yum install wget -y
Download the installer to your system.
[[email protected] ~]# wget http://software.virtualmin.com/gpl/scripts/install.sh
Make the installer executable.
[[email protected] ~]# chmod +x install.sh
And launch the installer.
[[email protected] ~]# ./install.sh
I recommend reading the warning message that the installer presents and pressing y followed by the Enter key to proceed with the installation. Depending on your system this may take some time. Do not interrupt the processes or you may end up with an unstable system. Once the installation is complete you will be returned back to the # prompt.
[[email protected] ~]#
Since the Virtualmin installer makes a lot of changes to the system I recommend another reboot be be sure all the needed services have started up and that there are no issues with with system after a reboot. This is optional.
[[email protected] ~]# reboot
Launch a browser and navigate to your Virtualmin box ip or hostname:
Accept the security exception and log in using your credentials:
You will be presented with the Post-Installation Wizard, click next.
Please make the appropriate choices based on your needs and system capabilities.
Safe to leave this setting untouched.
You will most likely want to run MySQL.
Choose a strong password and make sure it is different that your system root. It is a very bad security practice to use the same password as your system root for your MySQL root.
Setup name servers here. You may skip this setting if you are not going to be using it for DNS or if this complains about resolvability for now.
pick the more secure option here.
Click that button up there.
If this happens don't panic.
Click that link "list of DNS servers" or Click the Webmin link on the top left then Networking>Network Configuration> Hostname and DNS Client.
Enter 127.0.0.1 into the list of DNS servers so your system can use itself as a dns server. Save. Go back to Virtualmin on the top left and click that button up there once again.
Aww man now what?
If this happens you need a FQDN (Google it if needed). Go back to Webmin link on the top left then Networking>Network Configuration> Hostname and DNS Client.
Fix you FQDN.
Now you can go back to Virtualmin on the top left and click that button one last time.
Congrats, your basic installation and configuration of Virtualmin is complete.
No situation is too much of a handful for us. Let us give you a helping hand with this: FAPVPS Special Offers