Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Basic Virtualmin installation and configuration guide. (20 Images)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Basic Virtualmin installation and configuration guide. (20 Images)

fapvpsfapvps Member
edited December 2013 in Tutorials

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:

[root@virtualminbox ~]# yum update -y

Followed by a reboot so that we are running the latest kernel.

[root@virtualminbox ~]# 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

Install perl:

[root@virtualminbox ~]# yum install perl -y

You may need to install the wget utility if it is not already installed on your system.

[root@virtualminbox ~]# yum install wget -y

Download the installer to your system.

[root@virtualminbox ~]# wget http://software.virtualmin.com/gpl/scripts/install.sh

Make the installer executable.

[root@virtualminbox ~]# chmod +x install.sh

And launch the installer.

[root@virtualminbox ~]# ./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.

[root@virtualminbox ~]#

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.

[root@virtualminbox ~]# 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.

Same here.

And here:

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.

And next.

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.

Comments

Sign In or Register to comment.