How to Install WordPress on Vesta CP
#howto ,#tutorial #VPS – How to Install WordPress on Vesta CP – This tutorial explains step by step guide (with pics) about How to Install WordPress on Vesta CP
So here it is a step-by-step tutorial on how to install WordPress on VPS with Vesta CP, a great free control panel for every VPS that demands a free version of WHM/cPanel. I won’t talk much more detail about what Vesta CP is and what features this panel has it. But as a refresh, Vesta CP is shortly an open source hosting control panel offering easy focused web interface with main purpose is to improve the ergonomics of the control panel by reducing unnecessary movements and operations. The best part of Vesta CP that I really like is its simple two lines of command for installing it.
For your information, I tried this guide on CentOS 6.5 64-bit but I believe this also works on any Linux distro Vesta CP supports like Ubuntu and Debian.
1. Installing Vesta CP
Step 1 – Login to your VPS as root.
Step 2 – Remove apache2/httpd if any.
service httpd stop yum remove httpd -y yum clean all
Debian and Ubuntu please adjust the command above. You can use apt-get and apache2.
Step 3 – Download Vesta CP installer script:
curl -O http://vestacp.com/pub/vst-install.sh
Step 4 – Now issue this command to start installing:
Step 5 – Follow on-screen instruction and once done, you’ll see your login detail (username and password)
Where are the pics? You can find detailed information and pics at my previous post about how to install Vesta CP.
2. Basic Vesta CP Setup
Step 1 – Open up your favorite web browser and login to your Vesta CP page at:
Step 2 – Once logged in, you may firstly perform some basic Vesta CP setups like changing your default admin password, adjusting hosting package configurations, and so on.
Please also refer to my previous post.
3. Adding New Website
Or should I say “adding new domain?”
Step 1 – In Vesta CP click on the WEB menu.
Step 2 – Now add our new website by clicking “Add Web Domain” button.
Step 3 – Then enter your domain name there. You can also assign custom IP address (if your vps has more than one IPs). For this tutorial I use servermomtest.com as an example:
Step 4 – Optional, you may also click the Advanced Options link if you wish to change some advanced configurations including Aliases, will you use Nginx or not, etc.
Step 5 – Finally click the “Add” button.
Step 6 – Click the big DNS menu in Vesta’s main navigation. From there, edit your DNS entries as necessary (if any).
Step 7 – Next, do not forget to also create your database and login credential. Your newly created MYSQL username and database name will have prefix which is your username. For example if your username is admin then your database name will be admin_databasename and so with your MYSQL username (e.g: admin_dbuser). In this tutorial I will create a database called admin_dbtest and MYSQL username called admin_dbusrtest.
Step 8 – That’s it
For more detailed information with pics please refer to my previous post.
4. Downloading Latest WordPress Package
Step 1 – Login to your vps back via SSH (Putty/Terminal) as root
Step 2 – Go to web directory (public_html folder) of your newly added domain in Vesta CP (Part 3 step 3 above). Where’s the web / publc_html directory located at Vesta CP? It is at:
So in my example it’ll be:
Use cd to navigate there:
Step 3 – Now download WordPress using wget command:
Step 4 – Now extract latest.zip:
Step 5 – Now all WordPress files have been extracted but it is in a single folder called wordpress. Now we need to move those files up:
cd wordpress mv * .[^.]* ..
Step 6 – Remove empty wordpress folder and unused index.html file
rmdir wordpress rm index.html
Step 7 – Now edit wp-config.php file to adjust your database settings:
mv wp-config-sample.php wp-config.php nano wp-config.php
Step 8 – Now you can adjust all values in //** MySQL Settings…..
Once done editing, save it (Control+O) then exit the editor (Control+X)
Step 9 – Open up your favorite browser and open your blog for the very first time and you’ll see WordPress Installation Wizard. That’s it. From here on you should already knew how to process.
Just fill all required forms and hit the Install WordPress button.
That’s it. You can now login to administration dashboard page of your newly installed -shinny new- WordPress blog. Enjoy..
This post How to Install WordPress on Vesta CP is part of ServerMom.