开启服务器端口

iptables -I INPUT -i venet0 -p tcp –dport 80 -j ACCEPT
iptables -I OUTPUT -o venet0 -p tcp –sport 80 -j ACCEPT

iptables -I INPUT -i venet0 -p tcp –dport 21 -j ACCEPT
iptables -I OUTPUT -o venet0 -p tcp –sport 21 -j ACCEPT

iptables -I INPUT -i venet0 -p tcp –dport 20 -j ACCEPT
iptables -I OUTPUT -o venet0 -p tcp –sport 20 -j ACCEPT

/etc/init.d/iptables save
/etc/init.d/iptables restart

建立web目录

mkdir -p /customize/web/htdocs/www
chmod +w /customize/web/htdocs/www
chown -R www:www /customize/web/htdocs/www