This guide will show you the steps to configure your server initially and install and configure VestaCP on CentOS 6. The setup will use NginX as front-end web server and Apache as back-end. That would greatly help you in hosting high traffic websites as NginX can handle quite a lot of simultaneous connections.
1. Once your server is provisioned, you should receive an email with the login details.
2. Open up your favorite SSH client (for example PUTTY) and connect using those details.
3. When you login, first thing would be to update your OS packages with "yum update". Make sure to accept the newly available versions for installation by agreeing when the prompt appears
Good practice is always to change the default SSH port. You can do that by opening the SSH configuration file "/etc/ssh/sshd_config" and edit the following line. If you have a static IP, you can also add the following line at the end of the configuration file "AllowUsers [email protected]" (replace IP with your IP). That would restrict root logins to only your personal IP address.
There are more options to make it secure, but as long as you restrict logins to specific IP, change the default port and use strong root password, that should help you protect from most of the bruteforce attacks towards SSH.
When you are ready with editing the file, save it and close it. You now just have to restart the SSH service "service sshd restart". Now the changes should be applied.
Make sure not to install additional packages, before you install and configure VestaCP as it requires specific packages and versions. If you install something specific, it might have a conflict with the installed packages by VestaCP. It is always best practice to install additional packages after the VestaCP setup is ready, as long as you make sure it is not in conflict with your configurations.
4. To install VestaCP, visit the following page and select the packages that you'd require:
If you are not familiar and don't want to complicate it further, it is advisable to leave the default selection. Fill out the desired hostname, your email and password and click "Generate"
This would generate a few command lines that you would have to paste in your server shell. Those commands will download the installation script and will install it based on the defined settings.
Allow a few minutes for the process to install all of the files. On SSD servers, that can take 10-20mins.
When the process completes, it will provide you with the login details to the panel as well as the password and username which you initially predefined during the previous step. The default user is "admin". That information will also be sent to your email.