The easy method

sudo yum clean all
sudo yum -y update
sudo yum -y install httpd php-pear
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --reload
sudo systemctl start httpd //Start Apache
sudo systemctl enable httpd //set Apache to start upon boot time
sudo systemctl status httpd //Check Apache status
sudo systemctl stop httpd //Stop Apache
vim /etc/httpd/conf.d/welcome.conf //comment out the defautl welcome page
vim /etc/httpd/conf/httpd.conf //Configure Apache if necessary
Add website content to /var/www/html/


Install WordPress

yum install mariadb-server php php-mysql
systemctl start mariadb
systemctl enable mariadb
sudo /usr/bin/mysql_secure_installation
mysql -u root -p //default password is blank
CREATE DATABASE kimconnect;
CREATE USER 'wp'@'localhost' IDENTIFIED BY 'RNAEOIN$#AFJQIO$JITJ$J$Jjri3joja4iuiguirjiw4gaew0ruwprjaieoai';
GRANT ALL PRIVILEGES ON kimconnect.* TO 'wp'@'localhost';
exit
cd /var/www/html
wget https://wordpress.org/latest.tar.gz
tar xf latest.tar.gz
mv wordpress/* /var/www/html/
chown apache: /var/www/html/* -R


Run the install
Save the admin account: yomama / Ksyv#A&@%Nb#EOj*zpnYrjQr