03 2012 档案

摘要:[root@mysql nagios-3.2.3]#./configure --prefix=/usr/local/nagios/[root@mysql nagios-3.2.3]#make[root@mysql nagios-3.2.3]#make all[root@mysql nagios-3.2.3]#make install[root@mysql nagios-3.2.3]#make install-init - This installs the init script in /etc/rc.d/init.d/usr/bin/install -c -m 755 -d -o root 阅读全文
posted @ 2012-03-09 19:11 痞子过 阅读(332) 评论(0) 推荐(0)
摘要:sysbench-0.4.12安装和调试下载wget http://nchc.dl.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gzshell>tar xvf sysbench-0.4.12.tar.gz[root@localhost sysbench-0.4.12]# uname -aLinux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Lin 阅读全文
posted @ 2012-03-06 18:47 痞子过 阅读(3787) 评论(0) 推荐(0)
摘要:location指令语法:location[=|~|~*|^~]/uri/{...}默认值:no使用环境:server~*:表示不区分大小写的匹配。~:表示区分大小写的匹配。在匹配过程中,nginx会首先匹配字符串,然后再匹配正则表达式。匹配到第一个正则表达式后,会停止搜索。 阅读全文
posted @ 2012-03-04 20:55 痞子过 阅读(128) 评论(0) 推荐(0)
摘要:在server{}模块添加如下:error_page 404 = /404.html; location = /404.html { root /var/www/html/sina/; #“404目录地址” } 阅读全文
posted @ 2012-03-01 19:09 痞子过 阅读(160) 评论(0) 推荐(0)