Vesta is a simple, 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:
Since we possess a running new VPS, we can move forward and the package indexes can be refreshed:
sudo apt-get update
The time is also appropriate for upgrading any packages that might require it:
sudo apt-get dist-upgrade
2. Installing Vesta
Now the Vesta installation script needs to be downloaded:
curl -O http://vestacp.com/pub/vst-install.sh
Following which this script need to be run:
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’ll be asked for providing a 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 neede 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:
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.
In case you wish to change the password that was 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. The command given above can also be used for resetting your password, in case you lose it ever.
3. Logging in to Vesta
Since the Vesta is now deployed, open your browser and move on to the address given by Vesta in step two. In case you didn’t take its notice, the address is as given below:
Take note that URL is starting with https:// instead of http://. This means that Vesta was being accessed on a secure connection. This secure connection requires a certificate (SSL) on the VPS to use in order to secure the transport of data. 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:
Following logging in, a control panel will be provided to you with which you can go on to configure users, databases, DNS servers, web sites etc.