以CentOS5为例一、下载地址花生壳动态域名Linux2.0http://www.oray.com/peanuthull/download_linux.php二、安装和使用花生壳(linux)1、安装必要的开发包[root@localhost~]#yuminstallgccgcc-c++autoconfautomake2、下载phddns-2.0.2.16556.tar.gz到某一个目录[root@localhost~]#wgethttp://download.oray.com/peanuthull/p……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-06-05
一安装Fail2ban服务下载rpmforge,里面有大量最新的rpm包.wgethttp://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpmrpm-ivhrpmforge-release-0.3.6-1.el5.rf.i386.rpm开始yum吧~~!yuminstallfail2banfail2bannoarch0.8.2-3.el5.rfrpmforge125kInstalli……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-06-05
1、将nginx源码包解压,进入目录[root@localhosthttp]#cd./nginx-1.4.1/src/http
[root@localhosthttp]#vim./ngx_http_special_response.c
21staticu_charngx_http_error_full_tail[]=
22"<hr><center>www.xl.com</center>"CRLF
23"</body>"CRLF
24"</html&g……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-06-02
--英文原著:DarrellBrogdon,发表于http://www.phpbuilder.com/columns/darrell20000319.php3)可能很多人都想过使用PHP编写一些定时发信之类的程序,但是却没有办法定时执行PHP;我们都知道,PHP是一种非常好的动态网页开发语言(速度飞快,开发周期短……)。但是只有很少数的人意识到PHP也可以很好的作为编写Shell脚本的语言,当PHP作为编写Shell脚本的语言时,他并没有Perl或者Bash那么强大,但是他却有着很好的优势,特别是对于我这……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-06-01
错误一:#/etc/init.d/libvirtdstart
启动失败libvirtd:initializationfailed解决办法libvirtd-d错误二:[root@tyServersh_installvserver]#virt-clone--help
Traceback(mostrecentcalllast):
File"/usr/bin/virt-clone",line34,in<module>
cli.setupGettext()
File"/usr/lib/python2.6……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-05-15
同一个网站,在apache与nginx下不同的伪静态配置文件如下:apache:<IfModulemod_rewrite.c>
RewriteEngineon
RewriteRule^([a-z]+).html$?a=$1
RewriteRule^([a-z]+)/([0-9]+).html$?a=$1&id=$2
RewriteRule^([a-z]+)/([0-9]+)-([0-9]+).html$?a=$1&id=$2&page=$3
RewriteRule^([……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-05-10
使用unrar命令解压.rar文件unrarxECShop_V2.7.3_UTF8_release1106.rar./上面的命令表示将ECShop_V2.7.3_UTF8_release1106.rar里面的文件解压到当前文件夹……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-04-17
引用代码:tracert命令在ubuntu系统为:traceroute。root@xlcom:~#traceroutewww.baidu.com
traceroutetowww.baidu.com(119.75.217.109),30hopsmax,60bytepackets
1110.203.180.1(110.203.180.1)3.389ms4.173ms5.158ms
261.236.79.25(61.236.79.25)5.561ms6.593ms7.908ms Trace……
作者/来源:yixinu.com
栏目:运维/编程
日期:2013-04-15