您的位置:首页 > 运维架构 > 网站架构

RedHat 5.4下Web服务器架构之源码构建LAMP环境及应用phpwind(下)

2012-10-17 11:25 816 查看
RedHat 5.4下Web服务器架构之源码构建LAMP环境及应用phpwind(下)

续上一篇

RedHat 5.4下Web服务器架构之源码构建LAMP环境及应用phpwind(上)

http://1990172.blog.51cto.com/1980172/1029551

2.1、 安装phpwind软件包

[root@shuiyong lamp]# unzip phpwind_GBK_8.3.zip
[root@shuiyong lamp]# cd phpwind_GBK_8.3
[root@shuiyong phpwind_GBK_8.3]# mkdir /var/www/html/phpwind
[root@shuiyong phpwind_GBK_8.3]#
mv upload/* /var/www/html/phpwind/





出现乱码问题,解决方法如下:
[root@shuiyong ~]# vim /etc/httpd/conf/httpd.conf
747 #AddDefaultCharset UTF-8
[root@shuiyong ~]# service httpd restart
客户端测试显示如下结果:正常。





2.2、 构建phpwind论坛

[root@shuiyong ~]# cd /var/www/html/phpwind/
[root@shuiyong phpwind]# chmod -R 777 data/
[root@shuiyong phpwind]# chmod -R 777 html/
[root@shuiyong phpwind]# chmod -R 777 attachment/

















[root@shuiyong phpwind]# rm install.php
rm: remove regular file `install.php'? y
[root@shuiyong phpwind]#

2.3、 管理使用phpwind论坛





论坛管理员登录管理此论坛!









网站客户可以进行注册,登录,发帖等活动!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux redhat phpwind lamp