hdwiki安裝

天飛.h發表於2011-11-22

HDWIKI官方介紹
http://kaiyuan.hudong.com/help.php
安裝手冊
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
在瀏覽器中輸入http://172.16.3.64/hdwiki進入安裝介面
[root@172_16_3_64 hdwiki]# chmod 644 config.php 


相關文章