yum install mariadb-server -ysystemctl disable firewalldsystemctl stop firewalldshell # 启用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 -yshell 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 httpdsystemctl 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