准备篇
一个域名
可以去万网,新网,...,...
一个云空间(最好买香港主机,或者外国的,不用备案)
然后将域名添加解析到自己的云空间的ip地址即添加一条A记录
安装篇
下载wordpress安装包。
安装lamp:
CentOS 6: httpd, php, mysql-server, php-mysql
service httpd start service mysqld start
CentOS 7: httpd, php, php-mysql, mariadb-server
systemctl start httpd.service systemctl start mariadb.service
chkconfig --list 看有没有httpd,mysqld。
若没有,就chkconfig --add 服务名
开机自动启动服务
chkconfig httpd on chkconfig mysqld on
接下来就是为wordpress创建数据库