Vesta is an open source and user-friendly web hosting control panel which presently supports RHEL (5 and 6), Ubuntu Linux (12.04 LTS, 13.04 and 13.10), CentOS (5 and 6), and Debian 7. By default, it possesses a number of features that permit you to host and control your websites easily on your VPS.
1. Deploy and update your server.
As soon as your virtual server is up and about, you need to login via ssh using the user that you created at the time of configuring your server. In case you choose to log in as root, then exclude the “sudo” command in all the commands given below:
Firstly make sure all the package indexes are refreshed and up to date:
sudo apt-get update
sudo apt-get dist-upgrade
2. Installing Vesta
Now the script can be downloaded for installing the Vesta.
curl -O http://vestacp.com/pub/vst-install.sh
Now you will need to run the script:
sudo bash vst-install.sh
The install script displays information about the software which will be deployed:
Press “y” and “enter” for proceeding with the deployment.
Next, you will need to provide valid email address. You should take care that you have access to this mail ID and you should also cross check for removing any typing errors as you won’t be asked to reconfirm it. This address will be used by Vesta for sending your login credentials. Don’t worry in case you typed in an incorrect address. Following installation, the complete information need by you will be shown in the terminal window, and from here you can edit the admin email address once the Vesta is deployed.
You can see the information given below upon completion of installation:
Make sure you remember address, username, and password as they will be required for logging in to the control panel.
In case you provided sudo access to the users sudo, then you will need to set them up again at present as during Vesta installation, the sudoers.tmp file is overwritten for adding some configurations. You can learn how sudo access can be set up in step four on the page.
If you wish to change the password that was auto generated by Vesta for you, you can change it by logging in [or the command given below can be run at any time]:
sudo /usr/local/vesta/bin/v-change-user-password admin NEW_PASSWORD
Just exchange NEW_PASSWORD with that password which you intend to utilize for the admin user. You can simply reset by hitting the command above if you need to change the password.
3. Logging in to Vesta
You can confirm once Vesta is deployed by going to your browser as address is given below:
Note: Vesta requires a secure connection which requires certificate (SSL) to secure the connection. Thus URL starts with https. As no certificates have been set up yet, an unsigned server generated certificate is utilized, and that’s why a warning message will be issued from your browser which will be the same as given in the screenshot below:
In your browser, just press “Proceed anyway” or anything equivalent, following which you will navigate to the login page. Use your credentials obtained in step 2 for logging in:
Once you logged in control panel will be provided to you with which you can configure users, databases, websites, DNS servers etc.