yum install mariadb-server -y
systemctl disable firewalld
systemctl stop firewalld
shell # 启用mariadb systemctl start mariadb systemctl enable mariadb # 安全配置mariadb mysql_secure_installation # 配置mariadb的数据 mysql -p -e "create database wpdb; grant all privileges on wpdb.* to wpuser@‘%‘ identified by ‘123456‘;"
yum install httpd php php-mysql php-xcache -y
shell unzip WordPress-5.0-branch.zip mv WordPress-5.0-branch/* /var/www/html/ setfacl –R –m u:apache:rwx /var/www/html/
conf <IfModule dir_module> DirectoryIndex index.php index.html </IfModule>
systemctl enable httpd
systemctl start httpd
输入
项目名 | 对应值 |
---|---|
Database Name | wpdb |
Username | wpuser |
Password | 123456 |
Database Host | 192.168.20.17 |
Table Prefix | wp_ |
information needeod
项目名 | 对应值 |
---|---|
site title | xxxx |
username | chao |
passowrd | 123 |
your email | 123@123.123 |
登录
原文:https://www.cnblogs.com/chaoyiyang/p/12286548.html