Linux how to install wordpress

yum install httpd -y
clear
yum install mariadb mariadb-server
clear
systemctl start mariadb
systemctl enable mariadb
systemctl status mariadb
clear
mysql_secure_installation

clear
systemctl  restart  mariadb
clear

yum install php

clear
yum install php-mysql
clear
cd/var/www/html/
ls

ls
yum -y install wget
clear
wget https:// wordpress.org/latest.zip
ls 
yum -y install unzip

clear
unzip  latest.zip

clear
ls

rm -rf   latest.zip
ls  
ll
cp -r  wordpress/* /var/www/html/
ls
rm -rf  wordpress/
ls
clear
ll
clear
systemctl start httpd
systemctl enable httpd
systemctl status httpd
clear
firewall-cmd –permanent –add-service=http
firewall-cmd –reload
clear
ip a

clear

mysql -u  root  -p

pwd
ls
vim wp-config.php

發表留言

使用 WordPress.com 設計專業網站
立即開始使用
search previous next tag category expand menu location phone mail time cart zoom edit close