分页: 8/22 第一页 上页 3 4 5 6 7 8 9 10 11 12 下页 最后页 [ 显示模式: 摘要 | 列表 ]

部署ntop平台 不指定

root , 2009/09/15 00:05 , Linux , 评论(0) , 阅读(25332) , Via 本站原创
下载软件包
引用

wget http://oss.oetiker.ch/rrdtool/pub/libs/libart_lgpl-2.3.17.tar.gz
wget http://oss.oetiker.ch/rrdtool/pub/libs/freetype-2.3.5.tar.gz
wget http://oss.oetiker.ch/rrdtool/pub/libs/libpng-1.2.18.tar.gz

安装
引用

tar -zxvf libart_lgpl-2.3.17.tar.gz
cd libart_lgpl-2.3.17
./configure
make;make install
cd
tar -zxvf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure
make ;make install
cd
tar -zxvf libpng-1.2.18.tar.gz
libpng-1.2.18
./configure
make ;make install

cp -r libart-2.0/ /usr/include/libart-2.0/
cp -r freetype2/ /usr/include/freetype2/
cp -r libpng12/ /usr/include/libpng12/

wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.27.tar.gz
tar -zxvf rrdtool-1.2.27.tar.gz
cd rrdtool-1.2.27
ls
./configure --prefix=/usr/local/rrdtool
make && make install
Tags:

curl 实用操作 不指定

root , 2009/08/28 00:02 , Linux , 评论(0) , 阅读(24039) , Via 本站原创
1、开启gzip请求
curl -I http://www.sina.com.cn/ -H Accept-Encoding:gzip,defalte

2、监控网页的响应时间
curl -o /dev/null -s -w "time_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" "http://www.kklinux.com"

3. 监控站点可用性
curl -o /dev/null -s -w %{http_code} "http://www.kklinux.com"

4、以http1.0协议请求(默认为http1.1)
curl -0 ..............
Tags:
分页: 8/22 第一页 上页 3 4 5 6 7 8 9 10 11 12 下页 最后页 [ 显示模式: 摘要 | 列表 ]