How To Install Wordpress on Centos 7.2

Опубликовано: 14 Январь 2025
на канале: NixInPix
391
2

Wordpress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality. I will installed on Centos 7.2.

First you need non-root user link to video:    • How To Add and Delete Users on a Cent...  
Second you need LAMP:    • How To Install Linux, Apache, MySQL, ...  

Commands:

mysql -u root -p
CREATE DATABASE wordpress;
CREATE USER wordpressuser@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit
sudo yum install php-gd
sudo service httpd restart
wget http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
sudo rsync -avP ~/wordpress/ /var/www/html/
mkdir /var/www/html/wp-content/uploads
sudo chown -R apache:apache /var/www/html/*
cd /var/www/html
cp wp-config-sample.php wp-config.php
nano wp-config.php

if you forgot your ip adress than use this command:
ifconfig eth0 | grep inet | awk '{ print $2 }'

----------------------


music by Kronicle - Thinking About You (Not hip hop) -   / the-chemist-10  


You can always Deploy an SSD cloud server in 55 seconds
with Digitalocean.
Anyone how use this link will receive $10 in hosting credit immediately after unlocking their account by adding a valid payment method.
Sign Up with this link
https://m.do.co/c/7b9082af029f