Jeffrey’s Blog

IOZONE学习笔记

Filed under: 系统管理 — Jeffrey @ Thursday, September 18th, 2008 3:38 pm 87 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 235 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 ...

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

Filed under: 电脑网络 — Jeffrey @ Tuesday, July 29th, 2008 5:32 pm 530 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 ...

使用gnokii+短信猫+SIM卡,为Nagios配置短信通知功能

Filed under: 系统管理 — Jeffrey @ Thursday, February 28th, 2008 4:14 pm 2,121 views  

环境: 一个8口的短信猫, 一张普通移动SIM, 通过串口连接到一个Linux+Nagios服务器上

1. 将SIM卡放入短信猫,并通过console口与服务器连接
1)硬件连接
2)minicom -s ,配置Serial port setup–>Bps/Par/Bits, 将相关值改为9600 8N1, /dev/modem改为对应串口(ttyS0是串口1,ttyS1是串口2). 最后选择Save setup as dfl—>Exit from Minicom
运行AT,返回OK就可以了
2. 从Continue Reading ...

Linux下管理超过2TB盘阵的方法

Filed under: 系统管理 — Jeffrey @ Thursday, February 21st, 2008 5:28 pm 1,565 views  

现象:
一个md1000存储, 5×1TB, 用自带OpenManage 配置成理raid5,3.8TB,但Suse10 enterprise linux无法识别. 如果分成2个1.86TB的盘. 就可以正常识别.
处理办法:
# parted /dev/sdc
<parted> mklabel gpt
<parted> print
   Disk geometry for /dev/sdc: 0kB - 3999GB
<parted>mkpart primary reiserfs 0 3999G
<parted> quit

# mkfs.reiserfs /dev/sdc1  ##format
# vi /etc/fstab
Continue Reading ...

Linux日志文件系统及性能分析

Filed under: 系统管理 — Jeffrey @ Wednesday, February 13th, 2008 10:31 pm 1,297 views  
日志文件系统可以在系统发生断电或者其它系统故障时保证整体数据的完整性,Linux是目前支持日志文件系统最多的操作系统之一,本文重点研究了Linux常用的日志文件系统:EXT3、ReiserFS、XFS和JFS日志技术,并采用标准的测试工具PostMark和Bonnie++对它们进行了测试,给出了详细的性能分析,对Linux服务器应用具有重要的参考价值。

Continue Reading ...

建立简单tftp服务器笔记

Filed under: 系统管理 — Jeffrey @ Saturday, February 2nd, 2008 11:56 am 1,406 views  

系统: SUSE10
rpm -ivh /media/cdrom/suse/i586/tftp-0.42-8.2.i586.rpm

vi /etc/xinetd.d/tftp
# disable = yes

/etc/init.d/xinetd restart

mkdir /tftpboot

touch c2950_20080202

chmod  777 c2950_20080202 Continue Reading ...

lyriczilla -Linux 下的滚动歌词

Filed under: 电脑网络 — Jeffrey @ Sunday, January 20th, 2008 12:22 pm 1,408 views  

Linux下听歌是同步歌词显示不像windows下千千静听这种软件那么方便,不过Google Code里的LyricZilla插件也可以实现,目前这个插件支持audacious和beep-media-player两款播放器。

LyricZilla 是为 Linux 下的多款音乐播放器做的插件(现在可插于 beep-media-player 和 audacious)。它能够自动搜索当前播放歌曲的歌词,而且当前行会在播放时滚动。

截图Continue Reading ...

Page 1 of 512345»

京ICP备06038449号