安装php mysql apache 等软件包和依赖软件包

[[email protected] ~]# yum install httpd php php-mysql php-mbstring mysql mysql-server –y

将phpwind和wordpress传到根目录

phpwind wordpress 搭建论坛

将phpwind解压到当前目录

[[email protected] ~]# unzip phpwind_GBK_8.3.zip

切换到解压目录里 并把upload文件移动到/var/www/html/phpwind

[[email protected] phpwind_GBK_8.3]# mv upload/ /var/www/html/phpwind

切换到/etc/httpd/conf/httpd.conf 将下行注释掉,以免乱码

phpwind wordpress 搭建论坛

访问后的页面

phpwind wordpress 搭建论坛

需要更改文件权限为安装做准备

phpwind wordpress 搭建论坛

开始安装

下图提示需要为数据库创建密码 和论坛管理人创建密码

phpwind wordpress 搭建论坛

给数据库创建密码 并创建数据库

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

继续安装:

phpwind wordpress 搭建论坛

安装成功

phpwind wordpress 搭建论坛

手工删除install.php

phpwind wordpress 搭建论坛

前台访问:

phpwind wordpress 搭建论坛

后台访问:

phpwind wordpress 搭建论坛

解压wordpress

phpwind wordpress 搭建论坛

切换到解压目录并把里面文件移动到网站根目录

[[email protected] ~]# cd wordpress-3.0.5-zh_CN/

phpwind wordpress 搭建论坛

打开网站提示错误需要文件

phpwind wordpress 搭建论坛

按照提示去做并修改组和用户

phpwind wordpress 搭建论坛为其创建数据库

phpwind wordpress 搭建论坛

修改文件wp-config.php

phpwind wordpress 搭建论坛

下面就可以安装了

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

将两个站点做成虚拟主机

[[email protected] wordpress]# vim /etc/httpd/conf/httpd.conf

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

实验结果:

phpwind wordpress 搭建论坛

phpwind wordpress 搭建论坛

转载于:https://blog.51cto.com/zhaoweinana/976266

相关文章: