First, the experimental environment
The premise of this personal blog is that it has been successfully installed Nginx, MySQL, PHP, this article uses centos6.5 to do the explanation.
Second, the construction steps
Build Blog (WordPress)
1. Download WordPress to nginx/html/blog/
Wget/application/nginx/html/blog/https://cn.wordpress.org/wordpress-4.5.1-zh_cn.tar.gz
2. Login database to create a database WordPress and authorized users WordPress
Create DATABASE WordPress;
Grant all on wordpress.* to [email protected] ' localhost ' identified by ' Chen ';
Flush privileges;
Select User,host from Mysql.user;---See if authorization is successful
Mysql> select User,host from Mysql.user;
+-----------+-----------+
| user | Host |
+-----------+-----------+
| BBS | 10.0.0.% |
| Root | 127.0.0.1 |
| Chen_shop | localhost |
| Root | localhost |
| Shop | localhost |
| Shop_chen | localhost |
| WordPress | localhost |
+-----------+-----------+
7 Rows in Set (0.00 sec)
3. Unzip the wordpress-4.5.1-zh_cn.tar.gz into the blog directory
Tar XF wordpress-4.5.1-zh_cn.tar.gz
MV wordpress/*./
RM-RF wordpress-4.5.1-zh_cn.tar.gz
RM-RF WordPress
4. Authorization
Chown-r Nginx.nginx blog/
5. Enter the domain name to set up.
Blog.chen.org (provided that this was previously written to the Hosts file)
For detailed MySQL binary installation steps strike: http://purify.blog.51cto.com/10572011/1771783
This article is from "Wake up your not alarm clock but dream" blog, please be sure to keep this source http://purify.blog.51cto.com/10572011/1789478
Build wordpress Personal Blog