Javatpoint Logo
Javatpoint Logo

How to Install WordPress on CentOS

Introduction

WordPress is a free and open source content management system based on PHP and MySQL. We must install WordPress on a web server in order to develop and test web-based applications. As of January, 2018, WordPress was used by 29.3 % of among the top 10 million Websites. WordPress was released on May 27, 2003 by its founders Matt Mullenweg and Mike Little. It was released under GPLv2 license. In this tutorial, we will install WordPress on CentOS.

Prerequisites

  • CentOS7
  • Login as an administrator on terminal
  • LAMP must be configured on the system.

Installation

This includes following steps.

1. Download Compressed File

Use the following command to get WordPress compressed file at the location /var/www/html.

CentOS How to Install WordPress on CentOS

Use the following command to extract the downloaded file.

CentOS How to Install WordPress on CentOS 1

2) Create Database

Login to the MySQL command shell and create a database to be used by WordPress. Use the following query for this purpose.

CentOS How to Install WordPress on CentOS 2

3) Start the PHP development server

Change the working directory to the WordPress Directory and execute the following command to start the PHP development server.

CentOS How to Install WordPress on CentOS 3

4. Access WordPress on Browser

Just type localhost:8082 to access WordPress on the browser. This will start the installation process on the system.

CentOS How to Install WordPress on CentOS 4

Choose the language and click submit

CentOS How to Install WordPress on CentOS 5

Just click on Let's go! To proceed.

CentOS How to Install WordPress on CentOS 6

Enter the database credentials (in my case the username is root and password is google) and click Submit.

CentOS How to Install WordPress on CentOS 7

Click on Run the installation to start the installation process.

CentOS How to Install WordPress on CentOS 8

This part of the installation involves the configuration of our website. Simply enter the website details such as Title, Username, Password and Email, click install WordPress.

CentOS How to Install WordPress on CentOS 9

Finally, we got WordPress installed on our CentOS.

CentOS How to Install WordPress on CentOS 10

Click login to get ourself logged into our website. We just need to enter the username and password, press Enter.

CentOS How to Install WordPress on CentOS 11 CentOS How to Install WordPress on CentOS 12

Hence, we have installed and get started with WordPress. Now, we can customize and manage our website.


Next TopicInstall Drupal





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA