When you buy any unmanaged VPS hosting account, all you get is an IP address and a link to login to your VPS account which has no features at all that you get in a cPanel. Basically these unmanaged VPS are just a virtual system running on Linux/Windows OS and it’s up to you what you want to install on it. Also because it’s unmanaged, hosting provider does not favor any help on technical aspects and will charge you for any work they do.
In this guide I write about how to setup a Linux based (CentOS) VPS. It’s fairly simple process and if you follow all steps then you will be running your website on your new VPS account in no time at all.
The domain: It’s obvious that you would have already bought a domain name from any domain registrar which you would want to host on the VPS. When you buy the VPS, the hosting will ask you for this domain name for setting up your account on their server. Now when you have received your VPS account information which contain your VPS IP address, login to your domain registrar account and go to A Records setting for the domain which you want to host. In the A records enter the VPS IP address. That’s it and your VPS is now linked to your domain name.
Now coming back to your VPS, you will need to install few things on this server so that it becomes more usable. These things include:
- Apache webserver
- PHP – MYSQL
- Webmin control panel
To install these software you will need to SSH to your VPS. Download a SSH client called ‘Putty’ which is free to download. Run this software and in hostname enter your VPS IP address, select connection type as SSH and click open button. A new screen will appear asking you to login. Enter username as “root” and password (provided by your hosting provider).
Enter this command: # yum install httpd php mysql-server mysql
This will install apace, php and mysql. Then enter this command: # service httpd start
This will start the Apache server. Now run this: # service mysqld start
This will start the mysql server.
After you have done this, enter your VPS IP address in address bar of any web browser and hit enter. You should see Apache Successful install page. Congratulations! You have just setup your server and its ready to roll. Do checkout the part 2 of this article for more.