HDWIKI官方介绍
安装手册
kaiyuan.hudong.com/install.htm
下面是我的安装过程
服务器IP:172.16.3.64
操作系统:RHEL5.4 X64
[root@172_16_3_64 ~]# yum install php mysql-server httpd php-gd gd php-mysql
[root@172_16_3_64 ~]# mkdir www
[root@172_16_3_64 ~]# cd www/
[talenhao@BJB0300 viki]$ scp HDWiki-v5.1UTF8-20110927.zip root@172.16.3.64:hdwiki/
[root@172_16_3_64 hdwiki]# unzip HDWiki-v5.1UTF8-20110927.zip -d /app/www
[root@172_16_3_64 hdwiki]# cd /app/www/hdwiki/
[root@172_16_3_64 hdwiki]# chmod -R 0777 data/ config.php plugins/ style/default/logo.gif uploads/ uploads/userface/
[root@172_16_3_64 uploads]# vim /etc/httpd/conf/httpd.conf
DocumentRoot "/app/www"
DirectoryIndex index.php index.html index.html.var
[root@172_16_3_64 uploads]# service httpd start
[root@172_16_3_64 install]# service mysqld start
[root@172_16_3_64 install]# netstat -natp |grep mysql
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 27815/mysqld
[root@172_16_3_64 uploads]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT
[root@172_16_3_64 install]# iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
[root@172_16_3_64 uploads]# iptables-save
[root@172_16_3_64 uploads]# netstat -natp |grep 80
tcp 0 0 :::80 :::* LISTEN 25586/httpd
[root@172_16_3_64 hdwiki]# sed -i 's/=permissive/=disabled/' /etc/selinux/config
[root@172_16_3_64 hdwiki]# reboot
在浏览器中输入进入安装界面
[root@172_16_3_64 hdwiki]# chmod 644 config.php
阅读(6421) | 评论(0) | 转发(0) |