Choose a VPS hosting provider. It is important that you pick a service that offer 24/7 support, assures of security, and availability. Go4hosting is a highly preferred
VPS hosting provider. After completing the payment and signing up process, you will receive a logon information (ID/Password) to your registered Email account.
Login to your account and use SSH as the user root to the IP address that is provisioned to you. ssh.root@xxx ( write your IP address replacing the xxx). You may change your root password for security reasons. You will get a prompt asking you to type the new password and again retype it. You will get a confirmation message “Password Authenticated”.
The OS packages must be updated before installation of Apache and PHP. This can be done with a program called yum. It is a default package manager for most Linux distros like RedHat Linux, CentOS etc.
Install
web server (Apache), data base server (MySQL), code interpreters (PHP, Perl etc). With yum, this can be completed with a single command: yum install httpd php php-mysql perl mysql mysql-server.
You may also setup multiple websites on your VPS making use of
Apache Virtual Hosts. Create individual users per website. Host the files for that website in the users ‘public_html’ folder and allow permissions. Edit ‘/etc/httpd/conf/httpd.conf’ using vi.
Move to the bottom. Change the XXX with your server IP address and the user name to your domain name. Save and exit. Connect to MySQL server and set your root password. The process is almost similar to configure the MySQL. Enable firewalls to make your VPS more secure.