How to install WordPress on CentOS7

Video ready, click here to close ×


In this video, you will learn how to install WordPress on CentOS7. You can find a full written tutorial at http://www.servermania.com/kb/articles/how-to-install-wordpress-on-centos7/

30% Off – https://www.servermania.com/video-offers.htm

===

Commands:
setenforce 0
sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config

yum install httpd php php-common php-mysqlnd php-mbstring php-gd mariadb-server mod_ssl -y

sed -i ‘s/AllowOverride none/AllowOverride all/g’ /etc/httpd/conf/httpd.conf

systemctl start httpd && systemctl start mariadb

mysql
CREATE DATABASE wordpress;
GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress’@’localhost’ IDENTIFIED BY ‘Eh4wph8WItSO’;


curl -O https://wordpress.org/latest.tar.gz
tar zxvf latest.tar.gz
mkdir /var/www/html/
mv wordpress/* /var/www/html/


chown -R apache:apache /var/www/html

—-
Like us on Facebook: https://www.facebook.com/servermaniainc/
Follow us on Twitter: https://twitter.com/servermaniainc/
Inquires welcome: social@servermania.com

source

One comment

Leave a Reply

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