yum install httpd mysql-server php php-mysql   -y//安装所需的软件包
service httpd  start
chkconfig httpd on//开机自动启动服务
service mysqld start//启动服务
chkconfig mysqld on
cd /var/www/html
tar xf   wordpress.x.x.tar.gz   ./     //解压源码包x.x为版本号
rm wordpress.x.x //删除原包
mv wordpress/*  . //把wordpress下的文件移动到当前目录下
cp   wp-config-sample-.php  wp-config.php
vi wp-config.php //配置该文件中的数据库,用户名,密码,如果该数据库不存在,自己建一个就OK了。。。
接下来,直接在浏览器中输入路径(如IP),就可直接安装了
如果想要把自己的博客发布出去,只需购买一个域名即可了