How to install WordPress on Vesta CP

blog background image

How to install WordPress on Vesta CP?

To install WordPress in Vesta CP, first, you must log in to Vesta CP. From there to the “Database” section, you will need to create a new database for WordPress. You can create a database with any name.

How to create a database in Vesta CP?

First login to Vesta CP, follow the image below and create a new database.

Here, click on “Add” or “Save” button, with all the information correctly. Now login to your server with “root" user from the PuTTY software. From here, follow the commands below to access your files in the “public_html” directory.

cd /home/admin/web/minitech.xyz/public_html

Here you have to install wordpress. Now follow the commands below to install wordpress.

wget http://wordpress.org/latest.zip


If WordPress is saved correctly you will see the image above.

Now you have to execute the files from the latest.zip archive. To unzip the latest.zip, follow the command below.

unzip latest.zip

Remove the latest.zip folder from the “public_html” folder, and follow the command below to remove it.

rmdir latest.zip
rm index.html

Follow the command below to rename WordPress's configuration file.

mv wp-config-sample.php wp-config.php

Now open WordPress configuration file, and you write the database's information that created from Vesta CP, (database name, database user, database password). To edit this configuration file using “Vim”, follow the command below.

vi wp-config.php

Open the file using this command, and type "c" from the keyboard to edit. After this, press the "Escape" button to save the file and follow the following command.

:x

Now visit your IP address or your website URL from your internet browser. Here you will see the Welcome screen of WordPress like the image below.

Here's your site's title, username, password and click "Install WordPress" button. If all information is correct, you will see a page like the image below.

Click on “Log In” button from here.

From here, log in with your WordPress username and password. After login, you will see your WordPress dashboard.

Here you will find all the tools you need to customize your website.

Related Blog Post

Create, collaborate, and turn your ideas into incredible products with the definitive platform for digital design.

SEO Roadmap: Server Infrastructure & Strategy Guide

12 December 2025

SEO Roadmap: Server Infrastructure & Strategy Guide

Boost your 2026 rankings with our ultimate SEO guide. Learn how to optimize for AI agents using NVMe SSDs, LiteSpeed Cac

Read More
The Unnoticed Significance of Your Web Hosting Provider affect

05 May 2025

The Unnoticed Significance of Your Web Hosting Provider affect

For website success you need a good hosting company who give you proper service. Toshost ensure your every needs fulfil.

Read More

Got a question!

Contact us at