<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>RH MAN (Realistic Honest MAN!)</title> 
<link>http://blog.5iwww.com/index.php</link> 
<description>游荡网络十余年,才发现自己想要的,不过是那一片小小的私人空间,欢迎您的到来,分享我的快乐和忧愁~ </description> 
<language>zh-cn</language> 
<copyright>Powered by Bo-blog 2.0.2 sp2</copyright>
<item>
<link>http://blog.5iwww.com/read.php?1141</link>
<title>建立高可用的Moosefs文件系统</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>技术文档</category>
<pubDate>Sat, 20 Feb 2010 03:58:59 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1141</guid> 
<description>
<![CDATA[ 
	作者: ChinaUnix网友： waynew <br/><br/>一、概述<br/>Moose通过DNBD提供磁盘及时同步，通过HeartBeat提供Failover,来达到高可用。<br/><br/>二、系统环境，软件版本及所需要的包<br/>1、系统环境：<br/><br/>System：RHEL5U3 <br/><br/>Kernel：2.6.18-128.el5<br/><br/>2、软件版本：<br/><br/>HeartBeat heartbeat-3.0.0-33.2<br/><br/>DRBD：drbd-8.3.2<br/><br/>MooseFS：mfs-1.5.12<br/><br/><br/><br/>3、所需包：<br/><br/>Kernel-devel<br/><br/>Flex<br/><br/>Gcc<br/><br/>三、安装Heartbeat<br/>1.<br/>我这人比较懒，直接用Yum装的,<br/><br/># &nbsp;vim /etc/yum.repos.d/rhel-debuginfo.repo<br/><br/>[ha]<br/><br/>name=Heartbeat<br/><br/>baseurl=http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/<br/><br/>enabled=1<br/><br/>gpgcheck=0<br/><br/>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release<br/><br/># &nbsp; &nbsp; yum install heartbeat.i386 heartbeat-devel.i38<br/><br/><br/><br/>2、编辑HeartBeat配置文件<br/><br/># &nbsp; &nbsp; cp &nbsp;/usr/share/doc/heartbeat-3.0.0/ha.cf &nbsp;/etc/ha.d/.<br/><br/># &nbsp; &nbsp; vim /etc/ha.d/ha.cf<br/><br/>debugfile /var/log/ha-debug<br/><br/>logfile /var/log/ha-log<br/><br/>logfacility &nbsp; &nbsp; local0<br/><br/>keepalive 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//设定heartbeat之间的时间间隔为2秒.<br/><br/>deadtime 30 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //在30秒后宣布节点死亡。<br/><br/>warntime 10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//在日志中发出“late heartbeat“警告之前等待的时间，单位为秒。<br/><br/>initdead 120 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br/><br/>udpport 694 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //使用端口694进行bcast和ucast通信。<br/><br/>mcast eth0 225.0.0.1 694 1 0 &nbsp; &nbsp; &nbsp; &nbsp;//组播地址<br/><br/>ucast eth0 192.168.1.234 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//使用的网卡及ip<br/><br/>auto_failback on &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//on是主机故障后,是否自动切回<br/><br/>node &nbsp; &nbsp;oss1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //节点1<br/><br/>node &nbsp; &nbsp;oss2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //节点2<br/><br/>ping 192.168.1.46 &nbsp; &nbsp; &nbsp; &nbsp; // ping 地址<br/><br/>respawn hacluster /usr/lib/heartbeat/ipfail<br/><br/>apiauth ipfail gid=haclient uid=hacluster<br/><br/><br/><br/>3、编辑HA验证文件<br/><br/># &nbsp; &nbsp; cp /usr/share/doc/heartbeat-3.0.0/authkeys &nbsp;/etc/ha.d/authkeys<br/><br/># &nbsp; &nbsp; vim /etc/ha.d/authkeys<br/><br/>auth 3<br/><br/>#1 crc<br/><br/>#2 sha1 HI!<br/><br/>3 md5 Hello!<br/><br/>我选择的是Md5的验证方式,<br/><br/>最后记得将authkeys &nbsp;权限给为600<br/><br/># &nbsp; &nbsp; chmod 600 authkeys<br/><br/><br/><br/>4、编辑haresources<br/><br/>oss1 192.168.1.230 drbddisk::r0 Filesystem::/dev/drbd0::/mnt/mfs::ext3 mfsmaster <br/><br/>四、安装DRBD<br/>1、安装Drbd<br/><br/># &nbsp; &nbsp; tar zxvf drbd-8.3.2.tar.gz<br/><br/># &nbsp; &nbsp; cd drbd-8.3.2<br/><br/># &nbsp; &nbsp; make KERNVER=2.6.18-128.el5 &nbsp;KDIR=/usr/src/kernels/2.6.18-128.el5-i686<br/><br/># &nbsp; &nbsp; make install<br/><br/># &nbsp; &nbsp; vim /etc/drbd.conf<br/><br/> &nbsp; &nbsp; &nbsp; global {<br/><br/> &nbsp; &nbsp;usage-count yes; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//是否参加使用者统计<br/><br/><br/><br/>2、启动DRbd<br/><br/>首先要创建Drbd所需要的数据块<br/><br/># &nbsp; &nbsp; drbdadm create-md r0 &nbsp; &nbsp; &nbsp;//创建数据块，R0是上面配置文件中指定的<br/><br/># &nbsp; &nbsp; mknod /dev/drbd0 b 147 0 &nbsp; //创建设备名称drbd0<br/><br/># &nbsp; &nbsp; service drbd start &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //启动drbd &nbsp;记得启动另外一台。<br/><br/># &nbsp; &nbsp; [root@oss2 ~]# cat /proc/drbd &nbsp; &nbsp;//查看proc中DRBD的状态<br/><br/>version: 8.3.2 (api:88/proto:86-90)<br/><br/>GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by root@oss2, 2009-09-16 19:09:26<br/><br/>0: cs:Connected ro:Secondary/ Secondary ds:UpToDate/UpToDate C r----<br/><br/>ns:4494 nr:14497 dw:18335 dr:2510 al:4 bm:12 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0<br/><br/>DRBD启动后2台机器都是备用状态,它无法判断哪边是主机，以哪边的磁盘为依据，后面需要初始化<br/><br/># &nbsp; &nbsp; &nbsp; drbdsetup /dev/drbd0 primary –o<br/><br/># &nbsp; &nbsp; cat /proc/drbd<br/><br/> &nbsp; &nbsp; &nbsp; 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----<br/><br/> &nbsp; 发现执行完，当前的机器已经变为Primary<br/><br/># &nbsp; &nbsp; mkdir /mnt/mfs<br/><br/># &nbsp; &nbsp; chown -R mfs.mfs /mnt/mfs<br/><br/># &nbsp; &nbsp; mkfs.ext3 /dev/drbd0<br/><br/># &nbsp; &nbsp; mount /dev/drbd0 /mnt/mfs<br/><br/>五、安装MooseFS<br/>1、安装元服务器<br/><br/># &nbsp; &nbsp; tar zxvf mfs-1.5.12.tar.gz<br/><br/># &nbsp; &nbsp; cd mfs-1.5.12<br/><br/># &nbsp; &nbsp; useradd -s /sbin/nologin mfs<br/><br/># &nbsp; &nbsp; ./configure --prefix=/mnt/mfs --with-default-user=mfs --with-default-group=mfs<br/><br/># &nbsp; &nbsp; make<br/><br/> &nbsp; &nbsp; &nbsp; # &nbsp; &nbsp; make install<br/><br/>Ps: 我们把mfs安装在drbd的目录/mnt/mfs中，这样Failover 的时候会切换到backup ,这样mfs的数据信息会保持同步<br/><br/><br/><br/>2、配置元服务器<br/><br/>[root@oss1 opt]# cat /mnt/mfs/mfs/etc/mfsmaster.cfg <br/><br/>WORKING_USER = mfs<br/><br/>WORKING_GROUP = mfs<br/><br/>LOCK_FILE = /var/run/mfs/mfsmaster.pid<br/><br/>DATA_PATH = /mnt/mfs/mfs/var/mfs &nbsp; (这个地方一定要在drbd中，否则切换后找到不原来的文件)<br/><br/>SYSLOG_IDENT = mfsmaster<br/><br/>BACK_LOGS = 50<br/><br/>REPLICATIONS_DELAY_INIT = 300<br/><br/>REPLICATIONS_DELAY_DISCONNECT = 3600<br/><br/>MATOCS_LISTEN_HOST = *<br/><br/>MATOCS_LISTEN_PORT = 9420<br/><br/>MATOCU_LISTEN_HOST = *<br/><br/>MATOCU_LISTEN_PORT = 9421<br/><br/>CHUNKS_LOOP_TIME = 300<br/><br/>CHUNKS_DEL_LIMIT = 100<br/><br/>CHUNKS_REP_LIMIT = 15<br/><br/><br/><br/>3、启动元服务器<br/><br/># &nbsp; &nbsp; mkdir –p /mnt/mfs/mfs/var/mfs<br/><br/># &nbsp; &nbsp; chown –R mfs.mfs /mnt/mfs/mfs/var/mfs<br/><br/># &nbsp; &nbsp; mkfs.ext3 /dev/drbd0<br/><br/># &nbsp; &nbsp; /mnt/mfs/mfs/sbin/mfsmaster<br/><br/># &nbsp; &nbsp; 查看 netstat –ant<br/><br/>tcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 0.0.0.0:9420 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; &nbsp; &nbsp;<br/><br/>tcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 0.0.0.0:9421 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; <br/><br/>可以看到mfs已经在9420与9421上监听了 <br/><br/><br/><br/>4、安装chunkserver <br/><br/># &nbsp; &nbsp; tar zxvf mfs-1.5.12.tar.gz<br/><br/># &nbsp; &nbsp; cd mfs-1.5.12<br/><br/># &nbsp; &nbsp; useradd -s /sbin/nologin mfs<br/><br/># &nbsp; &nbsp; ./configure --prefix=/usr/local/mfs --with-default-user=mfs --with-default-group=mfs --disable-mfsmaster --disable-mfsmount<br/><br/># &nbsp; &nbsp; make<br/><br/> &nbsp; &nbsp; &nbsp; # &nbsp; &nbsp; make install<br/><br/><br/><br/>5、配置chunkserver<br/><br/># &nbsp; &nbsp; [root@wenba ~]# cat /usr/local/mfs/etc/mfschunkserver.cfg &nbsp; &nbsp;<br/><br/>WORKING_USER = mfs<br/><br/>WORKING_GROUP = mfs<br/><br/>DATA_PATH = /usr/local/mfs/var/mfs<br/><br/>LOCK_FILE = /var/run/mfs/mfschunkserver.pid<br/><br/>SYSLOG_IDENT = mfschunkserver<br/><br/>BACK_LOGS = 50<br/><br/>MASTER_RECONNECTION_DELAY = 30<br/><br/>MASTER_HOST = 192.168.1.230 (这里面要写HA的virtual ip)<br/><br/>MASTER_PORT = 9420<br/><br/>MASTER_TIMEOUT = 60<br/><br/>CSSERV_LISTEN_HOST = *<br/><br/>CSSERV_LISTEN_PORT = 9422<br/><br/>CSSERV_TIMEOUT = 60<br/><br/>CSTOCS_TIMEOUT = 60<br/><br/>HDD_CONF_FILENAME = /usr/local/mfs/etc/mfshdd.cfg<br/><br/><br/><br/>6、配置存放数据的目录(chunkserver) <br/><br/># &nbsp; &nbsp; [root@wenba ~]# cat /usr/local/mfs/etc/mfshdd.cfg <br/><br/>/data<br/><br/>然后要让/mfs有能读写data目录的权限<br/><br/># &nbsp; &nbsp; mkdir /data<br/><br/># &nbsp; &nbsp; chown mfs.mfs /data<br/><br/><br/><br/>7、Chunkserver启动 <br/><br/># &nbsp; &nbsp; /usr/local/mfs/sbin/mfschunkserver<br/><br/>这时候你可以再元服务器的/var/log/messages中看到chunkserver注册的信息,从下面可以看出有2台chunkserver，总空间75G.<br/><br/>Sep 17 13:38:00 oss1 mfsmaster[4988]: chunkservers status:<br/><br/>Sep 17 13:38:00 oss1 mfsmaster[4988]: server 1 (192.168.1.48): usedspace: 7156297728 (6 GB), totalspace: 40628744192 (37 GB), usage:<br/><br/>17.61%<br/><br/>Sep 17 13:38:00 oss1 mfsmaster[4988]: server 2 (192.168.1.47): usedspace: 6781362176 (6 GB), totalspace: 40628744192 (37 GB), usage:<br/><br/>16.69%<br/><br/>Sep 17 13:38:00 oss1 mfsmaster[4988]: total: usedspace: 13937659904 (12 GB), totalspace: 81257488384 (75 GB), usage:<br/><br/><br/><br/>8、Client的安装，应用<br/><br/>a）、首先要安装Fuse, Linux从2.6.14版本开始通过FUSE模块支持在用户空间实现文件系统<br/><br/># &nbsp;Tar zxvf &nbsp;fuse-2.7.4.tar.gz<br/><br/># &nbsp;Cd fuse-2.7.4<br/><br/># &nbsp;./configure<br/><br/># &nbsp;Make <br/><br/># &nbsp;Make install<br/><br/>编辑 /etc/ld.so.config 加入<br/><br/>include /usr/local/lib<br/><br/># &nbsp;depmod –a <br/><br/>b）、安装Mfs<br/><br/># &nbsp; &nbsp; tar zxvf mfs-1.5.12.tar.gz<br/><br/># &nbsp; &nbsp; cd mfs-1.5.12<br/><br/># &nbsp; &nbsp; useradd -s /sbin/nologin mfs<br/><br/># &nbsp; &nbsp; ./configure --prefix=/usr/local/mfs --with-default-user=mfs --with-default-group=mfs --disable-mfsmaster &nbsp;–enable-mfsmount<br/><br/># &nbsp; &nbsp; make<br/><br/> &nbsp; &nbsp; &nbsp; # &nbsp; &nbsp; make install<br/><br/>载入fuse模块<br/><br/># &nbsp; &nbsp; &nbsp;modprobe fuse<br/><br/>创建mfs挂接目录，默认在/mnt/mfs下，可以使用-w挂在别的目录下<br/><br/> &nbsp; &nbsp; &nbsp; # &nbsp; &nbsp; mkdir /mnt/mfs<br/><br/>挂接目录<br/><br/># &nbsp; &nbsp; /usr/local/mfs/bin/mfsmount -h 192.168.1.230<br/><br/><br/><br/>9、测试<br/><br/>[root@localhost test]# df -h<br/><br/>Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on<br/><br/>/dev/mapper/VolGroup00-LogVol00<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 72G &nbsp;2.7G &nbsp; 66G &nbsp; 4% /<br/><br/>/dev/hdc1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;76G &nbsp;930M &nbsp; 71G &nbsp; 2% /back<br/><br/>/dev/hda1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;99M &nbsp; 17M &nbsp; 77M &nbsp;19% /boot<br/><br/>tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 490M &nbsp; &nbsp; 0 &nbsp;490M &nbsp; 0% /dev/shm<br/><br/>MFS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;76G &nbsp; 14G &nbsp; 62G &nbsp;19% /mnt/mfs<br/><br/>现在可以向/mnt/mfs 中写入数据测试了<br/><br/>六、安装过程中遇到的一些问题<br/>1、create-md的时候总是出现下面的问题 <br/><br/>注：mds1在create-md的时候总是出现下面的问题，<br/><br/>[root@mds1 ~]# drbdadm create-md r0 &nbsp;<br/>md_offset 2023411712<br/>al_offset 2023378944<br/>bm_offset 2023313408<br/><br/>Found ext3 filesystem which uses 1975992 kB<br/>current configuration leaves usable 1975892 kB<br/><br/>Device size would be truncated, which<br/>would corrupt data and result in<br/>'access beyond end of device' errors.<br/>You need to either<br/> &nbsp; * use external meta data (recommended)<br/> &nbsp; * shrink that filesystem first<br/> &nbsp; * zero out the device (destroy the filesystem)<br/>Operation refused.<br/><br/>Command 'drbdmeta 0 v08 /dev/sda3 internal create-md' terminated with exit code 40<br/>drbdadm create-md r0: exited with code 40<br/><br/>解决方法：dd if=/dev/zero bs=1M count=1 of=/dev/sda3 &nbsp;然后再执行drbdadm create-md r0 &nbsp;<br/><br/>2、mfs编译过程中的问题 <br/><br/>如果configure过程中出现” checking for fuse .....no configure” 要配置个环境变量 &nbsp;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH<br/><br/>3、安装moose客户端遇到的问题<br/><br/>checking pkg-config is at least version 0.9.0... yes<br/><br/>checking for FUSE... no<br/><br/>configure: error: mfsmount build was forced, but fuse development package is not installed<br/><br/>解决方法： vim /etc/profile<br/><br/>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH<br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=moosefs" rel="tag">moosefs</a> , <a href="http://blog.5iwww.com/tag.php?tag=mfs" rel="tag">mfs</a> , <a href="http://blog.5iwww.com/tag.php?tag=heartbeat" rel="tag">heartbeat</a> , <a href="http://blog.5iwww.com/tag.php?tag=drbd" rel="tag">drbd</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E9%AB%98%E5%8F%AF%E7%94%A8" rel="tag">高可用</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1140</link>
<title>30岁</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>闲言碎语</category>
<pubDate>Sun, 14 Feb 2010 18:53:01 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1140</guid> 
<description>
<![CDATA[ 
	一晃 30岁末 <br/><br/>30岁的1年 发生了以下事情 <br/><br/>换工作和升值<br/><br/>交友，相处1年多<br/><br/>AFK cwow实属无奈<br/><br/>爱上了wowtcg 沉迷于此 <br/><br/>牵扯上买房被骗风波<br/><br/>搬家，租房。。。。。。<br/><br/>定期的打羽毛球。。。。。。<br/><br/>30岁的1年发生的事情，恐怕在早些年几年加起来也未无法比拟，无论是数量上还是复杂度上。<br/><br/>现在最烦的是那些保险员，推销员 <br/><br/>现在最喜欢的，是美腿MM和魔兽世界卡牌 
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1139</link>
<title>ARM Linux NTFS 文件系统读写</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>技术文档</category>
<pubDate>Thu, 11 Feb 2010 09:30:22 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1139</guid> 
<description>
<![CDATA[ 
	一、准备<br/><br/>1、 module-init-tools-3.0.tar.bz2<br/><br/>2、 ntfs-3g-1.2812.tgz<br/><br/>3、 fuse-2.5.2.tar.gz<br/><br/>二、环境<br/><br/>我的是在fedore 8,arm-linux-gcc-3.3.2。<br/><br/>export PATH=/usr/local/arm/3.3.2/bin/:$PATH<br/><br/>因为arm-linux kernel 我也是用arm-linux-gcc-3.3.2来编释的，使用中发现编释kernel和编释fuse- <br/><br/>2.5.2.tar.gz不一样的话，编释fuse-2.5.2.tar.gz出来的fuse.ko不能ismod或modprobe。<br/><br/>三、安装过程<br/><br/>1、编释module-init-tools工具，后面要用到。<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; tar xvjf module-init-tools-3.0.tar.bz2<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; ./configue CC=arm-linux-gcc –host=arm-linux –prefix=/usr/mod_init<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; make install<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; cp –fdr /usr/ntfs-g3 <到arm-linux 的/usr 目录下><br/><br/><br/>2、编释ntfs-3g<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; tar xvzf ntfs-3g-1.2812.tgz<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; ./configue CC=arm-linux-gcc –host=arm-linux –prefix=/usr/ntfs-g3<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; make install<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; cp –fdr /usr/ntfs-g3 <到arm-linux 的/usr 目录下><br/><br/><br/> &nbsp; 3、编释fuse<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; tar xvzf fuse-2.5.2.tar.gz<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; ./configure CC=arm-linux-gcc --host=arm-linux --enable-kernel-module --with-<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;kernel=/home/longjindong/single-flash-linux-2.6.15-8140<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; make<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;这里不要install..<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; cp fuse.ko <到arm-linux 的/lib/modules/2.6.15/ 目录下，如果没有这个目录，那就<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; mkdir –p /lib/modules/2.6.15/ ><br/><br/>四、使用<br/><br/> &nbsp; &nbsp; 面作了那么多，现在该开始到ARM里面使用了。<br/><br/> &nbsp; &nbsp;1、到/usr/mod_init/sbin 运行depmod 生成fuse.ko相关依赖和配置文件。<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp; /usr/mod_init/sbin/ depmod fuse.ko<br/><br/> &nbsp; &nbsp;2、插入ntfs格式的盘并用fdisk –l &#124; grep NTFS 看此盘是哪个device.。 <br/><br/> &nbsp; &nbsp; &nbsp;# fdisk -l &#124; grep NTFS<br/><br/> &nbsp; &nbsp; &nbsp;/dev/sdc1 &nbsp; 1 &nbsp; 19457 &nbsp; 156288321 &nbsp; 7 HPFS/NTFS<br/><br/> &nbsp; 3、 把fuse.ko装入内核<br/><br/> &nbsp; &nbsp; &nbsp;modprobe fuse.ko （试过，直接insmod /lib/modules/2.6.15/fuse.ko 也可以）<br/><br/> &nbsp; 4、 mount ntfs分区<br/><br/> &nbsp; &nbsp; &nbsp; /usr/ntfs/bin/ntfs-3g /dev/sdc1 /mnt/ntfs -o silent,umask=0<br/><br/> &nbsp; &nbsp; &nbsp; 好了，到/mnt下就可以读写ntfs了，但是不支持中文文件和目录，那是因为我的ARM linux里没安<br/><br/> &nbsp; &nbsp;装配置loclae语言支持；如果你已经安装置了locale,那就用：<br/><br/> &nbsp; &nbsp;/usr/ntfs/bin /ntfs-3g /dev/sdc1 /mnt/ntfs -o silent,umask=0,locale=zh_CN.utf8<br/><br/> &nbsp; &nbsp;就ok了。<br/><br/>五、问题<br/><br/> &nbsp; &nbsp;1、由于ntfs-3g是install到一个文件夹然后才使用的，不像在x386上，不用配--prefix，所以在使<br/><br/> &nbsp; &nbsp;用 中用如下命不起作用：<br/><br/> &nbsp; &nbsp; ＃mount -t ntfs-3g /dev/sdc1 /mnt/ntfs （提示无法识别 ntfs-3g差数，但org上说可以这么用）<br/><br/> &nbsp; &nbsp; &nbsp;这么问题我还没解决了，也许是我的方法有问题了，但是我还不知道怎么解决。<br/><br/>六、其它<br/><br/> &nbsp; &nbsp;1、多国语言支持主要是靠locale.arm-linux-gcc 3.4.1中就包含了locale。其中arm-linux/lib中的<br/><br/> &nbsp; gconv就是字体转化时候用到的库.我们把gconv文件夹copy到开发板文件系统/usr/lib下面.把 arm- <br/><br/> &nbsp; linux/share文件夹copy到文件系统/usr下面。把arm-linux/locale和localedef复制到/usr/bin下面.<br/><br/> &nbsp; 通过localedef设置相应字体,将会在/usr/lib/locale下面生成locale-archive.这样就可以实现对不同<br/><br/> &nbsp; 语言的支持.<br/> &nbsp; &nbsp; &nbsp;不过整个移植比较大，根据不同需求裁减gconv中的库文件 和i18n,以及locale,这样就能减少很大<br/><br/> &nbsp; 空间。<br/><br/><br/> &nbsp; &nbsp; &nbsp;2 、编译某个内核模块<br/> &nbsp; &nbsp; &nbsp; 编内核难免有的时候忘记了配置某个模块，导致该模块不可用，那是不是必须重新配置内核并重新<br/><br/> &nbsp; 编译呢，答案是否定的，完全可以单独编译某一个内核模块。<br/><br/> &nbsp; 我在使用最新的fuse-2.8.0-pre1时，发现其中已经没有fuse模块了，该项目的内核模块看来已经彻底<br/><br/> &nbsp; 移进内核源码中了，而我当前的内核在编译时并没有选中fuse模块，于是就产生了本文一开始的需求。<br/><br/><br/> &nbsp; 定位fuse模块内核代码：/root/linux-2.6.23/fs/fuse/*.c<br/> &nbsp; 查看其下的Makefile：<br/> &nbsp; #<br/> &nbsp; # Makefile for the FUSE filesystem.<br/> &nbsp; #<br/> &nbsp; obj-$(CONFIG_FUSE_FS) += fuse.o<br/> &nbsp; fuse-objs := dev.o dir.o file.o inode.o control.o<br/><br/> &nbsp; 进行如下操作即可单独编译fuse模块：<br/> &nbsp; [root@localhost ~]# make CONFIG_FUSE_FS=m -C /root/linux-2.6.23 M=/root/linux- <br/><br/> &nbsp; &nbsp;2.6.23/fs/fuse modules<br/><br/> &nbsp; 然后手动将生成的fuse.ko拷贝到/lib/modules/2.6.23/kernel/fs/fuse/fuse.ko<br/> &nbsp; 运行depmod -a重新配置依赖关系，以后就可以通过modprobe fuse来加载fuse模块了。<br/><br/><br/> &nbsp; 类似其他可编译成模块的内核代码都可以这样单独编译<br/><br/> &nbsp; &nbsp; 这两段是从网上copy过来的。<br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=arm" rel="tag">arm</a> , <a href="http://blog.5iwww.com/tag.php?tag=linux" rel="tag">linux</a> , <a href="http://blog.5iwww.com/tag.php?tag=ntfs" rel="tag">ntfs</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1138</link>
<title>好久没YY了~</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>图片收藏</category>
<pubDate>Wed, 10 Feb 2010 09:51:47 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1138</guid> 
<description>
<![CDATA[ 
	<a href="http://blog.5iwww.com/attachment/1265795463_0.jpg" target="_blank"><img src="http://blog.5iwww.com/attachment/1265795463_0.jpg" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>恩 这个要是我住在松鹤胡同奶奶家院子后面古庙里的姐姐就好了..... 
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1137</link>
<title>国内的rhel,fc,cent os系列yum源配置指南（以教育网为例）</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>技术文档</category>
<pubDate>Tue,  9 Feb 2010 06:08:08 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1137</guid> 
<description>
<![CDATA[ 
	声明：本文参考了互联网上的几篇文章，对其整理，取长舍短而成。但配置和源地址都没做测试。所以并不能承诺其有效性。本文旨在给出一个对Fedora core，CentOS，和Rhel的通用参考，非傻瓜化教程，有些地方需要变通一下。 <br/> &nbsp;<br/>（一）、修改文件，加入访问快的源地址：通过有3种修改方法： <br/>1、直接在/etc/yum.conf中加入相关设置，并删除/etc/yum.repos.d目录或将其改名　（不推荐）　 <br/> &nbsp;<br/><br/>2、修改/etc/yum.repos.d下面的相关文件，可以在*base.repo里修改，把[base]，[update] 等选项下的baseurl换成你访问快的源地址。 <br/> &nbsp;<br/>3、将/etc/yum.repos.d下面原有文件中的[base]，[update] 等选项下加入enabled=0这一行，然后新建一个自己的xxx.repo文件。当然此文件中就要设为enabled=1了。 <br/> &nbsp;<br/>一个范例格式:（通用于方式1,2，3） <br/>[base] <br/>name=CentOS-5 - Base <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/os/$basearch/ <br/>gpgcheck=1 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 <br/><br/>#released updates <br/>[update] <br/>name=CentOS-5 - Updates <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/updates/$basearch/ <br/>gpgcheck=1 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 <br/><br/>#packages used/produced in the build but not released <br/>[addons] <br/>name=CentOS-5 - Addons <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/addons/$basearch/ <br/>gpgcheck=1 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 <br/><br/>#additional packages that may be useful <br/>[extras] <br/>name=CentOS-5 - Extras <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/extras/$basearch/ <br/>gpgcheck=1 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 <br/><br/>#additional packages that extend functionality of existing packages <br/>[centosplus] <br/>name=CentOS-5 - Plus <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/centosplus/$basearch/ <br/>gpgcheck=1 <br/>enabled=0 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 <br/><br/>#contrib - packages by Centos Users <br/>[contrib] <br/>name=CentOS-5 - Contrib <br/>baseurl=http://ftp.sjtu.edu.cn/centos/5/contrib/$basearch/ <br/>gpgcheck=1 <br/>enabled=0 <br/>gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5<br/> <br/><br/>（注：可以将baseurl修改成为你认为更快的镜像的地址，但是注意每个镜像的文件夹格局不一样，修改时请首先登陆相应的镜像，查看/repodata/文件夹所在的位置，因为YUM首先查找这个文件夹中的更新信息，然后才能获得软件的更新信息并告知用户。<br/>如上面所讲得例子中，<a href="http://ftp.sjtu.edu.cn/centos/5/os/$basearch/" target="_blank">http://ftp.sjtu.edu.cn/cen...</a>就是/repodata/的父目录。更多的国内yum源地址参见本文附录。 <br/>$releasever表示当前的OS版本号，如FC5或centos5那这个字符串都将被服务器解析为5，也可以自己改成5。<br/>$basearch表示你所使用的电脑的架构，如果是PC机（一般个人使用的这种）就会解析为i386。） <br/> &nbsp;<br/>（二）、 导入key ＃rpm --import <a href="http://ftp.sjtu.edu.cn/centos/5/os/i386/RPM-GPG-KEY-CentOS-5" target="_blank">http://ftp.sjtu.edu.cn/cen...</a> <br/> &nbsp;<br/>运行，测试：＃yum update <br/> &nbsp;<br/>（三）、附录：一些国内可用的源 <br/><a href="http://mirror.vmmatrix.net/" target="_blank">http://mirror.vmmatrix.net...</a> CDN Auto Select<br/><a href="http://dxmirror.vmmatrix.net/" target="_blank">http://dxmirror.vmmatrix.n...</a> China Telecom<br/><a href="http://cncmirror.vmmatrix.net/" target="_blank">http://cncmirror.vmmatrix....</a> China Netcom<br/><br/><a href="ftp://202.38.97.230/sites/fedora.redhat.com" target="_blank">ftp://202.38.97.230/sites/...</a> 中国教育总网（速度超快）<br/><a href="ftp://ftp.sjtu.edu.cn/" target="_blank">ftp://ftp.sjtu.edu.cn/</a> 上海交通大学（上海交大的源很新，和国外几乎是同步）<br/><a href="ftp://ftp.tsinghua.edu.cn" target="_blank">ftp://ftp.tsinghua.edu.cn</a> 清华大学<br/><a href="ftp://ftp2.tsinghua.edu.cn/" target="_blank">ftp://ftp2.tsinghua.edu.cn...</a> 清华大学2<br/><a href="ftp://ftp3.tsinghua.edu.cn/" target="_blank">ftp://ftp3.tsinghua.edu.cn...</a> 清华大学3（上海交大的livna没有镜像，只好用清华大学的）<br/>修改[livna]一节的代码如下： <br/><br/>[livna]<br/>name=livna $releasever - $basearch<br/>baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/<br/>enabled=1<br/>gpgcheck=1<br/>gpgkey=file:///etc/pki/rpm-gpg/RPM-LIVNA-GPG-KEY <a href="http://rpm.livna.org/RPM-LIVNA-GPG-KEY" target="_blank">http://rpm.livna.org/RPM-L...</a> <br/><br/> &nbsp;<br/>其中，RPM-LIVNA-GPG-KEY可以在<br/><a href="ftp://ftp3.tsinghua.edu.cn/mirror/livna" target="_blank">ftp://ftp3.tsinghua.edu.cn...</a><br/>下载，并保存到/etc/pki/rpm-gpg/RPM-LIVNA-GPG-KEY中<br/>另外，由于axelget插件会skip ftp site导致无法正常从ftp3.tsinghua.edu.cn下载，所以建议卸载掉axel plugin，或者在执行yum install的时候，使用<br/>--disableplugin=axelget选项，建议卸载，因为教育网的用户连这两个网站的速度够快的了。<br/>文章出处：DIY部落(<a href="http://www.diybl.com/course/6_system/linux/Linuxjs/20090314/161492.html)" target="_blank">http://www.diybl.com/cours...</a><br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=yum" rel="tag">yum</a> , <a href="http://blog.5iwww.com/tag.php?tag=centos" rel="tag">centos</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E6%9B%B4%E6%96%B0%E6%BA%90" rel="tag">更新源</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1136</link>
<title>360度绩效考核</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>疯狂转贴</category>
<pubDate>Mon,  8 Feb 2010 08:18:16 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1136</guid> 
<description>
<![CDATA[ 
	360度绩效考核法概念<br/>　　360度反馈（360°Feedback），又称“360度绩效考核法”或“全方位考核法”，最早由被誉为“美国力量象征”的典范企业英特尔首先提出并加以实施的。360度绩效反馈是指由员工自己、上司、直接部属、同仁同事甚至顾客等全方位的各个角度来了解个人的绩效：沟通技巧、人际关系、领导能力、行政能力……通过这种理想的绩效评估，被评估者不仅可以从自己、上司、部属、同事甚至顾客处获得多种角度的反馈，也可从这些不同的反馈清楚地知道自己的不足、长处与发展需求，使以后的职业发展更为顺畅。<br/><br/>360度反馈绩效评价主体与客体<br/>　　① 自己<br/>　　自我评价，是指让经理人针对自己在工作期间的绩效表现，或根据绩效表现评估其能力和并据此设定未来的目标。当员工对自己做评估时，通常会降低自我防卫意识，从而了解自己的不足，进而愿意加强、补充自己尚待开发或不足之处。<br/>　　② 同事<br/>　　同事的评价，是指由同事互评绩效的方式，来达到绩效评估的目的。对一些工作而言，有时上级与下属相处的时间与沟通机会，反而没有下属彼此之间多。在这种上级与下属接触的时间不多，彼此之间的沟通也非常少的情况下，上级要对部属做绩效评估也就非常困难。但相反的，下属彼此间工作在一起的时间很长，所以他们相互间的了解反而会比上级与部属更多。此时，他们之间的互评，反而能比较客观。而且，部属之间的互评，可以让彼此知道自己在人际沟通这方面的能力。<br/>　　③ 下属<br/>　　由部属来评价上司，这个观念对传统的人力资源工作者而言似乎有点不可思议。但随着知识经济的发展，有越来越多的公司让员工评估其上级主管的绩效，此过程称为向上反馈。而这种绩效评估的方式对上级主管发展潜能上的开发，特别有价值。管理者可以通过下属的反馈，清楚地知道自己的管理能力有什么地方需要加强。若自己对自己的了解与部属的评价之间有太大的落差，则主管亦可针对这个落差，深入了解其中的原因。因此，一些人力资源管理专家认为，下属对上级主管的评估，会对其管理才能的发展有很大的裨益。<br/>　　④ 客户<br/>　　客户的评价对从事服务业、销售业的人员特别重要。因为唯有客户最清楚员工在客户服务关系、行销技巧等方面的表现与态度如何。所以，在类似的相关行业中，在绩效评估的制度上不妨将客户的评价列入评估系统之中。<br/>　　⑤ 主管<br/>　　主管的评价是绩效评估中最常见的方式，即绩效评估的工作是由主管来执行。因此身为主管必须熟悉评估方法，并善用绩效评估的结果做为指导部属，发展部属潜能的重要武器。<br/>　　随着企业的调整，一些公司常常会推动一些跨部门的合作方案，因此一些员工可能同时会与很多主管一起共事。所以在绩效评估的系统建立上，亦可将多主管、矩阵式的绩效评估方式纳入绩效评估系统之中。<br/>操作过程<br/>　　① 准备阶段<br/>　　准备工作相当重要，它影响着评估过程的顺利进行和评估结果的有效性。准备阶段的主要目的是使所有相关人员，包括所有评估者与受评者，以及所有可能接触或利用评估结果的管理人员，正确理解企业实施360度评估的目的和作用，进而建立起对该评估方法的信任。<br/>　　② 评估阶段<br/>　　 组建360度绩效反馈队伍。必须注意评估要征得受评者的同意，这样才能保证受评者对最终结果的认同和接受。<br/>　　 对评估者进行360度评估反馈技术的培训。为避免评估结果受到评估者主观因素的影响，企业在执行360度评估反馈方法时需要对评估者进行培训，使他们熟悉并能正确使用该技术。此外，理想情况下，企业最好能根据本公司的情况建立自己的能力模型要求，并在此基础上，设计360度反馈问卷。<br/>　　 实施360度评估反馈。分别由上级、同级、下级、相关客户和本人按各个维度标准，进行评估。评估过程中，除了上级对下级的评估无法实现保密之外，其他几种类型的评估最好是采取匿名的方式，必须严格维护填表人的匿名权以及对评估结果报告的保密性，大量研究表明，在匿名评估的方式下，人们往往愿意提供更为真实的信息。<br/>　　 统计并报告结果。在提供360度评估报告时要注意对评估者匿名需要的保护。还有重要的一点，要确保其科学性。例如，报告中列出各类评估人数一般以3～5人为底限；如果某类评估者（如下级）少于3人的话，则必须归入其他类，而不得单独以下级评估的方式呈现评估结果。<br/>　　 企业管理部门针对反馈的问题制定相应措施。<br/>　　③ 反馈和辅导阶段<br/>　　向受评者提供反馈和辅导是一个非常重要的环节。通过来自各方的反馈（包括上级、同事、下级、自己以及客户等），可以让受评者更加全面地了解自己的长处和短处，更清楚地认识到公司和上级对自己的期望及目前存在的差距。根据经验，在第一次实施360度评估和反馈项目时，最好请专家或顾问开展一对一的反馈辅导谈话，以指导受评者如何去阅读、解释以及充分利用360评估和反馈报告。另外，请外部专家或顾问也容易形成一种“安全”（即不用担心是否会受惩罚等）的氛围，有利于与受评者深入交流。<br/><br/>360度绩效考核优缺点<br/>　　① 360度绩效反馈法优点：<br/>　　 打破了由上级考核下属的传统考核制度，可以避免传统考核中考核者极容易发生的“光环效应”、“居中趋势”、“偏紧或偏松”、“个人偏见”和“考核盲点”等现象。<br/>　　 一个员工想要影响多个人是困难的，管理层获得的信息更准确。<br/>　　 可以反映出不同考核者对于同一被考核者不同的看法。<br/>　　 防止被考核者急功近利的行为（如仅仅致力于与薪金密切相关的业绩指标）。<br/>　　 较为全面的反馈信息有助于被考核者多方面能力的提升。<br/>　　360度绩效反馈法实际上是员工参与管理的方式，在一定程度上增加他们的自主性和对工作的控制，员工的积极性会更高，对组织会更忠诚，提高了员工的工作满意度。<br/>　　② 360度绩效反馈法的不足在于：<br/>　　 考核成本高。当一个人要对多个同伴进行考核时，时间耗费多，由多人来共同考核所导致的成本上升可能会超过考核所带来的价值。<br/>　　 成为某些员工发泄私愤的途径。某些员工不正视上司及同事的批评与建议，将工作上的问题上升为个人情绪，利用考核机会“公报私仇”。<br/>　　 考核培训工作难度大。组织要对所有的员工进行考核制度的培训，因为所有的员工既是考核者又是被考核者。<br/><br/>360度绩效反馈法应用须注意的问题<br/>　　<br/> &nbsp; &nbsp;企业在运用360度绩效考核法时，应注意以下问题：<br/>　　① 正确看待360度绩效反馈法的价值<br/>　　就其目前的发展阶段来说，360度绩效反馈法的最重要价值不是评估本身，而在于能力开发。其价值主要包括两个方面：<br/>　　 可以帮助人们提高对自我的洞察力，更加清楚自己的强项和需要改进的地方，进而制定下一步的能力发展计划；<br/>　　 可以激励人们不断改进自己的行为，尤其是当360度评估和反馈与个人发展计划的制定结合起来时效果更明显。360度方法正是将这种差距明确地呈现给受评人，从而激发起他们积极向上的动力。<br/>　　简单地将360度评估和反馈方法用于评估目的（无论是人才评估还是绩效考评），不仅不能给企业带来预期的效果，而且还有可能产生许多诸如人际关系矛盾、劳民伤财以及降低人力资源部和高层领导的威信等负面影响。<br/>　　② 高层领导的支持<br/>　　360度绩效反馈涉及组织中各个层面的人，甚至还包括组织外部的人员。因此，实施360度绩效反馈只有得到高层领导的全力支持，才有可能真正顺利地开展起来，开展过程中出现的问题也能及时地得以解决。否则，就可能使员工之间的问题升级，影响员工正常工作绩效，甚至造成组织中不可控制的混乱局面。<br/>　　③ 企业的稳定性<br/>　　实施360度绩效反馈的组织应该有一定的稳定性。因为事实上，这种新的工具本身很可能会成为一把双刃利剑，当企业面临重组、裁员或者合并时，员工的不安全感本身就比较高，这时采用360度反馈很可能加重这种体验，从而导致负面的影响。360度反馈对能力发展的作用也就无法体现。<br/>　　④ 建立信任<br/>　　通过操作细节和整个实施过程中的不断沟通，使员工建立起对上级的信任和对反馈中组织所承诺的程序公平的信任，从而对反馈保持开放接受的态度，克服对该技术的抵触情绪。<br/>　　因此，刚开始实施360度绩效反馈时，最好只以能力开发为目的，不作为考核、晋升的依据。这样，员工能较容易地接受并认同这个技术。然后，再逐步将其应用领域（如考评、提升等人事决策）拓展。<br/>　　⑤ 建立长期的人员能力发展计划<br/>　　在将360度绩效反馈应用于领导能力发展时，企业应具备相应的领导能力模型，唯其如此，才可能对现有管理层的领导能力作出合理的评估。许多企业不重视这个前期工作，实际上，360度绩效反馈只是一种评估反馈的方法，而根据领导能力模型编制的问卷才是实施评估的内容，是360度绩效反馈技术能否在企业中起到效果的决定因素之一。许多企业往往忽视建立长期的人员能力发展计划。能力发展不是一朝一夕，也不是一劳永逸的事；需要不断地提高，不断地发展完善。因此，在完成360度绩效反馈之后，必须与受评者一起探讨有关他的能力发展的长期计划。这将关系到领导能力发展最终效果的问题。<br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=360%E5%BA%A6%E7%BB%A9%E6%95%88%E8%80%83%E6%A0%B8" rel="tag">360度绩效考核</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1135</link>
<title>outlook已发送邮件不显示问题</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>心得体会</category>
<pubDate>Tue,  2 Feb 2010 08:28:29 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1135</guid> 
<description>
<![CDATA[ 
	某总监发现自己的outlook邮箱已发送邮件不显示了, 遂提交it部门维修<br/><br/>经过检查, 系该总监电脑系统时间不是当前时间,而为前一个月的时间,故信件全部在旧时间点保存而不是丢失,把系统时间修正后故障消失. <br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=outlook" rel="tag">outlook</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E5%B7%B2%E5%8F%91%E9%80%81%E9%82%AE%E4%BB%B6" rel="tag">已发送邮件</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1134</link>
<title>IIS6.0的配置备份和还原</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>心得体会</category>
<pubDate>Tue, 26 Jan 2010 07:29:29 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1134</guid> 
<description>
<![CDATA[ 
	iisback /backup /b 备份 iis6.0的配置<br/><br/>每个 /backup 操作都创建两个文件：用于存储配置数据库的 .MDx 文件和用于存储架构的 .SCx 文件，其中 x 是备份副本的版本号。IIS 和 iisback.vbs 将备份副本存储在 systemroot&#92;System32&#92;inetsrv&#92;MetaBack 目录中。<br/><br/>iisback /restore/b BackupName 用来恢复配置<br/><br/> /restore 操作是一个复杂的操作，可能需要花几分钟完成。在执行该操作过程中通常会有短暂的延迟。在 /restore 过程中，网页、FTP 站点以及 SMTP 和 NNTP 服务被暂时停止。服务会在该操作完成时还原。<br/><br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=iis6" rel="tag">iis6</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E5%A4%87%E4%BB%BD" rel="tag">备份</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E8%BF%98%E5%8E%9F" rel="tag">还原</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1133</link>
<title>linux date</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>技术文档</category>
<pubDate>Mon, 25 Jan 2010 08:22:07 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1133</guid> 
<description>
<![CDATA[ 
	date不只是一个用来以各种格式显示当前日期的命令，还以做一些有趣的推算，算出其他的日期。<br/> <br/>[root@hao32 ]# date<br/>Mon Dec &nbsp;3 12:43:19 CST 2007<br/>[root@hao32 ]# date –date ‘1 day ago’<br/>Sun Dec &nbsp;2 12:43:35 CST 2007<br/>[root@hao32 ]# date –date ‘3 days ago’ <br/>Fri Nov 30 12:43:41 CST 2007<br/>[root@hao32 ]# date –date ‘2 day’ &nbsp; &nbsp; <br/>Wed Dec &nbsp;5 12:44:12 CST 2007<br/>[root@hao32 ]# date –date ‘2 month’<br/>Sun Feb &nbsp;3 12:44:19 CST 2008<br/>[root@hao32 ]# date –date ‘2month’ <br/>Sun Feb &nbsp;3 12:44:28 CST 2008<br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=linux" rel="tag">linux</a> , <a href="http://blog.5iwww.com/tag.php?tag=date" rel="tag">date</a>
  ]]> 
</description>
</item><item>
<link>http://blog.5iwww.com/read.php?1132</link>
<title>asp.net网站访问映射网络驱动器的问题</title> 
<author>井宿 &lt;wanjun@5iwww.com&gt;</author>
<category>技术文档</category>
<pubDate>Mon, 25 Jan 2010 08:18:27 +0000</pubDate> 
<guid>http://blog.5iwww.com/read.php?1132</guid> 
<description>
<![CDATA[ 
	1. <br/>Web.Config中设置asp.net运行的帐号 <br/><div class="code">&lt;identity impersonate=&quot;true&quot; userName=&quot;filestorage&quot; password=&quot;123456&quot;/&gt;</div><br/>2. <br/>在 asp.net运行的系统和文件存储服务器的系统中新建以 filestorage 为用户名, 123456为密码的帐号，并赋予相应的权限。 <br/>3. <br/>文件存储服务器上设置好了帐号之后，在新建一个share并赋予filestorage帐号的权限 <br/>4. <br/>Web server的asp.net程序上就可以通过serverName(IP);shareName 来访问共享出来的文件夹了。 <br/><br/>官方文档：<br/><a href="http://support.microsoft.com/default.aspx?scid=KB;en-us;306158&" target="_blank">http://support.microsoft.c...</a><br/>Tags - <a href="http://blog.5iwww.com/tag.php?tag=asp.net" rel="tag">asp.net</a> , <a href="http://blog.5iwww.com/tag.php?tag=%E7%BD%91%E7%BB%9C%E9%A9%B1%E5%8A%A8%E5%99%A8" rel="tag">网络驱动器</a>
  ]]> 
</description>
</item>
</channel>
</rss>