Install WordPress on CentOS 8 and RHEL 8 VPS/Dedicated Server
Cloud Administrator
Get 100$ Free Credit from DigitalOcean & Linode using below-given affiliate link:
https://m.do.co/c/a132153e7328 ( DigitalOcean ) https://www.linode.com/?r=1899cce7ccabae58fca87a853d6a77ef978e2ae7 ( 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 https://wordpress.org/latest.tar.gz --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
2022-12-01
0.0 LBC
Copyrighted (contact publisher)
21021053 Bytes