root@server [/]# ping google.com
ping: unknown host google.com
root@server [/]# ping baidu.com
ping: unknown host baidu.com
发科………………….
root@server [/]#vi /etc/resolv.conf
Change /etc/resolv.conf to:
Quote:
nameserver 208.67.222.222
nameserver 208.67.220.220 |
问题解决..
因为:These are opendns nameservers and you should have no issues with resolving anything after that
linux服务器安装防火墙后,有些情况下会出现FTP列表错误,如果,在客户端,主动模式,被动模式,或者自动模式,都无法解决的话,那只能从服务器入手了…
2个步骤,
1,pure-ftpd配置文件里添加 PassivePortRange 30000 35000
2,防火墙规则TCP_IN里添加 30000:35000
然后重启FTP,重启防火墙
问题解决
好冷啊…..暖气也不热…窗户还漏风…….骂了隔壁的!!!
As root, type:
cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all
And if you want to have Zend, after the whole thing finishes, type:
./build zend
and answer all questions.
Zend install = /usr/local/Zend
php.ini = /usr/local/lib
Apache config dir = /etc/httpd/conf
php = 4.3.9
apache bin = /usr/sbin
it will try to restart the server, which might fail, so type
service httpd restart
信用卡余额竟然成负数了……………….天啊………这样也成..