It’s Open source content Management tool.

https://www.youtube.com/watch?v=xmXo7D_RN7k

Package Requirement:-

php:- 5.4 or above
apache:- 2.0 or above
MariaDB:-5.6 or above

Step1. Install PHP/http

yum install php php-mysql  httpd  mariadb

Step2. Download WordPress and untar

mkdir /var/www/html -p
cd /var/www/html
wget http://wordpress.org/latest.tar.gz
tar -xzvf  latest.tar.gz

Step3. Move in /opt folder and configure it

mv latest.tar.gz /opt/
cd /var/www/html/wordpress
mv * /var/www/html
cd /var/www/html
mv wordpress /opt/
cp wp-config-sample.php  wp-config.php

Step4. Add extension php.ini file

vim /etc/php.ini
extension=mysql.so

Step5. Create Database

CREATE DATABASE wordpressdb;
CREATE USER wordpressuser@localhost;
GRANT ALL  ON wordpressdb.* TO wordpressuser@localhost IDENTIFIED BY 'Redhat@123_000';

Step6. Configure db file

cd /var/www/html
 
vi wp-config.php
define('DB_NAME', 'wordpressdb');
define('DB_USER', 'wordpressuser');
define('DB_PASSWORD', 'Redhat@123_000');
define('DB_HOST', 'localhost');

Step7. Enable and start service

systemctl  enable httpd
systemctl start httpd

Step8. Set permission

chown -R apache:apache /var/www/html/*
chmod -R 775 /var/www/html/*

Step9. Access via browser

http://localhost
or 
http://ip

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=xmXo7D_RN7k

LEAVE A REPLY

Please enter your comment!
Please enter your name here