In this article, we will focus on how to install WordPress on CentOS 7. WordPress is a free and open-source content management platform based on PHP and MySQL. It’s the world’s leading blogging and content management system with a market share of over 60%, dwarfing its rivals such as Joomla and Drupal.

In This article i am using digitalocean Vps

:-First Create a Vps Server.

  1. Go to Digitalocean And Create A Droplet
digitalocean Droplet

2. Choose an image

powermta centos

3.Choose a plan (i am using $10 machine)

digitalocean Choose a plan

Enter Your Root Password:-

root password centos

4.Choose a hostname

In Hostname Put Your Domain Name. i am Using Server.icsindiahost.tk. server is sub domain. Server.yourdomain.com

digitalocean Choose a hostname

5.Now Click Create droplet. Few Minutes After You Receive a Email.

:-Install PowerMta Mail Server Using Putty

  1. First Open Putty Software And Put Your Server Ip Address.
putty

2. Now Login as Root User .

2. Install Php 7.3 On Centos 7

Install Php 7.3 on your CentOS 7 system with the commands below.

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
# yum install yum-utils
yum-config-manager --enable remi-php73
# yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo 
php -v

3. Vesta Control Panel Install:-

  1. # Connect to your server as root via SSHssh root@your.server
  2. # Download installation script curl -O http://vestacp.com/pub/vst-install.sh
  3. # Run it bash vst-install.sh
  4. The installation is complete
VESTA panel

4. Install WordPress On Vestacp:-

  1. Login to Vestacp Panel
  2. Select DB Menu
  3. Click + sign
  4. Create Database And User
  5. Go To Domain public_html directory => Home/admin/web/yourdomain/public_html
  6. Upload WordPress File
  7. After Unzip zip file

Now Run Your WebSite Url

Yourdomain.com/index.php

Enter in the following database information

  1. ‘DB_NAME’
  2. ‘DB_USER’
  3. ‘DB_PASSWORD’
  4. ‘DB_HOST’

After Putting all info click submit Button.

Fill in the following information

  1. Site Title
  2. Username
  3. Password
  4. Your Email
  5. Search Engine Visibility

Click the Install WordPress button at the bottom of the page

WordPress should now be installed and you should now be logged into your WordPress Dashboard.

Yourdomain.com/wp-admin/