centos系统下搭建个人博客wordpress

2025-11-26 10:27:09

1、首先 需要安装各种软件

wget http://cn.wordpress.org/wordpress-3.3.2-zh_CN.zip

unzip wordpress-3.3.2-zh_CN.zip

mysql:  yum install mysql-server

php : yum install php

httpd: yum install httpd

注意要安装mysql和php的依赖包 否则打开博客会报错 截图如下:

提示 :您的PHP似乎没有安装运行WordPress所必需的MySQL扩展。

centos系统下搭建个人博客wordpress

2、将下载来的wordpress移动到httpd里

mv wordpress-3.3.2-zh_CN/* /var/www/html

启动 mysql  httpd

service mysqld start

service httpd start 

3、配置多用户终端下 开机自动启动

chkconfig mysqld --level 3 on

chkconfig httpd --level 3 on 

完成 如果有什么不理解的 我可以帮忙搭建  联系qq  895686843

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢