用到的软件:
httpd php-fpm php-mysql mysql-5.7.17.tar
就这么一点点包,有漏掉的话可以提醒,我记性不是太好
建议先yum remove -y mariadb 再安装mysql,因为centos一般自带mariadb,而这俩数据库冲突
在wordpress目录下建议
cp config.sample.inc.php config.inc.php 改个名字,看版本
[root@ecs-8365 wordpress]# ls
index.php wp-blog-header.php wp-cron.php wp-mail.php
license.txt wp-comments-post.php wp-includes wp-settings.php
readme.html wp-config.php wp-links-opml.php wp-signup.php
wp-activate.php wp-config-sample.php wp-load.php wp-trackback.php
wp-admin wp-content wp-login.php xmlrpc.php
最后是这么个样子
系统:
centos7 云主机 + 一个公网ip=一个网站
实验
1.下载wordpress
wget -c https://sandbox-experiment-resource.obs-website.cn-north-1.myhwclouds.com/30min-website/wordp