This guide is a must for all as it includes the step by step tutorial for installing WordPress on your VPS by using Vesta CP. Vesta CP is an amazing free control panel for all the servers which only demand the free version of cPanel. Now I want tell you a lot about Vesta CP but you should know that it is full of amazing features. Just a hint about it, Vesta is an open source hosting control panel that offers an easy focused web interface whose main purpose is to make the ergonomics of the control pane better. The only way to do is by decreasing unwanted movements and operations. The one thing about Vesta that makes me a fan is its two line code needed to install the CP on your VPS.
EditINSTALL VESTA CP
The first step is to login to your server as root
You need to remove apache2/httpd if there is any:
The users of Debian and Ubuntu should adjust the above given command. You guys can use apt-get and apache2.
Now you will download Vesta CP installer script by:
Now type in this command and the installation will start:
Now just follow the instructions that are given on screen and you will see your login details that will include your username and password.
EditBASIC VESTA CP SETUP
You now need to open your web browser and from there you need o login to you Vesta page at:
Now that you are logged in you will need to do some basic configurations to your Vesta CP. These changes will include changing your default admin password, tweaking your hostage package configurations and so on,
EditADDING A NEW WEBSITE
Go to Vesta CP and from there click on the WEB menu.
To add a new website, click on the “Add Web Domain” button.
Once the tab opens, enter your desired domain name there. Vesta aso gives you the ability to assign custom IP address in the case if your server is running more than one IPs:
There is also an Advanced Options link in there which gives you the ability to alter or change the advanced configurations that include Aliases and choosing whether you will use Nginx or not and so on.
Now all you have to do is click on the “Add Button”.
If you need to edit your server’s DNS settings then just go to the main navigation menu of Vesta CP and from there click on the big DNS menu and edit the entries if needed.
The next step is a very important one. Here you must not forget to create the database and your login credentials. The newly created MySQL username and the database name that you make will have your username as its prefix. For example if you put your username ABCD then the name of your database will be ABCD_databasename and so will be the name with your MySQL username. For the length of this tutorial I will show you how to manage it all by making a database called admin_dbtest and MySQL username called admin_dbusertest.
That is it.
EditDOWNLOAD THE LATEST WORDPRESS PACKAGE
You will need to log back in to your VPS by using SSH (Terminal or Putty) with root privileges.
Now you must go to the web directory (public_html folder) of the newly added domain in Vesta CP. Well you don’t need to worry about where the web / public_html directory is located at because it is at:
The example that I am using will be like:
In the [insert your own username] you may put any name that you want.
Now we will download WordPress. We will use wget command to download it:
Now you are going to extract latest.zip:
All the word files have now been extracted but they are currently present in the same single folder which is called WordPress. We must now move all those files up:
You will now remove empty WordPress folder and the unused index.html file by:
This step will let you adjust your database settings by editing the wp-config.php file:
If you need to just all the values then look in //** MySQL Settings…..
If you’re done with all the editing then just save the file and exit the editor.
Now just open your browser. Once the browser is opened you will open your blog for the first time ever. Once the blog is opened you will see the WordPress Installation Wizard. All of the stuff that comes after will be as easy as pie. You should know how to proceed. That’s it. Enjoy!