Install WordPress on CentOS 8 and RHEL 8 VPS/Dedicated Server

Install WordPress on CentOS 8 and RHEL 8 VPS/Dedicated Server



Get 100$ Free Credit from DigitalOcean,Vultr & Linode using below-given affiliate link:

( Vultr )
( DigitalOcean )
( Linode )

In this video tutorial you will learn:

* How to install LAMP Stack on RHEL 8 CentOS 8 Linux Server
* How to configure MariaDB database.
* How to install WordPress on RHEL 8 CentOS 8 Linux Server
* How to open HTTP and HTTPS firewall ports.

All the commands …

# dnf install php-mysqlnd php-fpm mariadb-server httpd tar curl

# firewall-cmd –permanent –zone=public –add-service=http
# firewall-cmd –permanent –zone=public –add-service=https
# firewall-cmd –reload

# systemctl start mariadb
# systemctl start httpd
# systemctl enable mariadb
# systemctl enable httpd

# mysql_secure_installation

# mysql -u root -p
CREATE DATABASE wordpress;
CREATE USER `admin`@`localhost` IDENTIFIED BY ‘password’;
GRANT ALL ON wordpress.* TO `admin`@`localhost`;
FLUSH PRIVILEGES;
exit

# curl –output wordpress.tar.gz
# tar xf wordpress.tar.gz

# cp -r wordpress /var/www/html

# chown -R apache:apache /var/www/html/wordpress
# chcon -t httpd_sys_rw_content_t /var/www/html/wordpress -R

4 thoughts on “Install WordPress on CentOS 8 and RHEL 8 VPS/Dedicated Server

  1. I'm done . but I go to ip/wordpress Then this error:"There has been a critical error on your website."

  2. Hi admin, nice video many thanks. I have a little question, I instaled worpress with this video guide, all perfect, but after install when i put onion address like http://kjlkewrlkjwlkerjnc,mcnlsdncsdnofoidsfssdfdsfdsfs.onion in default website in wordpress setting i lose access to website. I think problem is very long url, any tip to solved this situation ?? Thanks !!!

Leave a Reply

Your email address will not be published. Required fields are marked *