Jeffrey’s Blog

TCP的状态图

Filed under: 电脑网络, 系统管理 — Jeffrey @ Saturday, September 27th, 2008 7:59 am 105 views  

TCP的状态变迁图

TCP正常连接建立和终止所对应的状态

Continue Reading ...

lighttpd学习笔记

Filed under: 应用服务 — Jeffrey @ Thursday, September 25th, 2008 6:23 pm 108 views  

一. 基本安装
官方网站: http://www.lighttpd.net
./configure –prefix=/zhangjianfeng.com/app/lighttpd-1.4.19l
mkdir /zhangjianfeng.com/app/lighttpd-1.4.19/conf/
cp doc/lighttpd.conf /zhangjianfeng.com/app/lighttpd-1.4.19/conf/
手工启动方法:  /zhangjianfeng.com/app/lighttpd-1.4.19/sbin/lighttpd -f /zhangjianfeng.com/app/lighttpd-1.4.19/conf/lighttpd.conf
服务控制脚本:  安装包自带了一个脚本, doc/rc.lighttpd, Continue Reading ...

应用服务器sysctl.conf部分参数

Filed under: 系统管理 — Jeffrey @ Tuesday, September 23rd, 2008 6:50 pm 85 views  

## network configurations
net.ipv4.ip_forward = 0 # IP packet forwarding
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_fin_timeout=30  #60,每条至多占 1.5K 的内存
net.ipv4.tcp_keepalive_time=1800 #7200
net.core.netdev_max_backlog=3000 #1000每个网络接口接收数据包的速率比内核处理这些包的速率快时,允许送到队列的数据包的最大数目
net.ipv4.tcp_max_syn_backlog=4096  #1024 增加TCP Continue Reading ...

IOZONE学习笔记

Filed under: 系统管理 — Jeffrey @ Thursday, September 18th, 2008 3:38 pm 84 views  

IOZONE学习笔记
一. 安装
1.安装gnuplot
找到安装盘中gnuplot-4.0.0-20.2.i586.rpm ,并安装
或直接到主页http://www.gnuplot.info/
(如果不安装,执行Generate_Graphs时会出现./Generate_Graphs: line 30: gnuplot: command not found报错)

2.安装iozone
到http://www.iozone.org/下载最新版
cd /zhangjianfeng/tools/ && wget http://www.iozone.org/src/current/iozone3_308.tar
tar xf iozone3_308.tar && Continue Reading ...

Linux SNMP OID’s for CPU,Memory and Disk Statistics

Filed under: 系统管理 — Jeffrey @ Thursday, August 28th, 2008 5:58 pm 231 views  

SNMP MIBs, OIDs Overview

MIB stands for Management Information Base and is a collection of information organized hierarchically. These are accessed using a protocol such as SNMP. There are two types of MIBs: scalar and tabular. Scalar objects define a single object instance whereas tabular objects define multiple related object instances grouped in MIB tables.
Continue Reading ...

lighttpd+mod_flv_streaming+flowplayer实现拖动播放/推荐FLV

Filed under: 应用服务 — Jeffrey @ Tuesday, August 26th, 2008 9:01 am 326 views  

lighttpd安装配置
下载: http://www.lighttpd.net/download
./configure –prefix=/jeffrey/app/lighttpd-1.4.19  && make && make install
mkdir /jeffrey/app/lighttpd-1.4.19/conf/
mkdir /var/log/lighttpd
cp doc/lighttpd.conf /jeffrey/app/lighttpd-1.4.19/conf/
vi /jeffrey/app/lighttpd-1.4.19/conf/lighttpd.conf

server.modules              = (
…..
Continue Reading ...

MySQL 服务器调优[zt]

Filed under: 系统管理 — Jeffrey @ Monday, August 4th, 2008 7:18 pm 584 views  

利用服务器的几个调优技巧,让 MySQL 服务器飞速运行
如今,开发人员不断地开发和部署使用 LAMP(Linux®、Apache、MySQL 和 PHP/Perl)架构的应用程序。但是,服务器管理员常常对应用程序本身没有什么控制能力,因为应用程序是别人编写的。这份 共三部分的系列文章 Continue Reading ...

简单iscsi网络存储服务器的配置笔记

Filed under: 电脑网络 — Jeffrey @ Tuesday, July 29th, 2008 5:32 pm 529 views  

1. iscsi-target 服务器端
(1)安装软件
rpm -ivh iscsitarget-0.4.13-14.19.i586.rpm  #SLES10SP2
* windows系统下有一个叫 starwind 的软件
(2)修改配置文件
vi /etc/ietd.conf
Target iqn.2001-04.com.example:storage.disk2.sys1.xyz.sda3
Lun 0 Path=/dev/sda3,Type=fileio
Target iqn.2001-04.com.example:storage.disk1.test.file1tb
Lun 0 Continue Reading ...

Subversion的用户自助修改口令实现(linux测试通过)

Filed under: 系统管理 — Jeffrey @ Thursday, July 24th, 2008 10:42 am 547 views  

环境: SLES10-SP1+Apache-2.0.63+php-5.2.6+SVN-1.4.6
1. 编辑php模块支持

2. apache原svn配置如下
<location>
DAV svn
SVNParentPath /jeffrey/data/svnroot/repository/
AuthType Basic
AuthName “Subversion repository”
AuthUserFile htpasswd/.htpasswd.users
AuthzSVNAccessFile /jeffrey/data/svnroot/repository/conf/authz
Require valid-user
</location>

3. Continue Reading ...

SLES10-SP1+Apache-2.0.63+SVN-1.4.6安装配置笔记

Filed under: 系统管理 — Jeffrey @ Wednesday, July 23rd, 2008 1:39 pm 484 views  

1.apache安装
./configure –prefix=/usr/local/apr && make && make install
./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr/ && make && make install
./configure –prefix=/jeffrey/app/apache-2.0.63 –enable-so –enable-rewrite –enable-dav –with-apr=/usr/local/apr –with-apr-util=/usr/local/apr-util && make && make install

2. svn
tar jxf Continue Reading ...

Page 1 of 3712345»...Last »

京ICP备06038449号