Installing Virtualmin on Kimsufi / OVH VPS CentOS 7Installing Virtualmin on Kimsufi / OVH VPS CentOS 7

Installing Virtualmin on Kimsufi / OVH VPS CentOS 7 – So I decided to purchase of these as a little project box rather than spinning up a VM on the same network – I wanted something external for testing. So within a few minutes purchasing and paying from KimSufi / OVH the VPS was setup and I had my ‘welcome email’ with my IP’s and root passwords.

Lets Start

We will need to set a hostname for our machine and we can do so with following command :-

First of all check current hostname using this command:

hostname -f
In order to change the hostname run following command :-

Before installing any package on your system it is recommended that you update the system and available packages. Run the following command to do so.

yum -y update

Downloading Virtualmin

Virtualmin can be installed in many ways, but I recommend you to install Virtualmin using an automated script which will will automatically install every packages take responsibility to complete them . To do so download script file using wget command .

wget -O /tmp/

The file saved under the /tmp/ directory as

If you get any error on the wget command above – you’ll need to install it by running the command below, then try again!

sudo yum install wget


After the Virtualmin Script has been successfully downloaded, let’s execute the script file. To do so we will need to make script file executable using following command .

chmod +x /tmp/

Now the file is made executable so now we will execute it using sh as shown below .

sh /tmp/

The above command will start the Virtualmin installation and it will arise a license agreement , to install the Virtualmin press Y and then press ENTER .


A Firewall is installed in most of the systems as firewall solution, here we will construct the firewall program to allow the port 10000 to accessible from the internet . It will make virtualmin accessible for connected networks and to do so run following command.

firewall-cmd --permanent --zone=public --add-port=10000/tcp

If in case you have not installed firewalld on your system then first install firewalld using this command :-

yum install firewalld

After installing firewalld now unmask , enable and start the firewall with below commands:-

systemctl unmask firewalld systemctl enable firewalld systemctl start firewalld

After allowing 10000 port run this command

firewall-cmd --reload

Then you will see an output “Success”.

Accessing the Virtualmin

Now our Virtualmin is installed successfully and port 10000 is also exposed by the firewall program, we will point our web browser to our server as https://yourIPaddress:10000 in our web browser.

This will display a warning that your connection is not private but you just have to simply ignore it and continue by clicking Advanced ** button and then click on **yourIPadress(unsafe) which will be at the bottom of the browser .

After that you will see a Log In page to the webmin. Simply enter the username root and password of the system to get access to the control panel of Virtualmin.

If in case you do not remember your password then we suggest you to please don’t attempt to brutally login like guessing the password, or keep repeating the login attempts. Because if you do so your IP address will be locked out for several minutes.

So it is better to change the password and to do so run the following command :-


And create a new password then Log In to the webmin.

Now you are logged in and you will see a dashboard with Post Installation Wizard.

Leave a Reply