How to install Virtualmin on Ubuntu 8.04 LTS

2010-06-07

I was trying to setup the opensource webserver control panel for webhosting. I googled for the such type of software and I got this Virtualmin simple yet powerful which is very user friendly too. Then I started googling for the installation and I got many ways installing. The article I follwed for installing is below. I tested it myself and works cent percent without any errors.

This article is for advanced user who know how to manage hosting either shared hosting or virtual private hosting. Normally if you bought a shared hosting you’ll see a control panel named cpanel in most hosting service provider. cpanel is very popular and user friendly. Now think you want to buy a unmanaged VPS. Why unmanaged because if you bought a managed VPS it will cost almost double than unmanaged VPS. So I prefer unmanaged VPS for myself as cost is almost half. And its not too difficult to manage a VPS.

In this post, I’ll show you how could you easily manage your VPS hosting using Virtualmin and Webmin web server control panel. Virtualmin has 2 types of license one is professional, which you have to buy and another is GPL license which is free.

So lets have a look at the features of virtualmin:

  1. Virtualmin is based on the well-known Open Source web-based systems management GUI, Webmin.
  2. Webmin is a web-based interface for system administration for Unix, linux etc. Using web browser you can setup user accounts, Apache, DNS, file sharing and much more.
  3. Using Virtualmin you can manage your virtual domains, mailboxes, databases, applications, and the entire server, from one comprehensive and friendly interface.
  4. You can use GPL license based virtualmin which is free but it contains some unavailable features than pro. If you buy Cpanel it will monthly charge 12$, so using virtualmin you saved monthly 12$.

Now I’ll show the easy install process. Please remember, if you follow my way webmin and virtualmin will automatically install in your server without hassle.

First step is to setup any A Grade OS like Debian, CentOs, Ubuntu in your server. You can do this by your VPS control panel like SolusVM or HyperVM Control panel. The login info will provide by your hosting provider. I prefer Debian OS in my server.

Using SolusVM OS Install

After successfully install OS now open the shell if you use windows then open putty . Now login in your server as admin.

now give the command

cd /home

It will change your working directory to your server’s home directory. In command prompt it will look like this

root:/home#

Now type

wget [http://software.virtualmin.com/gpl/scripts/](http://software.virtualmin.com/gpl/scripts/install.sh)``[install](http://software.virtualmin.com/gpl/scripts/install.sh)``[.sh](http://software.virtualmin.com/gpl/scripts/install.sh)

It will download the install.sh file and put in your home directory. Now change the permission and run this

chmod +x install``.sh

then

./``install``.sh

You’ll see output in your shell and follow the instructions to successfully install. After install virtualmin visit its control panel.

If you server IP addess is something like this 55.23.22.13 then you have to visithttps://55.23.22.13:10000

By default virtualmin used port 10000. However when you visit the url, you’ll ask for setup apache, database server and so on. That’s very easy to understand if you’re advanced user.

After fully install all important modules, create a virtual server.

virtualmin create virtual server

If your domain name is http://temp.com then provide domain name temp.com and click create server. In your home directory you’ll see a folder is created named temp.

So put any php script or html file in /home/temp/public_html/index.php and run in your browser http://temp.com/index.php

You’ll see the output.

So that’s the way you can easily manage your server. If you need another virtual server just follow the previous way to create another virtual server where you’ve to provide your desired domain name.

You can also create database, ftp users and many important things like cron by using this control panel. By using Virtualmin you can minimize your hosting cost.

Hope this article will help you. Cheers!

Note That This Tutriol works only on the standard OS recommended by Virtualmin. Click here to know the supported OS