博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
wangqh_2008
超越梦想
wangqh2008.cublog.cn
管理博客
发表文章
留言
收藏夹
· AIX
· blog_address
· 软件收藏
· 视频教程,文档
· 生活
· 数据库
}
· db2
· mysql
· oracle
· postsql
· sqlserver
· FreeBSD
· HR
· 外语学习
}
· 日语
· 英语
· IBM websphere
· 网络
}
· cisco
· d-link
· 无线网络
· 常用技巧
· 常见故障
· 方案
· 华为
· linux
}
· CVS
· FTP
· http
· mantis
· pell
· shell
· 安装
· 常用网址下载
· 常用服务配置
· 常用技巧
· 学用Lotus
· 娱乐游戏
· 邮件相关
}
· exchange
· extmail
· postfix
· qmail
· sendmail
· 其他
· 音乐
· slaris
· VPN
· windows
}
· 日常维护
· Vista
· windows2003server
· windows2008server
· windows7
· xp
· 安装
· 常用服务配置
· 培训
· 企业应用
· 汽车驾驶
· 安全相关
}
· 防火墙
· 笔记本杂谈
· 备份与恢复
· 常用链接
· 常用网络地址收藏
· 存储
· 电话系统
· 方案文档下载
· 服务集群
· 负载均衡
· 租房网站
博客圈
音乐
相册
· softbrain
文章
· EPM ESM
· 生活
· 数据库
}
· DB2
· mysql
· oracle
· postsql
· sqlserver
· 常见问题解决方案
· 网络技术
}
· 3com
· cisco
· D-Link
· 网络基础知识
· 无线网络
· TP-Link
· VPN
· 北电
· 常见问题解决方案
· 华为
· mail服务器
}
· exchange
· extmail
· iredmail
· postfix邮件系统
· postfix反垃圾反病毒
· qmail邮件系统
· sendmail邮件系统
· 学习
· 娱乐
· 娱乐与游戏
· 应用服务器
}
· 论坛
· cvs服务器
· OA
· 硬件故障与检测
· VOIP
· websphere
· 企业应用
}
· dabases
· linux
· network
· windows
· 开源监控与IT管理
· 汽车驾驶
· 安全相关
· 备份与恢复
· 操作系统
}
· AIX
· FreeBSD
· linux
· solaris
· windows VISTA
· windows2003server
· windows2008server
· windows7
· windowsxp
· 常见问题解决方案
· 存储
· 电脑装机指南
· 电话系统
· 防火墙
}
· cisco防火墙
· netcsreen
· 方案
· 负载均衡
· 集群
· 健身
· 经验与技巧
首页
关于作者
姓名:jerry 职业: 年龄: 位置:AM地 个性介绍: MSN:wangqh_2008@hotmail.com
||
<<
>>
||
我的分类
最新文章
·
微软Project项目管理软件..
·
nagios安装配置笔记
·
用yum快速搭建nagios监控..
·
用nagios监控ORACLE服务器
·
经验: 维护Exchange Ser..
最新留言
最新评论
·
(web server软件)UFO不会出..
·
非常感谢
·
非常感谢 !
·
不错,谢谢。
转到我的空..
·
非常感谢
最新收藏
·
资源 - 我的收藏 - 性格决..
·
流量分析中端口镜像配置方..
·
在linux下安装配置svn独立..
·
SVN 客户端 命令详解 - 常..
·
SVN使用笔记 - SVN管理使..
统计信息
·
总访问量:243739
·
文章个数:184
·
评论条数:21
·
留言条数:0
·
网友推荐:
微软Project项目管理软件简介
<DIV> <DIV class=article id=article align=left> <H1 class=subject style="WORD-WRAP: break-word"><B><IMG src="http://img1.51cto.com/images/orig_1.gif" border=0> 微软Project项目管理软件简介 <A href="http://blog.51cto.com/artcommend" target=_blank><IMG src="http://img1.51cto.com/images/tuijian_1.gif" border=0></A></B> </H1> <HR style="BORDER-RIGHT: #eeeeee 1px solid; BORDER-TOP: #eeeeee 1px solid; BORDER-LEFT: #eeeeee 1px solid; BORDER-BOTTOM: #eeeeee 1px solid" align=center width="94%" SIZE=1> <DIV> <DIV class=posttime><SMALL><FONT size=2>2007-07-15 01:24:26</FONT></SMALL></DIV> <DIV style="PADDING-LEFT: 20px; WIDTH: 94%"> 标签:<SPAN style="COLOR: #aaaaaa"><A class=operlink href="http://blog.51cto.com/tagindex.php?keyword=%CE%A2%C8%ED" target=_blank><FONT color=#0000ff>微软</FONT></A> <A class=operlink href="http://blog.51cto.com/tagindex.php?keyword=%CF%EE%C4%BF%B9%DC%C0%ED" target=_blank><FONT color=#0000ff>项目管理</FONT></A> <A class=operlink href="http://blog.51cto.com/tagindex.php?keyword=%BC%F2%BD%E9" target=_blank><FONT color=#0000ff>简介</FONT></A> <A class=operlink href="http://blog.51cto.com/tagindex.php?keyword=Project" target=_blank><FONT color=#800080>Project</FONT></A></SPAN> [<A class=operlink onclick="javascript:dfanologin();return false;" href="http://dingwei.blog.51cto.com/#"><FONT color=#0000ff>推送到技术圈</FONT></A>] <BR><BR></DIV></DIV> <DIV> <TABLE id=content style="TABLE-LAYOUT: fixed; WIDTH: 650px" cellSpacing=10 cellPadding=0 width=650 border=0> <TBODY> <TR> <TD> <DIV class=copy><STRONG>版权声明:</STRONG>原创作品,允许转载,转载时请务必以超链接形式标明文章 <A style="TEXT-DECORATION: underline" href="http://dingwei.blog.51cto.com/194576/34135" target=_blank><FONT color=#800080>原始出处</FONT></A> 、作者信息和本声明。否则将追究法律责任。<A href="http://dingwei.blog.51cto.com/194576/34135"><FONT color=#800080>http://dingwei.blog.51cto.com/194576/34135</FONT></A></DIV></TD></TR> <TR> <TD> <DIV style="FONT-SIZE: 10pt; WORD-BREAK: break-all; POSITION: relative; WORD-WRAP: break-word"> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt" align=left><FONT face=Arial color=#800080 size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: calibri; mso-hansi-font-family: calibri"><IMG style="WIDTH: 219px; HEIGHT: 227px" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' height=214 alt="" src="http://img1.51cto.com/attachment/200707/200707151184434418008.jpg" width=213 border=0></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt" align=left><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: calibri; mso-hansi-font-family: calibri"> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">有些朋友可能对微<FONT face=Arial>软的Project产品比较陌生,今天我来做个简要介绍。</FONT></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">微软的</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">软件是</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Office</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">办公软件的组件之一,是一个通用的项目管理工具软件,它集成了国际上许多现代的、成熟的管理理念和管理方法,能够帮助项目经理们高效准确的定义和管理各类项目。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">根据美国项目管理协会的定义,项目的管理过程被划分成</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>5</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">个阶段(过程组)。这些过程组是相互联系的:一个过程组的输出可能是另外一个过程组的输入,并且这些过程有可能是连续的。微软的</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">软件能够在这</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>5</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">个阶段中分别发挥重要的作用:</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><FONT face=Arial></FONT></SPAN></B> </DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>1</SPAN></B><B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">、建议阶段:</SPAN></B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">确立项目需求和目标</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">定义项目的基本信息,包括工期和预算</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">预约人力资源和材料资源</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">检查项目的全景,获得干系人的批准</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>2</SPAN></B><B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">、启动和计划阶段:</SPAN></B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">确定项目的里程碑、可交付物、任务、范围</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">开发和调整项目进度计划</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">确定技能、设备、材料的需求</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>3</SPAN></B><B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">、实施阶段:</SPAN></B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l1 level2 lfo2; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">将资源分配到项目的各项任务中</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l1 level2 lfo2; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">保存比较基准,跟踪任务的进度</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l1 level2 lfo2; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">调整计划以适应工期和预算的变更</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>4</SPAN></B><B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">、控制阶段:</SPAN></B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l3 level2 lfo3; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">分析项目信息</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l3 level2 lfo3; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">沟通和报告</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l3 level2 lfo3; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">生成报告,展示项目进展、成本和资源的利用状况</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>5</SPAN></B><B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">、收尾阶段:</SPAN></B><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l2 level2 lfo4; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">总结经验教训</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l2 level2 lfo4; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">创建项目模板</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l2 level2 lfo4; tab-stops: list 72.0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体"><SPAN style="mso-list: ignore">•<SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal" Times New Roman> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">整理与归档项目文件</SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt; TEXT-INDENT: -18pt; mso-list: l2 level2 lfo4; tab-stops: list 72.0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial"><FONT face=Arial></FONT></SPAN> </DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">总之,使用</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">软件,我们不仅可以创建项目、定义分层任务,使项目管理者从大量烦琐的计算绘图中解脱出来,而且还可以设置企业资源和项目成本等基础信息,轻松实现资源的调度和任务的分配。在项目实施阶段,</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-bidi-font-family: arial">能够跟踪和分析项目进度,分析、预测和控制项目成本,以保证项目如期顺利完成,资源得到有效利用,提高经济效益。</SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><FONT face=Arial></FONT></SPAN> </DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">产品可以分为以下几个不同的版本:</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><FONT color=#4169e1><STRONG><EM>Project Standard</EM></STRONG></FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT color=#4169e1><STRONG><EM>:</EM></STRONG></FONT>标准版,只能用于桌面端,适用于独立进行项目管理的</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>PM</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><FONT color=#4169e1><STRONG><EM>Project Professional</EM></STRONG></FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT color=#4169e1><STRONG><EM>:</EM></STRONG></FONT>专业版,可以和后台的服务器相连接,将项目信息发布到服务器上,供企业中的负责人和项目组相关成员查看和协作。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><FONT color=#4169e1><STRONG><EM>Project Server</EM></STRONG></FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT color=#4169e1><STRONG><EM>:</EM></STRONG></FONT>服务器版,安装在企业中的项目管理后台服务器上,存储项目管理信息,实现用户账户和权限的管理,是微软企业项目管理解决方案的基础和核心组件,需要</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Windows SharePoint Service</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">和</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>SQL Server</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">做底层支持。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><EM><FONT color=#4169e1><STRONG><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project Web Access</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">:</SPAN></STRONG></FONT></EM><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Web</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">的方式访问项目站点,了解任务分配情况,分享项目相关文档,在线更新进度状态,提出问题和风险,实现沟通和协作,适用于广大的项目组成员,以及企业中的项目发起人、资源经理和</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>IT</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">部门员工。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">其中,</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project Professional</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">、</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project Server</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">和</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>Project Web Access</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">结合在一起,就组成了<FONT color=#ff0000>微软企业项目管理解决方案</FONT>(</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>EPM</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">)。</SPAN><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif><o:p></o:p></SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT face=Arial><SPAN lang=EN-US style="FONT-FAMILY: " Arial?,?sans-serif>EPM</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial">的组成和结构可以参考下图:</SPAN></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT face=Arial><IMG onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' alt="" src="http://img1.51cto.com/attachment/200707/200707151184436438932.jpg" border=0></FONT></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT face=Arial></FONT></SPAN> </DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><EM><FONT face="Times New Roman"><STRONG>PS:</STRONG> 有关Project Server的安装和部署过程,请参见我的文章:</FONT></EM></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><A href="http://dingwei.blog.51cto.com/194576/39513" target=_blank><FONT style="BACKGROUND-COLOR: #ffff00" face="Times New Roman" color=#ff0000>Project Server 2007安装配置过程图解</FONT></A></SPAN></DIV> <DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-bidi-font-family: arial"><FONT face=Arial></FONT></SPAN> </DIV></SPAN></FONT></DIV> <P>本文出自 “<A href="http://dingwei.blog.51cto.com/"><FONT color=#0000ff>阿拉丁</FONT></A>” 博客,请务必保留此出处<A href="http://dingwei.blog.51cto.com/194576/34135"><FONT color=#800080>http://dingwei.blog.51cto.com/194576/34135</FONT></A></P><A class=hidden href="http://dingwei.blog.51cto.com/194576/34135"><FONT color=#800080>本文出自 51CTO.COM技术博客</FONT></A></DIV></TD></TR></TBODY></TABLE></DIV></DIV><BR></DIV>
查看全文
发表于:2009-06-05 ┆
阅读(34)
┆
评论(0)
nagios安装配置笔记
<DIV>nagios安装配置笔记<BR>作为系统管理员,我最担心那些重要的在线系统在我不知情的情况下停机或停止网络服务,而且那些发生故障的服务或主机有时候可能要好长一段时间才知道(这种情况多发生在节假日),只要一到节假日,很多系统管理员就紧张不已。要改变这种被动局面,我在这里推荐网络监控软件Nagios,个人认为他最大的好处是能够发故障报警短信—只要Nagios监控的对象发生故障,系统就会自动发送短信到手机上。(其实最重要的省下了写shell的功夫,尤其对我这种对正则比较头疼的人)<BR>下面摘录Nagios官方网站的描述:<BR>Nagios is an open source host, service and network monitoring program. Who uses it? Lots of people, including many big companies and organizations:Nagios是个用来监控主机、服务和网络的开放源码软件,很多大的公司或组织都在使用他。<BR>****配置前的准备工作******<BR>***最主要的工作是创建nagios用户及其属组,让nagios的运行用户为nagios而不是root。再把目录/usr/local/nagios的属主配置为nagios,以确保系统的安全。Nagios能够以root用户运行,但并不推荐这样做。用下面的步骤来完成上述过程:<BR>***添加系统帐户nagios: useradd nagios 就很容易的把用户和组nagios添加到系统。有的类型的linux发行版添加用户和组要麻烦一些-需要要添加组,然后再执行 useradd –g nagios nagios这样的操作。在实际的运用场景,nagios用户并没有必要作为系统用户来登录linux系统,因此能够不必配置nagios的用户密码,甚至能够把nagios用户的登录shell配置成/bin/false(usermod -s /bin/nologin nagios)<BR>***更改目录属组:chown –R nagios.nagios /usr/local/nagios 。请注意,有的unix/linux的版本用户和属组分隔符号不是“.”,可能会是这样的形式 chown –R nagios:nagios /usr/local/nagios 。<BR>(一) 安装所需软件<BR>1:安装nagios-2.9.tar.gz<BR> 解压 tar zxvf nagios-2.9.tar.gz<BR> 配置 cd nagiso-2.9 ./configure --prefix=/usr/local/nagios<BR> 编译 make all<BR> useradd nagios<BR> 安装步骤:make install 安装主要的程式、CGI及HTML文档<BR> make install-commandmode 给外部命令访问nagios配置文档的权限<BR> make install-config 把配置文档的例子复制到nagios的安装目录<BR> make install-init 把nagios做成一个运行脚本,使nagios随系统开机启动<BR>验证:转换目录到安装路径(这里是/usr/local/nagios),看是否存在 etc、bin、 sbin、 share、 var这五个目录,假如存在则能够表明程式被正确的安装到系统了。后表是五个目录功能的简要说明:<BR> bin -- Nagios执行程式所在目录,这个目录只有一个文档nagios <BR> etc -- Nagios配置文档位置,初始安装完后,只有几个*.cfg-sample文档 <BR> sbin -- Nagios Cgi文档所在目录,也就是执行外部命令所需文档所在的目录 <BR> Share --Nagios网页文档所在的目录 <BR> Var -- Nagios日志文档、spid 等文档所在的目录 <BR>2:安装nagios的插件<BR> 没有插件,nagios将什么作用也没有,插件也是nagios扩展功能的强大武器。注意:插件和nagios之间的版本关联不大,不一定非得用nagios-plugins-1.4.5这个版本。下载完成后,安装他是很简单的:先执行配置 ./configure –prefix=/usr/local/nagios 接着编译安装 make ; make install即可。这里需要说明一下的是在配置过程指定的安装路径是/usr/local/nagios,而不是/usr/local/nagios-plus,安装完成后,将在目录/usr/local/nagios生成目录libexec(里面有很多文档),这正是nagios所需要的。<BR> –enable-redhat-pthread-workaround 这个参数能够在出现checking for redhat spopen problem… 错误时使用<BR>3:安装web服务器apache<BR> tar zxvf httpd-2.2.0.tar.gz ;cd httpd2.2.0 ;./configure --prefix=/usr/local/apache<BR> ./usr/local/apache/bin/apache1 -t 检查apache是否正确安装<BR>4: sendmail。看看sendmail是否正常运行?我们需要使用sendmail来发送故障报警信息,所以这个包必须能够正常工作。Sendmail分为服务器和客户端两部分,有2种发送报警邮件的方式:<BR>(1)nagios所在的机器通过sendmail客户端程式把邮件发送到专门的邮件服务器,再由邮件服务器把消息发送到用户邮箱。<BR>(2)邮件客户端和服务器端就用nagios所在系统sendmail。第一种方式用起来很规范,但更麻烦,例如需要做地址解析、修改邮件服务器的配置;另外更有一个问题-他还依赖别的系统,增加了故障点和复杂度。第二种方法十分简单,只需启动sendmail服务即可,而且他不再依赖于别的系统和服务。在我工作的实际场景,这两种方法都使用,用专门的邮件服务器会有发送延迟的情况(因为邮件服务器要处理很多其他用户邮件的收发);而直接用sendmail做服务器和客户端就异常简单和方便了。很幸运的是,几乎任何的linux/unix发行版都默认安装sendmail,费了这么多笔墨,其实就做一个动作-把sendmail服务运行起来。<BR>手机短信发送工具。假如公司是sp,有自己的短信通道,直接把发送短信的客户端程式sms_send拷贝到目录/usr/local/bin/下。假如没有短信下发的网关通道,那怎么办呢?网络上有很多短信发送的客户端程式,很有名的就是smsclient,把他下载下来,解包后安装。不要忘记购买手机modem和手机卡,modem只支持SIM卡而不支持cdma。安装完smsclient软件和硬件modem后,测试一下是否正常。假如没有modem又怎么办?办法还是有的:让您的手机号能够接受邮件,这需要您去营业厅开通这项功能。短信报警功能是最有用的功能,我们不可能成天盯着监控屏幕,也不可能成天接受电子邮件,但我们的手机却能够24小时在线,只要被监控对象发生故障,马上就能够收到故障报警短信。以前,我很怕放长假,因为最担心关键的设备或服务在假期出故障而自己不知道,所以放假就变成了值班;想必很多系统管理员都有类似的经历。在我动手部署nagios以前,曾在网上搜索关于nagios配置的文章,发现绝大部分都没有介绍使用手机短信这个方便的功能,真是遗憾呀!再次,强烈建议启用nagios的短信故障报警功能。<BR>5:配置:(分为两个部分)<BR>一、apache 配置<BR>我们分两个步骤来完成这个配置。第一步是修改apache的配置文档httpd.conf,这里的文档路径是/usr/local/apache/conf/httpd.conf 。把apache的运行用户和运行组改成nagios,往下把下面的行追加到文档httpd.conf的末尾:<BR>#setting for nagios<BR>ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin<BR> //Cgi文档所在目录<BR> AuthType Basic<BR> Options ExecCGI<BR> AllowOverride None<BR> Order allow,deny<BR> Allow from all<BR> AuthName "Nagios Access"<BR> AuthUserFile /usr/local/nagios/etc/htpasswd //验证文档路径<BR> Require valid-user<BR>Alias /nagios /usr/local/nagios/share<BR> //nagios页面文档目录<BR> AuthType Basic<BR> Options None<BR> AllowOverride None<BR> Order allow,deny<BR> Allow from all<BR> AuthName "nagios Access"<BR> AuthUserFile /usr/local/nagios/etc/htpasswd //验证文档路径<BR> Require valid-user<BR>上述文本块的作用是对nagios的目录进行用户验证,只有合法的授权用户才能够访问nagios的页面文档。第二步是生成用户验证文档:就会生成web的合法访问用户sery;命令交互执行,需要输入2次密码,然后就在文档/usr/local/nagios/etc/htpasswd写入一行-第一个字段是刚生成的用户名,第二个是加密后的密码,假如还要添加更多的用户,执行命令 htpasswd 就无需选项 “-c”,否则就会覆盖任何已生成的行。<BR>配置完成后,执行/usr/local/apache/bin/apachctl –t 检查apache配置文档是否有语法错误,无误后用/usr/local/apache/bin/apachctl start & 把apache启动,然后从另外的机器的浏览器输入nagios 的访问地址(如:<BR><A href="http://ip/nagios">http://ip/nagios</A><BR>),假如正常,将出现登录验证窗口等待用户输入,输入用htpasswd创建的用户名和密码测试一下,没有问题的话,进行下一步配置操作.<BR>二、nagios配置<BR>刚安装完成的nagios,其配置文档的目录是/usr/local/nagios/etc,先把这些文档改名,如 cgi.cfg-sample改成cgi.cfg ,用命令cp cgi.cfg-sample cgi.cfg …依样把余下的几个*.cfg-sample都复制成*.cfg文档。从nagios2.6版开始,不用修改配置文档localhost.cfg就能够直接运行../bin/nagios –v nagios.cfg验证程式是否能正常运行(nagios2.5及以前版本的最小运行的配置文档是minimal.cfg,但需要修改这个文档多处才能验证成功)。当然,我们不能指望这个最小的配置文档能够满足实际的需求,因此,需要对现有的配置文档进行修改,其次增加自定义的一些配置文档。这里,我们分两步进行:先修改配置文档再增添自定义文档。<BR>1、修改配置文档<BR>Nagios的主配置文档是nagios.cfg,我们就从这个文档开始修改。用vi编辑nagios.cfg,注释行 #cfg_file=/usr/local/nagios/etc/localhost.cfg,然后把下面几行的注释去掉:<BR>cfg_file=/usr/local/nagios/etc/contactgroups.cfg //联系组配置文档路径<BR>cfg_file=/usr/local/nagios/etc/contacts.cfg //联系人配置文档路径<BR>cfg_file=/usr/local/nagios/etc/hostgroups.cfg //主机组配置文档路径<BR>cfg_file=/usr/local/nagios/etc/hosts.cfg //主机配置文档路径<BR>cfg_file=/usr/local/nagios/etc/services.cfg //服务配置文档路径<BR>cfg_file=/usr/local/nagios/etc/timeperiods.cfg //监控时段配置文档路径<BR>改check_external_commands=0为check_external_commands=1 这行的作用是允许执行在web界面下重启nagios、停止主机/服务检查等操作。把command_check_interval的值从默认的1改成command_check_interval=10s(根据自己的情况定这个命令检查时间间隔,不要太长也不要太短)。主配置文档要改的基本上就是这些,通过上面的修改,发现/usr/local/nagios/etc并没有文档hosts.cfg等一干文档,怎么办?稍后手动创建他们。 <BR>第二个要修改的配置文档是cgi.cfg,他的作用是控制相关cgi脚本。先确保use_authentication=1。曾看过不少的文章,都是建议把use_authentication的值配置成”0”来取消验证,这是个十分糟糕的想法。接下来修改default_user_name=sery ,再后面的修改在下表列出:<BR>authorized_for_system_information=nagiosadmin,sery <BR>authorized_for_configuration_information=nagiosadmin,sery<BR>authorized_for_system_commands=nagiosadmin,sery //多个用户之间用逗号隔开<BR>authorized_for_all_services=nagiosadmin,sery<BR>authorized_for_all_hosts=nagiosadmin,sery<BR>authorized_for_all_service_commands=nagiosadmin,sery<BR>authorized_for_all_host_commands=nagiosadmin,sery<BR>那么上述用户名打那里来的呢?是执行命令 /usr/local/apache/bin/htpasswd –c /usr/local/nagios/etc/htpasswd sery 所生成的,这个要注意,不能随便加没有存在的验证用户,为了安全起见,不要添加过多的验证用户。<BR>第3个修改的配置文档是misccommands.cfg,这个文档的主要功能是用来发送报警短信和报警邮件,对其的修改如下所示:<BR>#host-notify-by-sms //发送短信报警<BR>define command {<BR> command_name host-notify-by-sms<BR> command_line /usr/local/bin/sms_send "Host $HOSTSTATE$alert for $HOSTNAME$! on '$DATETIME$' " $CONTACTPAGER$<BR> }<BR>#service notify by sms //发送短信报警<BR>define command {<BR> command_name service-notify-by-sms<BR> command_line /usr/local/bin/sms_send "'$HOSTADDRESS$'$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$<BR> }<BR>主机和服务的邮件报警通知已在文档中,不须更改。也能够把短信和邮件报警通知这些配置块写到文档commands.cfg中,效果是相同的。<BR>本人的环境是发送特定的标题到特定的邮箱,邮箱就会push到手机,所以,就只需要在command.cfg下面修改相应的'notify-by-email'和'host-notify-by-email'就行<BR>2、增加新的配置文档<BR>先创建简单的配置文档timeperiods.cfg,其内容如下:<BR>define timeperiod{<BR> timeperiod_name 24x7<BR> alias 24 Hours A Day, 7 Days A Week<BR> sunday 00:00-24:00<BR> monday 00:00-24:00<BR> tuesday 00:00-24:00<BR> wednesday 00:00-24:00<BR> thursday 00:00-24:00<BR> friday 00:00-24:00<BR> saturday 00:00-24:00<BR> }<BR>第二个手动创建的配置文档是 contacts.cfg,其格式如下:<BR># In this simple config file, a single contact will receive all alerts.<BR>define contact{<BR> contact_name nagiosadmin<BR> alias nagiosadmin<BR> service_notification_period 24x7<BR> host_notification_period 24x7<BR> service_notification_options w,u,c,r<BR> host_notification_options d,r<BR> service_notification_commands notify-by-email,host-notify-by-sms 假如是通过别的方式报警能够添加 <BR> host_notification_commands host-notify-by-email,host-notify-by-sms<BR> email <BR><A href="mailto:kernel@love21cn.com">kernel@love21cn.com</A><BR> pager 136811234567<BR> }<BR>define contact {<BR> contact_name sery<BR> alias system administrator<BR> service_notification_period 24x7<BR> host_notification_period 24x7<BR> service_notification_options w,u,c,r<BR> host_notification_options d,u,r<BR> service_notification_commands notify-by-email<BR> host_notification_commands host-notify-by-email<BR> email <BR><A href="mailto:haishi24@163.com">haishi24@163.com</A><BR> pager 13312345678<BR> }<BR>上面的文档定义了2个联系人,假如有更多联系人的话,照这个格式在后面追加即可。服务通知选项(service_notification_options)和主机通知选项(host_notification_options)的几个选项在这里说明一下:w-warning , u-unknown,c-critical,r-recovery;d-down,u-unreachable,注意一下,主机报警和服务报警有些差异。<BR>紧接着的第三个手动创建的配置文档是contactgroups.cfg文档,这个文档是依照上一个文档contacts.cfg来的,contactgroups文档相对简单一些,其格式如下:<BR>define contactgroup {<BR> contactgroup_name nagios <BR> alias system administrator group<BR> members nagiosadmin,sery <BR> }<BR>多个成员之间用逗号做分界符,假如有更多的联系组,就依相同的格式在文档中追加余下的组。<BR>配置文档hosts.cfg:<BR>#define monitor host<BR>#################################################################<BR># HOSTS #<BR>#################################################################<BR># Generic host definition template - This is NOT a real host, just a template!(模版)<BR>define host{<BR> name linux-server<BR> notifications_enabled 1<BR> event_handler_enabled 1<BR> flap_detection_enabled 1<BR> failure_prediction_enabled 1<BR> process_perf_data 1<BR> retain_status_information 1<BR> retain_nonstatus_information 1<BR> notification_period 24x7<BR> register 0<BR> }<BR>#################################################################<BR># web17 #<BR>#################################################################<BR>define host{<BR> use linux-server (上面模版定义的主机名)<BR> host_name web17<BR> alias web17<BR> address 10.0.0.74<BR> check_command check-host-alive<BR> max_check_attempts 5<BR> notification_interval 60<BR> notification_period 24x7<BR> contact_groups nagios<BR> notification_options d,u,r<BR> }<BR>更多的主机依此格式逐个追加进来。为了以后维护方便,尽可能在文档中使用易读的注释(如本例# web17 #)。<BR>配置文档services.cfg:<BR>#service definition<BR>##############################################################<BR># SERVICES #<BR>##############################################################<BR># Generic service definition template - This is NOT a real service, just a template!(模版)<BR>define service{<BR> name linux-service<BR> active_checks_enabled 1<BR> passive_checks_enabled 1<BR> parallelize_check 1<BR> obsess_over_service 1<BR> check_freshness 0<BR> notifications_enabled 1<BR> event_handler_enabled 1<BR> flap_detection_enabled 1<BR> failure_prediction_enabled 1<BR> process_perf_data 1<BR> retain_status_information 1<BR> retain_nonstatus_information 1<BR> is_volatile 0<BR> register 0<BR> }<BR>##############################################################<BR># web17 #<BR>##############################################################<BR># Define a service to "ping" the remote machine<BR>define service{<BR> use linux-service<BR> host_name web17<BR> service_description CURRENT LOAD<BR> check_period 24x7<BR> max_check_attempts 5<BR> normal_check_interval 1<BR> retry_check_interval 1<BR> contact_groups nagios<BR> notification_interval 60<BR> notification_period 24x7<BR> notification_options w,u,c,r<BR> check_command check_nrpe!check_load!30,25,20!40,35,30<BR> }<BR># Define a service to check the disk space of the all partition<BR># on the remote machine. Warning if <BR>define service{<BR> use linux-service<BR> host_name web17<BR> service_description disk_var<BR> check_period 24x7<BR> max_check_attempts 5<BR> normal_check_interval 30<BR> retry_check_interval 10<BR> contact_groups nagios<BR> notification_interval 60<BR> notification_period 24x7<BR> notification_options w,u,c,r<BR> check_command check_nrpe!check_disk_var!20%!10%<BR> }<BR>更多的主机及服务依此格式逐个追加进来。<BR>主机组配置文档hostgroups.cfg,这是个可选的项目,他建立在文档hosts之上,其格式如下:<BR>define hostgroup {<BR> hostgroup_name web server<BR> alias web server<BR> members web17 //本例用了一个主机<BR> }<BR>运行程式/usr/local/nagios –v /usr/local/nagios/etc/nagios.cfg来检查任何配置文档的正确性。运行完毕将在输出尾部出现:<BR>Total Warnings: 0<BR>Total Errors: 0<BR>Things look okay - No serious problems were detected during the pre-flight check<BR>假如出现错误,肯定是cfg配置文档的问题,自己调试解决就能够了(但是,似乎比较繁琐)<BR>验证通过以后,就能够执行命令/usr/local/nagios –d /usr/local/nagios/etc/nagios.cfg 把nagios作为守护进程。然后用ps –aux | grep nagios 看进程是否处于运行状态。到这一步,nagios服务基本上算是配置完毕。做hosts.cfg、services.cfg等配置时,能够运用一些小技巧来减少出错的概率:如先定义少许的主机、服务,待校验无误后再追加。<BR>service nagios reload (重新读入nagios变更的配置) service nagios restart(重新启动nagios服务)<BR>假如想要监控远程主机还需要很多的配置工作要做:<BR>先简单介绍一下NRPE:NRPE是nagios的增强工具包,采用的是CS模式,在nagios主服务器上调用check_nrpe监测脚本,和client端的nrpe代理服务交换数据.<BR>从客户端获取服务器信息有两件事需要做,一是在客户端安装NRPE,二是在服务器端告诉nagios server有哪些东西需要nrpe监测的<BR>一:远程被监控主机的nrpe安装步骤<BR>1:建立nagios用户和组,用来运行nrpe程式,为了安全起见,限制nagios用户的shell登陆 usermod -s /bin/nologin nagios<BR> 建立/usr/local/nagios目录,并配置目录的属主chown -R nagios:nagios /usr/local/nagios/<BR>2:安装配置nrpe-2.8.1.tar.gz <BR> tar nrpe-2.8.1.tar.gz<BR> cd nrpe-2.8.1<BR> ./configure --enable-ssl --enable-command-args<BR> make all<BR> cp sample-config/nrpe.cfg /usr/local/nagios/etc<BR> cp src/nrpe /usr/local/nagios/bin<BR>3:修改nrpe配置文档<BR> vi /usr/local/nagios/etc/nrpe.cfg<BR> 修改dont_blame_nrpe=1 <BR> 修改监听端口 <BR> server_port=9998<BR> 改成您允许的IP <BR> allowed_hosts=127.0.0.1,10.0.0.60(60是nagios监控主机服务器) <BR> 修改您需要被监控的服务 <BR> command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ <BR> 检查磁盘,当 / 剩余$ARG1$%报警(浅黄色),剩余$ARG2$%“出错”(红色)-p 后为指定分区<BR> 本人运行的是:(能够按照您的需要添加更多需要被监控的服务)<BR> command[check_tcp_80]=/usr/local/nagios/libexec/check_tcp -w 30 -c 60 -p 80<BR> command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20<BR> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda6<BR>4:安装配置nagios-plugins-1.4.9<BR> tar –xvzf nagios-plugins-1.4.tar <BR> mkdir /usr/local/nagios-plugins <BR> cd nagios-plugins-1.4 <BR> ./configure --prefix=/usr/local/nagios-plugins -–enable-redhat-pthread-workaround <BR> make all <BR> make install <BR> 安装完成以后在/usr/local/nagios-plugins会产生一个libexec的目录,将该目录全部移动到/usr/local/nagios目录下 <BR> mv /usr/local/nagios-plugins/libexec /usr/local/nagios <BR>5:启动nrpe,端口9998<BR> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d <BR> netstat -ant | grep 9998(看端口是否正常被监听)<BR>6:将/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d 添加到/ect/rc.d/rc.local<BR>二:监控服务器的nrpe安装(主要是使用check_nrpe模块) <BR>1:和远程主机的安装基本相同<BR> 安装配置nrpe-2.8.1.tar.gz <BR> tar nrpe-2.8.1.tar.gz<BR> cd nrpe-2.8.1<BR> ./configure --enable-ssl --enable-command-args<BR> make all<BR> cp src/check_nrpe /usr/local/nagios/libexec <BR>2:定义check_nrpe命令 <BR> vi commands.cfg <BR> # 'check_nrpe' command definition <BR> define command{ <BR> command_name check_nrpe <BR> command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ <BR> } <BR>为了安全原因,本人的nrpe没有跑在默认端口,因此在此指定端口为9998。<BR> definecommand{<BR> command_name check_nrpe<BR> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 9998 -c $ARG1$<BR> }<BR>至此,nagios服务器端和客户端基本配置完成,能完成基本的现在需要的监控的功能。</DIV> <DIV>question:<BR>Connection refused by host和timeout port 10 second类似这样的错误提示 基本都是因为nrpe的客户端没有正确安装或没有没有正常运行</DIV> <DIV>[ 本帖最后由 云杉上的蝴蝶 于 2008-7-29 00:54 编辑 ] </DIV> <DIV>本文来自: IXPUB技术社区(<A href="http://www.ixpub.net">www.ixpub.net</A>) 详细出处参考:<A href="http://www.ixpub.net/thread-771034-1-3.html">http://www.ixpub.net/thread-771034-1-3.html</A></DIV>
查看全文
发表于:2009-03-25 ┆
阅读(79)
┆
评论(0)
用yum快速搭建nagios监控服务器
<DIV>系统管理员必修课,用yum快速搭建nagios监控服务器<BR>monitor, nagios<BR>本帖最后由 cnweili_cu 于 2009-2-19 14:01 编辑 </DIV> <DIV>来源:<A href="http://www.centreon.com.cn/bbs/read.php?tid-208.html">http://www.centreon.com.cn/bbs/read.php?tid-208.html</A></DIV> <DIV>听见很多朋友抱怨nagios和nagios ndoutils的安装真够麻烦,编译,安装,配置,头都搞大了,为了降低nagios的安装门槛, <BR>方便大家学习使用nagios以及nagios的ndoutils,我花了点时间弄了这个LazyNagios的yum出来,希望对初学者有所帮助。 </DIV> <DIV>lazynagios测试环境在CentOS5上或者RHEL5的版本 <BR>安装时需要访问lazynagios的yum源和CentOS5的yum源<BR>nagios-3.0.6 <BR>nagios-plugins-1.4.13 <BR>ndoutils-1.4b7 </DIV> <DIV>安装不用gcc,只需要yum和能够上网</DIV> <DIV>第一步,安装软件 <BR>安装我写的lazynagios的repo包,该包的功能是建立我自己的lazynagios.repo源<BR>如果你不能直接rpm,可以先wget下载这个rpm,然后再rpm安装</DIV> <DIV>rpm -ivh <A href="http://centreon.com.cn/download/lazynagios-repo-0.1-1.noarch.rpm">http://centreon.com.cn/download/lazynagios-repo-0.1-1.noarch.rpm</A> </DIV> <DIV>通过网络安装我打包的几个rpm包<BR>yum -y install nagios nagios-ndoutils nagios-plugins nagios-ndoutils-database </DIV> <DIV>第二步,启动服务 <BR>把默认的mysqld数据库服务设为开启状态<BR>chkconfig mysqld on <BR>启动下列三个服务<BR>service nagios restart <BR>service ndo2db start <BR>service httpd start </DIV> <DIV>第三步,访问nagios的web界面 <BR><A href="http://ip/nagios">http://ip/nagios</A> <BR>用户名nagiosadmin <BR>密码nagiosadmin </DIV> <DIV>搞定了,有啥问题,请跟帖! <BR>附注: <BR>数据库名字是nagios <BR>Nagios配置目录/etc/nagios <BR>插件目录/usr/lib/nagios/plugins </DIV> <DIV>本文来自: IXPUB技术社区(<A href="http://www.ixpub.net">www.ixpub.net</A>) 详细出处参考:<A href="http://www.ixpub.net/thread-900010-1-3.html">http://www.ixpub.net/thread-900010-1-3.html</A></DIV>
查看全文
发表于:2009-03-25 ┆
阅读(115)
┆
评论(0)
用nagios监控ORACLE服务器
<DIV>[nagios]用nagios监控ORACLE服务器<BR>环境:Oracle 10g<BR>CentOS 5.2 x86_64</DIV> <DIV>一、在 Oracle 所在服务器上安装 NRPE</DIV> <DIV>安装过程参考 Nagios NRPE 文档。</DIV> <DIV>注意点:<BR>1.由于 nagios 脚本需要读取 oracle 相关文件。所以运行 nagios 的用户需要定义为 oracle 服务用户。并且修改 /etc/xinted.d/nrpe 中的配置。</DIV> <DIV>service nrpe<BR>{<BR>flags = REUSE<BR>socket_type = stream<BR>port = 5666<BR>wait = no<BR>user = oracle<BR>group = nagios<BR>server = /usr/local/nagios/bin/nrpe<BR>server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd<BR>log_on_failure += USERID<BR>disable = no<BR>only_from = 192.168.100.62<BR>}</DIV> <DIV>2.给 oracle 用户在 ORACLE_HOME 目录下执行权限。<BR>chmod –Rf 740 $ ORACLE_HOME/*</DIV> <DIV>3.修改 check_oracle 脚本。将 $ORACLE_HOME 以及 $PATH 手动加入,避免出现问题。</DIV> <DIV>ORACLE_HOME=/u01/oracle/product/10.2.0/db_1<BR>PATH=$PATH: /u01/oracle/product/10.2.0/db_1/bin</DIV> <DIV>二、 配置 nrpe 服务</DIV> <DIV>修改 /usr/local/nagios/etc/nrpe.cfg 文件。加入以下内容:</DIV> <DIV>#Check Oracle<BR>command[check_oracle_tns]=/usr/local/nagios/libexec/check_oracle –tns orcl<BR>command[check_oracle_db]=/usr/local/nagios/libexec/check_oracle –db orcl<BR>command[check_oracle_login]=/usr/local/nagios/libexec/check_oracle –login orcl<BR>command[check_oracle_cache]=/usr/local/nagios/libexec/check_oracle –cache orcl system lkjsdf 80 90<BR>command[check_oracle_tablespace]=/usr/local/nagios/libexec/check_oracle –tablespace orcl system lkjsdf tab 90 80</DIV> <DIV>具体参数写法请参考 check_oracle –help。</DIV> <DIV>配置完成后,重启 xinetd 服务。</DIV> <DIV>三、配置 Nagios 服务端</DIV> <DIV>1.安装 nrpe 脚本支持。—参考官方文档。<BR>2.添加 nrpe 命令配置。修改 nagios/etc/objects/command.cfg 文件:</DIV> <DIV>define command {<BR>command_name check_nrpe<BR>command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$<BR>}</DIV> <DIV>3.在 nagios/etc/objects 添加oracle 主机配置文件。oracle.cfg 。</DIV> <DIV>define host {<BR>use linux-server<BR>host_name oracle<BR>alias Oracle 10g<BR>address 192.168.100.63<BR>}</DIV> <DIV>define service {<BR>use generic-service<BR>host_name oracle<BR>service_description TNS Check<BR>check_command check_nrpe!check_oracle_tns<BR>}<BR>define service {<BR>use generic-service<BR>host_name oracle<BR>service_description DB Check<BR>check_command check_nrpe!check_oracle_db<BR>}<BR>define service {<BR>use generic-service<BR>host_name oracle<BR>service_description Login Check<BR>check_command check_nrpe!check_oracle_login<BR>}<BR>define service {<BR>use generic-service<BR>host_name oracle<BR>service_description Cache Check<BR>check_command check_nrpe!check_oracle_cache<BR>}<BR>define service {<BR>use generic-service<BR>host_name oracle<BR>service_description Tablespace Check<BR>check_command check_nrpe!check_oracle_tablespace<BR>}</DIV> <DIV>效果图:</DIV> <DIV> </DIV> <DIV>NRPE 以及 Nagios-Plugin 安装文件见附件包内。NRPE 官方文档也包含在附件包呢。</DIV> <DIV>备注:<BR>图中 Tablespace check 还没有细调,用了错误的 table 名。<BR>通过修改脚本还可以监视临时表空间。 </DIV> <DIV>本文来自: IXPUB技术社区(<A href="http://www.ixpub.net">www.ixpub.net</A>) 详细出处参考:<A href="http://www.ixpub.net/thread-897058-1-4.html">http://www.ixpub.net/thread-897058-1-4.html</A></DIV>
查看全文
发表于:2009-03-25 ┆
阅读(114)
┆
评论(0)
经验: 维护Exchange Server 2003 邮件服务器
<DIV> <DIV id=threadtitle> <H1>经验: 维护Exchange Server 2003 邮件服务器</H1></DIV> <DIV class=t_msgfontfix> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR> <TD class=t_msgfont id=postmessage_7154464><FONT style="FONT-SIZE: 12px">前段时间一直有网友在问的问题.<BR>问题一:<BR>随着时间增长,邮件<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%B7%FE%CE%F1%C6%F7">服务器</SPAN>邮箱存储占用的空间会不断加大,就算在客户端把邮件删除,可服务器存储邮件占用的空间还是没有减少,这是怎么回事?<BR>问题二:<BR>我的邮件服务器已经好几年啦,怎么样才能把邮箱<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%D3%C3%BB%A7">用户</SPAN>比较老的邮件<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%D7%D4%B6%AF">自动</SPAN>删除,不让它占用服务器的空间?<BR><BR>就是由这两个问题写了篇文章:<BR>我的办法是做收件人策略+备份,减少邮件存储与及日志<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%CE%C4%BC%FE">文件</SPAN>占用服务器空间.(这个<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%CA%FD%BE%DD%BF%E2">数据库</SPAN>文件和日志文件是占空间的主要文件).<BR><BR>环境如下:<BR>一台服务器作为DC(contoso.msft)+EXCHANGE,一台加入域(contoso,msft)的客户端.<BR><BR><IMG id=img_0.9757822263003224 style="CURSOR: pointer" height=171 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012021KawG.gif" width=600><BR>环境已搭建好,为了测试自动删除过期邮件,空间占用问题,先给用户发封大邮件,让用户占用服务器空间.<BR>在域内,用户c给用户m(用户实验前已建立)发封大邮件(邮件带附件).<BR>在发之前先检查<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%CA%FD%BE%DD">数据</SPAN>库以及日志占用空间大小.<BR><BR><IMG id=img_0.11651958839011855 height=523 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012022Ovtw.gif" width=502><BR><BR>内网邮箱用户互发邮件,占用服务器存储空间.<BR><BR><IMG id=img_0.5728858699094733 height=404 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012023TPIx.gif" width=492><BR><BR><IMG id=img_0.3441184317516142 height=417 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012024x5fo.gif" width=465><BR><BR>检查邮箱,服务器占用空间.(服务器一下涨了好多)<BR><IMG id=img_0.06725197508025254 style="CURSOR: pointer" height=343 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120258myP.gif" width=600><BR><IMG height=470 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012026OoVt.gif" width=496><BR><IMG height=481 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_200811061012027R4pF.gif" width=376><BR>这时可把邮件认为是老邮件,建立收件人邮箱<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%B9%DC%C0%ED">管理</SPAN>器策略来管理邮件.<BR>如把2天前的大于是10240k的邮件删除.<BR><IMG height=345 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120287lKB.gif" width=564><BR>把策略用于用户c和m.<BR>策略<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%C9%E8%D6%C3">设置</SPAN>如下:<BR><IMG height=424 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120292FHU.gif" width=481><BR>让策略立刻生效.<BR><IMG style="CURSOR: pointer" height=287 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120210W5GZ.gif" width=600><BR><IMG height=483 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120211dDbU.gif" width=534><BR>验证结果.把时间手工调整一下,如改到3天后.<BR>当前时间,以及3天后时间.邮箱大小变化情况.<BR><IMG height=371 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120212GdAH.gif" width=577><BR><BR><IMG style="CURSOR: pointer" height=432 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_20081106101202138mLf.gif" width=600><BR><BR>客户端邮件已被删除,所以在服务看邮箱存储占用空间大小已经减少.<BR>过期邮件已处理完毕,下面来释放空间.<BR>这时候存储在物理磁盘的空间并没有减少,主要由数据库文件和日志文件组成.<BR>可通过碎片整理和压缩来减少数据库空间,通过备份来删除日志文件.<BR><BR><IMG height=367 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120214BfnB.gif" width=545><BR><BR>做碎片整理和压缩数据库,做的是脱机数据库整理.<BR><BR>参考文章:<BR><BR><FONT color=#0000ff>http://support.microsoft.com/kb/328804/zh-cn</FONT><BR><BR><FONT color=#0000ff>http://support.microsoft.com/kb/192185/zh-cn</FONT><BR><BR>先检查数据库大小.主要由priv1.edb和priv1.stm构成.<BR><BR><IMG height=411 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_20081106101202155ZK7.gif" width=537><BR><BR>1. 在 Exchange <SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%CF%B5%CD%B3">系统</SPAN>管理器中,右键单击要进行碎片整理的信息存储,然后单击卸除存储。 <BR>2. 在<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%C3%FC%C1%EE">命令</SPAN>提示符处,更改至 Exchsrvr\Bin 文件夹,然后键入 eseutil /d 命令、数据库开关以及要使用的任何选项。 <BR>例如,以下命令在邮箱存储数据库上运行标准的碎片整理实用<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=%B9%A4%BE%DF">工具</SPAN>: <BR>C:\program files\exchsrvr\bin> eseutil /d c:\progra~1\exchsrvr\mdbdata\priv1.edb<BR><BR><IMG height=331 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120216EHZu.gif" width=524><BR><BR><IMG style="CURSOR: pointer" height=280 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120217FlSA.gif" width=600><BR><BR><IMG style="CURSOR: pointer" height=491 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120218VVhK.gif" width=600><BR><BR>结果.<BR><BR><IMG height=306 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120219kq2E.gif" width=447><BR><BR><IMG height=404 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120220fl83.gif" width=422><BR><BR>现在空间大小主要是由日志文件占用.通过备份可以清除日志文件,用于释放更多的空间.<BR><BR>参考文章:<BR><BR><FONT color=#0000ff>http://www.5dmail.net/bbs/viewthread.php?tid=55926&extra=page%3D1%26amp%3Bfilter%3Ddigest</FONT><BR><BR>由楼上的图可看出没备份前空间占用情况.<BR><BR>调出ntbackup,对Exchange 的”Information Store“存储组的所有数据库备份.<BR><BR><IMG style="CURSOR: pointer" height=428 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120221OpRO.gif" width=600><BR><BR>结果log文件减少.空出磁盘空间.<BR><BR><IMG height=490 alt="" src="http://blog.ixpub.net/attachments/2008/11/14637836_2008110610120222o28m.gif" width=437><BR><BR>在这里浅谈了邮件管理和空间占用的问题,希望能对存在这问题的朋友有所帮助...</FONT><BR><STRONG>附件:</STRONG><BR></TD></TR></TBODY></TABLE></DIV></DIV>
查看全文
发表于:2009-03-25 ┆
阅读(98)
┆
评论(0)
SMS2003部署 指南
<DIV>SMS2003部署 指南 <DIV style="PADDING-RIGHT: 16px; PADDING-LEFT: 16px; PADDING-BOTTOM: 16px; FONT: 14px Verdana, Arial, sans-serif; PADDING-TOP: 16px"><BR>SMS2003部署<BR>作者:翟惊卿(天下一家)MSN:Peter_zhai@hotmail.com<BR>原文刊登于“微电脑世界”(2004年8月)<BR><BR>微软在2003年年底推出了System<I></I> Management<I></I> Server<I></I> 2003<I></I> ,和SMS<I></I> 2.0<I></I> 相比,新版本尽管版本号只是2.5,但在各个方面都明显优于2.0<I></I> ,确实给人以耳目一新的感觉。<BR>微软主要在以下方面做了加强<BR> 稳定性,绝对是质的飞跃<BR> 安全性<BR> 性能优化,部分功能甚至提高了5-7倍<BR> 针对移动客户设计了新的客户端,充分考虑到移动办公的需求<BR> 更好的与活动目录集成<BR> 集成了软件更新服务包(SUS)<BR> 重写了软件计量部分的代码<BR> 舍弃了水晶报表,使用增强了的Web<I></I> reports<BR>。。。<BR><BR>目前来讲,SMS主要还是应用于一些大企业环境,诸如,软件发布和硬件/软件清单收集功能都可以显著降低网络管理人员的工作负荷,但由于最近病毒泛滥,特别是冲击波/震荡波,使越来越多的网络管理人员意识到了补丁管理的重要性。SMS作为目前微软最好的企业补丁解决方案,当仁不让的成为了焦点。<BR><BR>本文主要讲述在一个典型的局域网中部署,配置SMS的具体步骤,按本文配置以后,就能实现SMS的软件分发,补丁管理,硬件/软件信息收集,远程控制等主要功能。<BR><BR>开始之前,必须先解释一些SMS的定义<BR>Site<I></I> Server:<I></I> SMS的核心服务.<I></I> 用于处理SMS的数据并反映在SMS管理界面或报表中<BR>Site<I></I> Boundary:<I></I> 用于确定SMS<I></I> Site<I></I> Server的管理范围<BR>SMS<I></I> Provider:<I></I> 用于给site<I></I> server提供SQL服务<BR>Management<I></I> Point<I></I> (MP):<I></I> 介于SMS<I></I> Site<I></I> Server<I></I> 和SMS高级客户端之间的中间节点.,高级客户端通过他与SMS联系<BR>Client<I></I> Access<I></I> Point<I></I> (CAP):介于SMS<I></I> Site<I></I> Server<I></I> 和SMS标准客户端之间的中间节点.,标准客户端通过他与SMS联系<BR>Distribution<I></I> Point<I></I> (DP):<I></I> 存放软件包的服务器。SMS<I></I> Site<I></I> Server将软件包保存到DP,然后通过MP或CAP通知客户端到DP来执行软件包的安装,可以理解成“文件仓库”。<BR>Server<I></I> Location<I></I> Point<I></I> (SLP):用于替SMS客户端查找到合适的CAP或MP<BR>Reporting<I></I> Point<I></I> (RP):<I></I> 用于提供基于WEB的报表服务<BR>Data<I></I> Discovery<I></I> Record(DDR):<I></I> 数据发现记录<BR>Client<I></I> Configuration<I></I> Request(CCR):<I></I> 客户配置请求<BR>服务器部署<BR>安装之前的必须条件<BR>1.<I></I> 操作系统<I></I> <BR>Win2000<I></I> SP4或<I></I> Win2003,建议安装最新的补丁<BR>• 内存:至少256MB内存,最大可支持4G<BR>• 硬盘:至少2G空间,取决于实际环境。<BR><BR>2.<I></I> IIS<BR>需要在承担MP/DP/RP<I></I> 等角色的服务器上安装IIS,如果该服务器是Win2003<I></I> Server,还需要<BR> 安装并启用IIS的BITS(后台智能传输协议)<BR> 安装并启用ASP扩展<BR> 安装并启用WebDav<I></I> <BR> 验证方式是匿名访问<BR>注:IIS6中出于安全考虑,BITS,ASP,WebDav默认安装后都是被禁止的,具体启用位置在IIS管理台—web<I></I> service<I></I> extension<BR><BR>另外,建议不要在SMS角色服务器上安装诸如SUS<I></I> ,<I></I> IIS<I></I> lockdown,URL<I></I> scan之类的工具,因为有可能会阻挡SMS客户端与服务器的HTTP数据通信,如果一定要用URLscan<I></I> ,可以用SMS<I></I> toolkit1<I></I> 工具包中的urlscan.ini<I></I> 替代原有的urlscan.ini<I></I> <BR><BR>3.<I></I> 服务器系统默认共享<BR>SMS的所有角色服务器上必须打开系统默认共享(admin$,IPC$等)。如果默认共享被关闭,请参照以下方法启用:<BR>在下面的注册表项中删除<I></I> AutoShareWks<I></I> DWORD<I></I> 值,并重启计算机。<BR>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters<BR><BR>4.<I></I> 客户端系统默认共享<BR>需要确保域管理员可以从SMS<I></I> 站点服务器上访问客户端的Admin$共享:\\Client\Admin$。如果访问失败,检查名字解析和客户端的Local<I></I> Administrators组中是否包含Domain<I></I> Admin。<BR><BR>5.<I></I> 客户端远程注册表服务<BR>确认Domain<I></I> Admin可以从SMS<I></I> 站点服务器上访问客户端的注册表。可以用以下方法检查:在SMS站点服务器上,以Domain<I></I> Admin的身份运行regedit.exe,选择连接到Network<I></I> Machine,指定远程客户端后,尝试展开下列两个键值。如果没有任何错误,表明该条件已满足。如果失败,则检查以下两点:<BR> 客户机上Remote<I></I> Registry服务在运行并且工作正常<BR> 在客户机上,"Local<I></I> Service"<I></I> 对<I></I> 以下键值有<I></I> Read<I></I> 的权限:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg<BR><BR>6.客户端的操作系统安装路径<BR>客户端的操作系统如果没有安装在C:盘,自动/手工”推”安装客户端可能会失败<BR><BR>7.客户端的DNS配置<BR>确保客户端能够ping<I></I> 通域名,如果失败,检查客户端的DNS配置<BR><BR>8.<I></I> 通讯端口<BR>如果有防火墙或代理服务器,需要打开相关的端口。<BR>站点之间的通讯用到<BR><BR>Port<I></I> 445 Server<I></I> Message<I></I> Block<I></I> (SMB)<BR>Port<I></I> 389 Lightweight<I></I> Directory<I></I> Access<I></I> Protocol<I></I> (LDAP)<BR>Port<I></I> 636 LDAP<I></I> (Secure<I></I> Sockets<I></I> Layer<I></I> [SSL]<I></I> connection)<BR>代理MP到父站点数据</DIV></DIV>
查看全文
发表于:2009-03-25 ┆
阅读(126)
┆
评论(0)
Nginx+PHP+MySQL双机互备、全自动切换方案
<DIV><A style="text: _blank" href="http://blog.s135.com/post/379/" target=_blank><STRONG><FONT color=#ffffff>Nginx+PHP+MySQL双机互备、全自动切换方案[原创]</FONT></STRONG></A><STRONG><FONT color=#ffffff> </FONT></STRONG> <DIV class=textbox-fontsize><STRONG><FONT color=#ffffff><IMG title=字体大小 alt="" src="http://blog.s135.com/template/RuiPai/images/toolbar_fontsize.gif" border=0></FONT></STRONG> </DIV> <DIV class=textbox-content id=zoomtext> [文章作者:张宴 本文版本:v1.0 最后修改:2008.11.19 转载请注明原文链接:<A href="http://blog.s135.com/post/379/" target=_blank><FONT color=#4f6371>http://blog.s135.com/post/379/</FONT></A>]<BR><BR> 在生产应用中,某台“Nginx+PHP+MySQL”接口数据服务器,扮演的角色十分重要,如果服务器硬件或Nginx、MySQL发生故障,而短时间内无法恢复,后果将非常严重。为了避免单点故障,我设计了此套方案,编写了failover.sh脚本,实现了双机互备、全自动切换,故障转移时间只需几十秒。<BR><BR> <STRONG>一、双机互备、全自动切换方案:</STRONG><BR> <STRONG>1、拓扑图:</STRONG><BR> <A href="http://blog.s135.com/attachment/200811/nginx_php_mysql_ha.png" target=_blank><IMG class=insertimage title=点击在新窗口中浏览此图片 alt=点击在新窗口中浏览此图片 src="http://blog.s135.com/attachment/200811/nginx_php_mysql_ha.png" border=0></A><BR><BR> <STRONG>2、解释:</STRONG><BR> (1)、假设外网域名blog.s135.com解析到外网虚拟IP 72.249.146.214上,内网hosts设置db10对应内网虚拟IP 192.168.146.214<BR><BR> (2)、默认情况下,由主机绑定内、外网虚拟IP,备机作为备份,当主机的MySQL、Nginx或服务器出现故障无法访问时,备机会自动接管内、外网虚拟IP。两台服务器都启动负责监控、自动切换虚拟IP的守护进程/usr/bin/nohup /bin/sh /usr/local/webserver/failover/failover.sh 2>&1 > /dev/null &<BR><BR> (3)、主机和备机上的MySQL服务器互为主从,互相同步。在主机处于活动状态(即由主机绑定虚拟IP)时,读写主机的MySQL,写到主机的数据会同步到备机;在备机处于活动状态时,读写备机的MySQL,写到备机的数据会同步到主机(如果主机上的MySQL死掉暂时无法同步,主机上的MySQL恢复后,数据会自动从备机上同步过来,反之亦然)。<BR><BR> (4)、主机处于活动状态时,每20秒会把/data0/htdocs/(网页、程序、图片存放目录)、/usr/local/webserver/php/etc/(php.ini等配置文件目录)、/usr/local/webserver/nginx/conf/(Nginx配置文件目录)三个目录下的文件通过rsync推送到备机服务器上的对应目录(增量推送,两台服务器上一样的文件不会重复推送),反之如果备机处于活动状态时,每20秒会尝试把文件推送到主机。rsync的配置文件见两台服务器的/etc/rsyncd.conf,rsync守护进程的启动命令为rsync --daemon<BR><BR> <STRONG>3、自动切换流程</STRONG><BR> (1)、主机默认绑定内、外网虚拟IP,当主机的MySQL、Nginx无法访问或服务器宕机,主机上的failover.sh守护进程会自动摘除自己绑定的内、外网虚拟IP(如果主机上的failover.sh死掉,无法摘除自己绑定的虚拟IP也没关系),备机上的failover.sh守护进程会自动接管备机原来绑定的内、外网虚拟IP,并发送ARPing包给内、外网网关更新MAC,强行接管。<BR><A name=entrymore></A><BR> (2)、备机绑定虚拟IP后,会发送ARPing包给内、外网网关,通知网关更新虚拟IP的MAC地址为备机的MAC地址,从而保证了切换后能够通过虚拟IP及时访问到备机。<BR><BR> (3)、如果主机的MySQL、Nginx启动起来,全部恢复正常访问,主机上的failover.sh守护进程会检测主机上的MySQL数据是否已经完全从备机上同步过来。如果同步延迟时间为0,主机会自动接管内、外网虚拟IP,并发送ARPing包给内、外网网关,而备机也会自动摘除内、外网虚拟IP。<BR><BR> (4)、整个切换流程均由failover.sh自动完成,无需人工处理。 <BR><BR> <STRONG>4、注意事项(很重要):</STRONG><BR> (1)、crontab里的文件没有做自动同步,如果修改,需要手工在两台服务器上都做修改。<BR><BR> (2)、/data0/htdocs/目录内任何用ln -s建立的软连接,rsync不会自动同步,如果在一台服务器上建了软连接,需要手工在另外一台服务器上也建相同的软连接。<BR><BR> (3)、如果要删除/data0/htdocs/目录内的某些文件或目录,需要先删除处于活动状态(即绑定了虚拟IP)服务器上的文件或目录,再删除处于备用状态服务器上的文件或目录。<BR><BR> (4)、除了/data0/htdocs/(网页、程序、图片存放目录)、/usr/local/webserver/php/etc/(php.ini等配置文件目录)、/usr/local/webserver/nginx/conf/(Nginx配置文件目录)三个目录之外的其他配置修改,需要在两台服务器上都做修改。<BR><BR> <HR> <BR> <STRONG>二、配置文档与脚本:</STRONG><BR> <STRONG>1、主机、备机两台服务器的rsync配置(配置相同)</STRONG><BR> (1)、rsync配置文件<BR> <DIV style="BORDER-RIGHT: #00a0c6 1px dashed; PADDING-RIGHT: 3px; BORDER-TOP: #00a0c6 1px dashed; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 5px 5px 0px; BORDER-LEFT: #00a0c6 1px dashed; PADDING-TOP: 3px; BORDER-BOTTOM: #00a0c6 1px dashed; BACKGROUND-COLOR: #ffffff">vi /etc/rsyncd.conf</DIV><BR> 输入一些内容并保存:<BR> <DIV class=quote> <DIV class=quote-title>引用</DIV> <DIV class=quote-content>uid = root<BR>gid = root<BR>use chroot = no<BR>max connections = 20<BR>pid file = /var/run/rsyncd.pid<BR>lock file = /var/run/rsync.lock<BR>log file = /var/log/rsyncd.log<BR><BR>[data0_htdocs]<BR>path = /data0/htdocs/<BR>ignore errors<BR>read only = no<BR>hosts allow = 192.168.146.0/24<BR>hosts deny = 0.0.0.0/32<BR><BR>[php_etc]<BR>path = /usr/local/webserver/php/etc/<BR>ignore errors<BR>read only = no<BR>hosts allow = 192.168.146.0/24<BR>hosts deny = 0.0.0.0/32<BR><BR>[nginx_conf]<BR>path = /usr/local/webserver/nginx/conf/<BR>ignore errors<BR>read only = no<BR>hosts allow = 192.168.146.0/24<BR>hosts deny = 0.0.0.0/32</DIV></DIV><BR><BR> (2)、启动rsync守护进程<BR> <DIV style="BORDER-RIGHT: #00a0c6 1px dashed; PADDING-RIGHT: 3px; BORDER-TOP: #00a0c6 1px dashed; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 5px 5px 0px; BORDER-LEFT: #00a0c6 1px dashed; PADDING-TOP: 3px; BORDER-BOTTOM: #00a0c6 1px dashed; BACKGROUND-COLOR: #ffffff">/usr/bin/rsync --daemon</DIV><BR><BR> <STRONG>2、两台MySQL互为主从的配置</STRONG><BR> 这里就不详细写出互为主从的配置过程了,如果不懂的朋友可以在Google上搜一下。有一点需要指出,my.cnf配置文件中请加上skip-name-resolve参数,使用IP来进行MySQL帐号验证。<BR><BR> <STRONG>3、主机、备机两台服务器负载监控、虚拟IP自动切换的failover.sh守护进程</STRONG><BR> (1)、启动failover.sh守护进程(为了开机能够自动运行,请将以下语句添加到/etc/rc.local文件中):<BR> <DIV style="BORDER-RIGHT: #00a0c6 1px dashed; PADDING-RIGHT: 3px; BORDER-TOP: #00a0c6 1px dashed; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 5px 5px 0px; BORDER-LEFT: #00a0c6 1px dashed; PADDING-TOP: 3px; BORDER-BOTTOM: #00a0c6 1px dashed; BACKGROUND-COLOR: #ffffff">/usr/bin/nohup /bin/sh /usr/local/webserver/failover/failover.sh 2>&1 > /dev/null &</DIV><BR><BR> (2)、停止failover.sh守护进程:<BR> <DIV style="BORDER-RIGHT: #00a0c6 1px dashed; PADDING-RIGHT: 3px; BORDER-TOP: #00a0c6 1px dashed; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 5px 5px 0px; BORDER-LEFT: #00a0c6 1px dashed; PADDING-TOP: 3px; BORDER-BOTTOM: #00a0c6 1px dashed; BACKGROUND-COLOR: #ffffff">ps -ef | grep failover.sh</DIV><BR> 会显示以下信息:<BR> <SPAN style="COLOR: #008000">root 15428 1 0 Nov17 ? 00:00:03 /bin/sh /usr/local/webserver/failover/failover.sh<BR> root 20123 6878 0 16:16 pts/2 00:00:00 grep failover.sh</SPAN><BR> 然后杀死failover.sh的进程:<BR> <DIV style="BORDER-RIGHT: #00a0c6 1px dashed; PADDING-RIGHT: 3px; BORDER-TOP: #00a0c6 1px dashed; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 5px 5px 0px; BORDER-LEFT: #00a0c6 1px dashed; PADDING-TOP: 3px; BORDER-BOTTOM: #00a0c6 1px dashed; BACKGROUND-COLOR: #ffffff">kill -9 15428</DIV><BR><BR> (3)、failover.sh代码内容(<SPAN style="COLOR: #ff0000">请注意其中的type设置,主机设为master,备机设为slave</SPAN>):<BR> <DIV class=code>#!/bin/sh<BR>LANG=C<BR>date=$(date -d "today" +"%Y-%m-%d %H:%M:%S")<BR><BR>#---------------配置信息(开始)---------------<BR>#类型:主机设为master,备机设为slave<BR>type="master"<BR><BR>#主机、备机切换日志路径<BR>logfile="/var/log/failover.log"<BR><BR>#MySQL可执行文件地址,例如/usr/local/mysql/bin/mysql;MySQL用户名;密码;端口<BR>mysql_bin="/usr/local/webserver/mysql/bin/mysql"<BR>mysql_username="root"<BR>mysql_password="123456"<BR>mysql_port="3306"<BR><BR>#内网网关<BR>gateway_eth0="192.168.146.1"<BR><BR>#主机内网真实IP<BR>rip_eth0_master="192.168.146.213"<BR><BR>#备机内网真实IP<BR>rip_eth0_slave="192.168.146.215"<BR><BR>#主机、备机内网共用的虚拟IP<BR>vip_eth0_share="192.168.113.214"<BR><BR><BR>#外网网关<BR>gateway_eth1="72.249.146.193"<BR><BR>#主机外网真实IP<BR>rip_eth1_master="72.249.146.213"<BR><BR>#备机外网真实IP<BR>rip_eth1_slave="72.249.146.215"<BR><BR>#主机、备机外网共用的虚拟IP<BR>vip_eth1_share="72.249.146.214"<BR>#---------------配置信息(结束)---------------<BR><BR>#绑定内、外网虚拟IP<BR>function_bind_vip()<BR>{<BR> /sbin/ifconfig eth0:vip ${vip_eth0_share} broadcast ${vip_eth0_share} netmask 255.255.255.255 up<BR> /sbin/route add -host ${vip_eth0_share} dev eth0:vip<BR> /sbin/ifconfig eth1:vip ${vip_eth1_share} broadcast ${vip_eth1_share} netmask 255.255.255.255 up<BR> /sbin/route add -host ${vip_eth1_share} dev eth1:vip<BR> /usr/local/webserver/php/sbin/php-fpm reload<BR> kill -USR1 `cat /usr/local/webserver/nginx/logs/nginx.pid`<BR> /sbin/service crond start<BR>}<BR><BR>#解除内、外网虚拟IP<BR>function_remove_vip()<BR>{<BR> /sbin/ifconfig eth0:vip ${vip_eth0_share} broadcast ${vip_eth0_share} netmask 255.255.255.255 down<BR> /sbin/ifconfig eth1:vip ${vip_eth1_share} broadcast ${vip_eth1_share} netmask 255.255.255.255 down<BR> /sbin/service crond stop<BR>}<BR><BR>#主机向备机推送文件的函数<BR>function_rsync_master_to_slave()<BR>{<BR> /usr/bin/rsync -zrtuog /data0/htdocs/ ${rip_eth0_slave}::data0_htdocs/ > /dev/null 2>&1<BR> /usr/bin/rsync -zrtuog /usr/local/webserver/php/etc/ ${rip_eth0_slave}::php_etc/ > /dev/null 2>&1<BR> /usr/bin/rsync -zrtuog /usr/local/webserver/nginx/conf/ ${rip_eth0_slave}::nginx_conf/ > /dev/null 2>&1<BR>}<BR><BR>#备机向主机推送文件的函数<BR>function_rsync_slave_to_master()<BR>{<BR> /usr/bin/rsync -zrtuog /data0/htdocs/ ${rip_eth0_master}::data0_htdocs/ > /dev/null 2>&1<BR> /usr/bin/rsync -zrtuog /usr/local/webserver/php/etc/ ${rip_eth0_master}::php_etc/ > /dev/null 2>&1<BR> /usr/bin/rsync -zrtuog /usr/local/webserver/nginx/conf/ ${rip_eth0_master}::nginx_conf/ > /dev/null 2>&1<BR>}<BR><BR>#虚拟IP ARPing<BR>function_vip_arping()<BR>{<BR> /sbin/arping -I eth0 -c 3 -s ${vip_eth0_share} ${gateway_eth0} > /dev/null 2>&1<BR> /sbin/arping -I eth1 -c 3 -s ${vip_eth1_share} ${gateway_eth1} > /dev/null 2>&1 <BR>}<BR><BR>while true<BR>do<BR> #用HTTP协议检查虚拟IP<BR> if (curl -m 30 -G http://${vip_eth1_share}/ > /dev/null 2>&1) && (${mysql_bin} -u"${mysql_username}" -p"${mysql_password}" -P"${mysql_port}" -h"${vip_eth0_share}" -e"show slave status\G" > /dev/null 2>&1)<BR> then<BR> #取得与内网VIP绑定的服务器内网IP<BR> eth0_active_server=$(${mysql_bin} -u"${mysql_username}" -p"${mysql_password}" -P"${mysql_port}" -h"${vip_eth0_share}" -e"show slave status\G" &#124; grep "Master_Host" &#124; awk -F ': ' '{printf $2}')<BR> <BR> #如果内网VIP=主机内网IP(主机MySQL中的Master_Host显示的是备机的域名或IP),且本机为主机<BR> if [ "${eth0_active_server}" = "${rip_eth0_slave}" ] && [ "${type}" = "master" ]<BR> then<BR> function_rsync_master_to_slave<BR> function_vip_arping <BR> #如果内网VIP=备机内网IP(备机MySQL中的Master_Host显示的是主机的域名或IP)<BR> elif [ "${eth0_active_server}" = "${rip_eth0_master}" ]<BR> then<BR> if (curl -m 30 -G http://${rip_eth1_master}/ > /dev/null 2>&1) && (${mysql_bin} -u"${mysql_username}" -p"${mysql_password}" -P"${mysql_port}" -h"${rip_eth0_master}" -e"show slave status\G" &#124; grep "Seconds_Behind_Master: 0" > /dev/null 2>&1)<BR> then<BR> #如果主机能够访问,数据库同步无延迟,且本机就是主机,那么由本机绑定虚拟IP<BR> if [ "${type}" = "master" ]<BR> then<BR> #如果本机为主机<BR> function_bind_vip<BR> function_vip_arping<BR> echo "${date} 主机已绑定虚拟IP!(Type:1)" >> ${logfile}<BR> else<BR> #如果本机为备机<BR> function_remove_vip<BR> echo "${date} 备机已去除虚拟IP!(Type:2)" >> ${logfile}<BR> fi<BR> else<BR> if [ "${type}" = "slave" ]<BR> then<BR> #如果本机为备机<BR> function_rsync_slave_to_master <BR> function_vip_arping<BR> fi <BR> fi<BR> fi<BR> else<BR> #虚拟IP无法访问时,判断主机能否访问<BR> if (curl -m 30 -G http://${rip_eth1_master}/ > /dev/null 2>&1) && (${mysql_bin} -u"${mysql_username}" -p"${mysql_password}" -P"${mysql_port}" -h"${rip_eth0_master}" -e"show slave status\G" > /dev/null 2>&1)<BR> then<BR> #如果主机能够访问,且本机就是主机,那么由本机绑定虚拟IP<BR> if [ "${type}" = "master" ]<BR> then<BR> function_bind_vip<BR> function_vip_arping<BR> echo "${date} 主机已绑定虚拟IP!(Type:3)" >> ${logfile}<BR> else<BR> function_remove_vip<BR> echo "${date} 备机已去除虚拟IP!(Type:4)" >> ${logfile}<BR> fi<BR> elif (curl -m 30 -G http://${rip_eth1_slave}/ > /dev/null 2>&1) && (${mysql_bin} -u"${mysql_username}" -p"${mysql_password}" -P"${mysql_port}" -h"${rip_eth0_slave}" -e"show slave status\G" > /dev/null 2>&1)<BR> then<BR> #如果主机不能访问而备机能够访问,且本机就是备机,那么由备机绑定虚拟IP<BR> if [ "${type}" = "slave" ]<BR> then<BR> function_bind_vip<BR> function_vip_arping<BR> echo "${date} 备机已绑定虚拟IP!(Type:5)" >> ${logfile}<BR> else<BR> function_remove_vip<BR> echo "${date} 主机已去除虚拟IP!(Type:6)" >> ${logfile}<BR> fi<BR> else<BR> echo "${date} 主机、备机全部无法访问!(Type:7)" >> ${logfile}<BR> fi<BR> fi<BR> #每次循环暂停20秒(即间隔20秒检测一次)<BR> sleep 20<BR>done</DIV></DIV></DIV>
查看全文
发表于:2009-03-24 ┆
阅读(88)
┆
评论(1)
使用 Nginx 提升网站访问速度
<DIV> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR vAlign=top> <TD width=10 height=18> <P> </P> <P> </P></TD> <TD width="100%"> <P><IMG height=6 alt="" src="http://www.ibm.com/i/c.gif" width=1><BR></P> <P>使用 Nginx 提升网站访问速度<IMG class=display-img height=6 alt="" src="http://www.ibm.com/i/c.gif" width=1></P> <P> </P></TD> <TD class=no-print width=192><IMG height=18 alt=developerWorks src="http://www.ibm.com/developerworks/i/dw.gif" width=192></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR vAlign=top> <TD width=10><IMG height=1 alt="" src="http://www.ibm.com/i/c.gif" width=10></TD> <TD width="100%"> <TABLE class=no-print cellSpacing=0 cellPadding=0 width=160 align=right border=0> <TBODY> <TR> <TD width=10><IMG height=1 alt="" src="http://www.ibm.com/i/c.gif" width=10></TD> <TD> <TABLE cellSpacing=0 cellPadding=0 width=150 border=0> <TBODY> <TR> <TD class=v14-header-1-small>文档选项</TD></TR></TBODY></TABLE> <TABLE class=v14-gray-table-border cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=no-padding width=150> <TABLE cellSpacing=0 cellPadding=0 width=143 border=0> <SCRIPT language=JavaScript type=text/javascript> <!-- document.write('<tr valign="top"><td width="8"><img src="//www.ibm.com/i/c.gif" width="8" height="1" alt=""/></td><td width="16"><img alt="将打印机的版面设置成横向打印模式" height="16" src="//www.ibm.com/i/v14/icons/printer.gif" width="16" vspace="3" /></td><td width="122"><p><b><a class="smallplainlink" href="javascript:print()">打印本页</a></b></p></td></tr>'); //--> </SCRIPT> <TBODY> <TR vAlign=top> <TD width=8><IMG height=1 alt="" src="http://www.ibm.com/i/c.gif" width=8></TD> <TD width=16><IMG height=16 alt=将打印机的版面设置成横向打印模式 src="http://www.ibm.com/i/v14/icons/printer.gif" width=16 vspace=3></TD> <TD width=122> <P><B><A class=smallplainlink href="javascript:print()" cmImpressionSent="1">打印本页</A></B></P></TD></TR><NOSCRIPT></NOSCRIPT> <FORM name=email action=https://www.ibm.com/developerworks/secure/email-it.jsp cM1="1"><INPUT type=hidden value="本文主要介绍如何在 Linux 系统上安装高性能的 HTTP 服务器 —— Nginx、并在不改变原有网站结构的条件下用 Nginx 来提升网站的访问速度。" name=body cM1="1" cM3 cM2="0"><INPUT type=hidden value="使用 Nginx 提升网站访问速度" name=subject cM1="1" cM3 cM2="1"><INPUT type=hidden value=cn name=lang cM1="1" cM3 cM2="2"> <SCRIPT language=JavaScript type=text/javascript> <!-- document.write('<tr valign="top"><td width="8"><img src="//www.ibm.com/i/c.gif" width="8" height="1" alt=""/></td><td width="16"><img src="//www.ibm.com/i/v14/icons/em.gif" height="16" width="16" vspace="3" alt="将此页作为电子邮件发送" /></td><td width="122"><p><a class="smallplainlink" href="javascript:document.email.submit();"><b>将此页作为电子邮件发送</b></a></p></td></tr>'); //--> </SCRIPT> <TR vAlign=top> <TD width=8><IMG height=1 alt="" src="http://www.ibm.com/i/c.gif" width=8></TD> <TD width=16><IMG height=16 alt=将此页作为电子邮件发送 src="http://www.ibm.com/i/v14/icons/em.gif" width=16 vspace=3></TD> <TD width=122> <P><A class=smallplainlink href="javascript:document.email.submit();" cmImpressionSent="1"><B><FONT color=#000080>将此页作为电子邮件发送</FONT></B></A></P></TD></TR><NOSCRIPT></NOSCRIPT></FORM></TBODY></TABLE></TD></TR></TBODY></TABLE><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><!-- this content will be automatically generated across all content areas --><!--END RESERVED FOR FUTURE USE INCLUDE FILES--><BR></TD></TR></TBODY></TABLE> <P>级别: 中级</P> <P><A href="http://www.ibm.com/developerworks/cn/web/wa-lo-nginx/#author" cmImpressionSent="1"><FONT color=#000080>刘 柄成</FONT></A> (<A href="mailto:javayou@gmail.com?subject=使用 Nginx 提升网站访问速度" cmImpressionSent="1"><FONT color=#000080>javayou@gmail.com</FONT></A>), 软件工程师, 广州市摩网信息技术有限公司<BR></P> <P>2008 年 7 月 18 日</P> <BLOCKQUOTE>本文主要介绍如何在 Linux 系统上安装高性能的 HTTP 服务器 —— Nginx、并在不改变原有网站结构的条件下用 Nginx 来提升网站的访问速度。</BLOCKQUOTE><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><!-- include java script once we verify teams wants to use this and it will work on dbcs and cyrillic characters --><!--END RESERVED FOR FUTURE USE INCLUDE FILES--> <P><A name=N10053><SPAN class=atitle>Nginx 简介</SPAN></A></P> <P><B>Nginx</B> ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,它已经在该站点运行超过两年半了。 Igor 将源代码以类 BSD 许可证的形式发布。尽管还是测试版,但是,Nginx 已经因为它的稳定性、丰富的功能集、示例配置文件和低系统资源的消耗而闻名了。</P> <P>根据最新一期(08 年 6 月份)的 NetCraft 调查报告显示,已经有超过两百万的主机使用了 Nginx,这个数字超过了另外一个轻量级的 HTTP 服务器 lighttpd, 排名第四,并且发展迅速。下面是这份报告的前几名的报表:</P> <TABLE class=data-table-1 cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD><B>产品</B> </TD> <TD><B>网站数</B> </TD></TR> <TR> <TD>Apache </TD> <TD>84,309,103 </TD></TR> <TR> <TD>IIS </TD> <TD>60,987,087 </TD></TR> <TR> <TD>Google GFE </TD> <TD>10,465,178 </TD></TR> <TR> <TD>Unknown </TD> <TD>4,903,174 </TD></TR> <TR> <TD>nginx </TD> <TD>2,125,160 </TD></TR> <TR> <TD>Oversee </TD> <TD>1,953,848 </TD></TR> <TR> <TD>lighttpd </TD> <TD>1,532,952 </TD></TR></TBODY></TABLE><BR> <P>关于这期调查报告的更详细信息请看下面链接:</P> <P><A href="http://survey.netcraft.com/Reports/200806/" cmImpressionSent="1"><FONT color=#000080>http://survey.netcraft.com/Reports/200806/</FONT></A> </P> <P>下图是最近几个月使用 Nginx 和 lighttpd 的网站数比较</P><BR><A name=N100C8><B>图 1. 最近几个月使用 Nginx 和 lighttpd 的网站数比较</B></A><BR><IMG height=171 alt="图 1. 最近几个月使用 Nginx 和 lighttpd 的网站数比较" src="http://www.ibm.com/developerworks/cn/web/wa-lo-nginx/image001.png" width=257> <BR> <P><A name=N100D5><SPAN class=atitle>使用 Nginx 前必须了解的事项</SPAN></A></P> <OL type=1> <LI>目前官方 Nginx 并不支持 Windows,您只能在包括 Linux、UNIX、BSD 系统下安装和使用; <LI>Nginx 本身只是一个 HTTP 和反向代理服务器,它无法像 Apache 一样通过安装各种模块来支持不同的页面脚本,例如 PHP、CGI 等; <LI>Nginx 支持简单的负载均衡和容错; <LI>支持作为基本 HTTP 服务器的功能,例如日志、压缩、Byte ranges、Chunked responses、SSL、虚拟主机等等,应有尽有。 </LI></OL> <P><A name=N100EC><SPAN class=atitle>在 Linux 下安装 Nginx</SPAN></A></P> <P>为了确保能在 Nginx 中使用正则表达式进行更灵活的配置,安装之前需要确定系统是否安装有 PCRE(Perl Compatible Regular Expressions)包。您可以到 <A href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/" cmImpressionSent="1"><FONT color=#000080>ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/</FONT></A> 下载最新的 PCRE 源码包,使用下面命令下载编译和安装 PCRE 包:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode># wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.7.tar.gz # tar zxvf pcre-7.7.tar.gz # cd pcre-7.7 # ./configure # make # make install </PRE></TD></TR></TBODY></TABLE><BR> <P>接下来安装 Nginx,Nginx 一般有两个版本,分别是稳定版和开发版,您可以根据您的目的来选择这两个版本的其中一个,下面是把 Nginx 安装到 /opt/nginx 目录下的详细步骤:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode># wget http://sysoev.ru/nginx/nginx-0.6.31.tar.gz # tar zxvf nginx-0.6.31.tar.gz # cd nginx-0.6.31 # ./configure --with-http_stub_status_module –prefix=/opt/nginx # make # make install </PRE></TD></TR></TBODY></TABLE><BR> <P>其中参数 <CODE><FONT face=NSimsun>--with-http_stub_status_module</FONT></CODE> 是为了启用 nginx 的 NginxStatus 功能,用来监控 Nginx 的当前状态。</P> <P>安装成功后 /opt/nginx 目录下有四个子目录分别是:conf、html、logs、sbin 。其中 Nginx 的配置文件存放于 conf/nginx.conf,Nginx 只有一个程序文件位于 sbin 目录下的 nginx 文件。确保系统的 80 端口没被其他程序占用,运行 sbin/nginx 命令来启动 Nginx,打开浏览器访问此机器的 IP,如果浏览器出现 Welcome to nginx! 则表示 Nginx 已经安装并运行成功。</P> <P><A name=N1010F><SPAN class=atitle>常用的 Nginx 参数和控制</SPAN></A></P> <P><A name=N10116><SPAN class=smalltitle>程序运行参数</SPAN></A></P> <P>Nginx 安装后只有一个程序文件,本身并不提供各种管理程序,它是使用参数和系统信号机制对 Nginx 进程本身进行控制的。 Nginx 的参数包括有如下几个:</P> <P><B>-c</B> <path_to_config>:使用指定的配置文件而不是 conf 目录下的 nginx.conf 。</P> <P><B>-t</B>:测试配置文件是否正确,在运行时需要重新加载配置的时候,此命令非常重要,用来检测所修改的配置文件是否有语法错误。</P> <P><B>-v</B>:显示 nginx 版本号。</P> <P><B>-V</B>:显示 nginx 的版本号以及编译环境信息以及编译时的参数。</P> <P>例如我们要测试某个配置文件是否书写正确,我们可以使用以下命令</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>sbin/nginx – t – c conf/nginx2.conf</PRE></TD></TR></TBODY></TABLE><BR> <P><A name=N1013E><SPAN class=smalltitle>通过信号对 Nginx 进行控制</SPAN></A></P> <P>Nginx 支持下表中的信号:</P> <TABLE class=data-table-1 cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD><B>信号名</B> </TD> <TD><B>作用描述</B> </TD></TR> <TR> <TD>TERM, INT </TD> <TD>快速关闭程序,中止当前正在处理的请求 </TD></TR> <TR> <TD>QUIT </TD> <TD>处理完当前请求后,关闭程序 </TD></TR> <TR> <TD>HUP </TD> <TD>重新加载配置,并开启新的工作进程,关闭就的进程,此操作不会中断请求 </TD></TR> <TR> <TD>USR1 </TD> <TD>重新打开日志文件,用于切换日志,例如每天生成一个新的日志文件 </TD></TR> <TR> <TD>USR2 </TD> <TD>平滑升级可执行程序 </TD></TR> <TR> <TD>WINCH </TD> <TD>从容关闭工作进程 </TD></TR></TBODY></TABLE><BR> <P>有两种方式来通过这些信号去控制 Nginx,第一是通过 logs 目录下的 nginx.pid 查看当前运行的 Nginx 的进程 ID,通过 <CODE><FONT face=NSimsun>kill – XXX <pid></FONT></CODE> 来控制 Nginx,其中 XXX 就是上表中列出的信号名。如果您的系统中只有一个 Nginx 进程,那您也可以通过 <CODE><FONT face=NSimsun>killall</FONT></CODE> 命令来完成,例如运行 <CODE><FONT face=NSimsun>killall – s HUP nginx</FONT></CODE> 来让 Nginx 重新加载配置。</P> <P><A name=N101A4><SPAN class=atitle>配置 Nginx</SPAN></A></P> <P>先来看一个实际的配置文件:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode> user nobody;# 工作进程的属主 worker_processes 4;# 工作进程数,一般与 CPU 核数等同 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { use epoll;#Linux 下性能最好的 event 模式 worker_connections 2048;# 每个工作进程允许最大的同时连接数 } http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] $request ' # '"$status" $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log off; access_log logs/access.log;# 日志文件名 sendfile on; #tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; include gzip.conf; # 集群中的所有后台服务器的配置信息 upstream tomcats { server 192.168.0.11:8080 weight=10; server 192.168.0.11:8081 weight=10; server 192.168.0.12:8080 weight=10; server 192.168.0.12:8081 weight=10; server 192.168.0.13:8080 weight=10; server 192.168.0.13:8081 weight=10; } server { listen 80;#HTTP 的端口 server_name localhost; charset utf-8; #access_log logs/host.access.log main; location ~ ^/NginxStatus/ { stub_status on; #Nginx 状态监控配置 access_log off; } location ~ ^/(WEB-INF)/ { deny all; } location ~ \.(htm|html|asp|php|gif|jpg|jpeg|png|bmp|ico|rar|css|js| zip|java|jar|txt|flv|swf|mid|doc|ppt|xls|pdf|txt|mp3|wma)$ { root /opt/webapp; expires 24h; } location / { proxy_pass http://tomcats;# 反向代理 include proxy.conf; } error_page 404 /html/404.html; # redirect server error pages to the static page /50x.html # error_page 502 503 /html/502.html; error_page 500 504 /50x.html; location = /50x.html { root html; } } } </PRE></TD></TR></TBODY></TABLE><BR> <P><A name=N101B2><SPAN class=smalltitle>Nginx 监控</SPAN></A></P> <P>上面是一个实际网站的配置实例,其中灰色文字为配置说明。上述配置中,首先我们定义了一个 location ~ ^/NginxStatus/,这样通过 http://localhost/NginxStatus/ 就可以监控到 Nginx 的运行信息,显示的内容如下:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>Active connections: 70 server accepts handled requests 14553819 14553819 19239266 Reading: 0 Writing: 3 Waiting: 67 </PRE></TD></TR></TBODY></TABLE><BR> <P>NginxStatus 显示的内容意思如下:</P> <UL> <LI>active connections – 当前 Nginx 正处理的活动连接数。 <LI>server accepts handled requests -- 总共处理了 14553819 个连接 , 成功创建 14553819 次握手 ( 证明中间没有失败的 ), 总共处理了 19239266 个请求 ( 平均每次握手处理了 1.3 个数据请求 )。 <LI>reading -- nginx 读取到客户端的 Header 信息数。 <LI>writing -- nginx 返回给客户端的 Header 信息数。 <LI>waiting -- 开启 keep-alive 的情况下,这个值等于 active - (reading + writing),意思就是 Nginx 已经处理完正在等候下一次请求指令的驻留连接。 </LI></UL> <P><A name=N101D4><SPAN class=smalltitle>静态文件处理</SPAN></A></P> <P>通过正则表达式,我们可让 Nginx 识别出各种静态文件,例如 images 路径下的所有请求可以写为:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>location ~ ^/images/ { root /opt/webapp/images; } </PRE></TD></TR></TBODY></TABLE><BR> <P>而下面的配置则定义了几种文件类型的请求处理方式。</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>location ~ \.(htm|html|gif|jpg|jpeg|png|bmp|ico|css|js|txt)$ { root /opt/webapp; expires 24h; } </PRE></TD></TR></TBODY></TABLE><BR> <P>对于例如图片、静态 HTML 文件、js 脚本文件和 css 样式文件等,我们希望 Nginx 直接处理并返回给浏览器,这样可以大大的加快网页浏览时的速度。因此对于这类文件我们需要通过 root 指令来指定文件的存放路径,同时因为这类文件并不常修改,通过 <CODE><FONT face=NSimsun>expires</FONT></CODE> 指令来控制其在浏览器的缓存,以减少不必要的请求。 <CODE><FONT face=NSimsun>expires</FONT></CODE> 指令可以控制 HTTP 应答中的“ Expires ”和“ Cache-Control ”的头标(起到控制页面缓存的作用)。您可以使用例如以下的格式来书写 Expires:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>expires 1 January, 1970, 00:00:01 GMT; expires 60s; expires 30m; expires 24h; expires 1d; expires max; expires off; </PRE></TD></TR></TBODY></TABLE><BR> <P><A name=N101F7><SPAN class=smalltitle>动态页面请求处理</SPAN></A></P> <P>Nginx 本身并不支持现在流行的 JSP、ASP、PHP、PERL 等动态页面,但是它可以通过反向代理将请求发送到后端的服务器,例如 Tomcat、Apache、IIS 等来完成动态页面的请求处理。前面的配置示例中,我们首先定义了由 Nginx 直接处理的一些静态文件请求后,其他所有的请求通过 proxy_pass 指令传送给后端的服务器(在上述例子中是 Tomcat)。最简单的 <CODE><FONT face=NSimsun>proxy_pass</FONT></CODE> 用法如下:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>location / { proxy_pass http://localhost:8080; proxy_set_header X-Real-IP $remote_addr; } </PRE></TD></TR></TBODY></TABLE><BR> <P>这里我们没有使用到集群,而是将请求直接送到运行在 8080 端口的 Tomcat 服务上来完成类似 JSP 和 Servlet 的请求处理。</P> <P>当页面的访问量非常大的时候,往往需要多个应用服务器来共同承担动态页面的执行操作,这时我们就需要使用集群的架构。 Nginx 通过 <CODE><FONT face=NSimsun>upstream</FONT></CODE> 指令来定义一个服务器的集群,最前面那个完整的例子中我们定义了一个名为 tomcats 的集群,这个集群中包括了三台服务器共 6 个 Tomcat 服务。而 proxy_pass 指令的写法变成了:</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=code-outline><PRE class=displaycode>location / { proxy_pass http://tomcats; proxy_set_header X-Real-IP $remote_addr; } </PRE></TD></TR></TBODY></TABLE><BR> <P>在 Nginx 的集群配置中,Nginx 使用最简单的平均分配规则给集群中的每个节点分配请求。一旦某个节点失效时,或者重新起效时,Nginx 都会非常及时的处理状态的变化,以保证不会影响到用户的访问。</P> <P><A name=5.总结|outline><SPAN class=atitle>总结</SPAN></A></P> <P>尽管整个程序包只有五百多 K,但麻雀虽小、五脏俱全。 Nginx 官方提供的各种功能模块应有尽有,结合这些模块可以完整各种各样的配置要求,例如:压缩、防盗链、集群、FastCGI、流媒体服务器、Memcached 支持、URL 重写等等,更关键的是 Nginx 拥有 Apache 和其他 HTTP 服务器无法比拟的高性能。您甚至可以在不改变原有网站的架构上,通过在前端引入 Nginx 来提升网站的访问速度。</P> <P>本文只是简单介绍了 Nginx 的安装以及常见的基本的配置和使用,更多关于 Nginx 的信息请阅读文章后面的参考资源。在这里要非常感谢我的朋友——陈磊(chanix@msn.com),他一直在做 Nginx 的中文 WIKI(<A href="http://wiki.codemongers.com/NginxChs" cmImpressionSent="1"><FONT color=#000080>http://wiki.codemongers.com/NginxChs</FONT></A>),同时也是他介绍给我这么好的一款软件。</P> <P>如果您的网站是运行在 Linux 下,如果您并没有使用一些非常复杂的而且确定 Nginx 无法完成的功能,那您应该试试 Nginx 。</P><BR><BR> <P><A name=resources><SPAN class=atitle>参考资料 </SPAN></A></P><B>学习</B><BR> <UL> <LI>查阅 <A href="http://www.nginx.net/" cmImpressionSent="1"><FONT color=#000080>Nginx 英文站点</FONT></A>。 <BR><BR> <LI>查阅 <A href="http://wiki.codemongers.com/NginxChs" cmImpressionSent="1"><FONT color=#000080>Nginx 中文 WIKI</FONT></A>。 <BR><BR> <LI>查阅 <A href="http://wiki.codemongers.com/Main" cmImpressionSent="1"><FONT color=#000080>Nginx 英文 WIKI</FONT></A>。 <BR><BR> <LI>另外一个轻量级 HTTP 服务器 <A href="http://www.lighttpd.net/" cmImpressionSent="1"><FONT color=#000080>lighttpd</FONT></A>。 <BR><BR><A href="http://www.nginx8.cn/nginx/18/106.html">http://www.nginx8.cn/nginx/18/106.html</A></LI></UL> <P> </P><BR><B>获得产品和技术</B><BR> <UL> <LI>下载 <A href="http://sysoev.ru/nginx/nginx-0.6.31.tar.gz" cmImpressionSent="1"><FONT color=#000080>最新版本的 Nginx</FONT></A>。 <BR><BR> <LI>下载 <A href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/" cmImpressionSent="1"><FONT color=#000080>PCRE</FONT></A>。 </LI></UL><BR><BR></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2009-03-24 ┆
阅读(82)
┆
评论(0)
男人必看,很有意义
<DIV>面对声色犬马的物质诱惑,我犹豫了.我想告诉我的男人,我爱你.我也离不开你,我也想24小时和你腻在一起,但还是因为我爱你,我强迫自己独立.</DIV> <DIV> 我想告诉我的男人,我希望你有钱,因为我骨子里有所有女人都有的贪婪和虚荣.你可以不养着我,但你要有养我的能力.吃糠咽菜的日子谁都不想过.让自己的女人受苦,是爷们吗?</DIV> <DIV> 在你20多岁没钱,没车,没房的时候,你一生中最一无所有穷困潦倒的时候,我正拥有一生中最好的时光,年轻,单纯,美丽.</DIV> <DIV> 我想告诉我的男人,如果你有10块钱,那你要花3块钱给我买一串糖葫芦吃.如果你有200块钱,我们必须得去吃一次我想吃的三千里.不然,你凭什么说爱我?</DIV> <DIV> 恋爱的时候,什么好听的你都可以说,但有些事情不是光说说的.你爱我的时候可以为我当牛做马,但我没有把你真的当成牛马.吵架的时候,你就服个软,让我两句,又能怎么样?老爷们能屈能伸,不是吃亏.</DIV> <DIV> 你换来的是我死心塌地的爱,一个好媳妇.你做的一切都是值得的.不要想到上床才想到媳妇,媳妇不是用来作爱的.而是用来好好爱的.</DIV> <DIV> 说了上面的话,会遭到男人的围攻吧?哈哈,我不在乎,我是个女人,是个懂得爱的女人,我说的也都是实话,如果男人可以好好想想我说的话,那么不管你有钱没钱都会找到个好姑娘.不要抱怨没有好女人,这样的心态不对.什么事情都要有个平衡的心态,只有这样你才可能成功.<BR></DIV>
查看全文
发表于:2009-03-14 ┆
阅读(104)
┆
评论(0)
安装行车口诀
<DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; LINE-HEIGHT: 14pt; mso-char-indent-count: 2.0; mso-line-height-rule: exactly; mso-layout-grid-align: none"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>用车之前想一想,交通安全记心上;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 行车路上想一想,注意行人和车辆;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 交叉路口想一想,一看二慢三不抢;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 转弯之前想一想,减速鸣号守规章;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 会车之前想一想,礼让三先高风尚;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 超车之前想一想,没有把握不勉强;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 山泥道路想一想,路滑要把车速降;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 雾天行车想一想,打开雾灯换低档;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 停车之前想一想,选择地点要宽敞;</FONT></SPAN><SPAN lang=EN-US><BR></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3> 车辆入库想一想,仔细检查勤保养。</FONT></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; LINE-HEIGHT: 14pt; mso-char-indent-count: 2.0; mso-line-height-rule: exactly; mso-layout-grid-align: none"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; LINE-HEIGHT: 14pt; mso-char-indent-count: 2.0; mso-line-height-rule: exactly; mso-layout-grid-align: none"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3></FONT></SPAN> </P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; LINE-HEIGHT: 14pt; mso-char-indent-count: 2.0; mso-line-height-rule: exactly; mso-layout-grid-align: none"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#dddddd cellSpacing=0 cellPadding=0 width=360 align=center border=1> <TBODY> <TR height=60> <TD align=middle width=60><IMG alt="" src="http://control.cublog.cn/fileicon/rar.gif" border=0></TD> <TD> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR height=20> <TD align=middle width=40>文件:</TD> <TD>汽车驾驶知识—正常.rar</TD></TR> <TR height=20> <TD align=middle width=40>大小:</TD> <TD>154KB</TD></TR> <TR height=20> <TD align=middle width=40>下载:</TD> <TD><A href="http://blogimg.chinaunix.net/blog/upfile2/090314005242.rar">下载</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; LINE-HEIGHT: 14pt; mso-char-indent-count: 2.0; mso-line-height-rule: exactly; mso-layout-grid-align: none"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>附件中有汽车驾驶知识</FONT></SPAN></P></DIV>
查看全文
发表于:2009-03-14 ┆
阅读(116)
┆
评论(0)
学车顺口溜 只要牢记考试准能过
<DIV> <DIV align=center><STRONG>学车顺口溜 只要牢记考试准能过</STRONG></DIV> <DIV align=center> </DIV> <DIV align=center> </DIV> <DIV align=center>上车喊报告!</DIV> <DIV align=center> 拉门出左脚,坐好叫考官,面带梨涡笑。</DIV> <DIV align=center> 关门深呼吸,坐姿要摆好。</DIV> <DIV align=center> 查看空挡位,点火要轻柔。</DIV> <DIV align=center> 方向别忘了,挂挡要干脆,手刹要放掉。</DIV> <DIV align=center> 起步问考官,多看后视镜,喇叭来欢叫。</DIV> <DIV align=center> 离合器放松,做好半连动,出发要稳当,别让考官晃!</DIV> <DIV align=center> 换挡要及时,加挡要迅速,遇人要刹车,可别过了头。</DIV> <DIV align=center> 转弯要减速,立即减下挡,多看多停顿,安全放心中。</DIV> <DIV align=center> 肩膀要放松,双手放到位,神态要自然,莫因考官慌。</DIV> <DIV align=center> 自己有信心,艰辛都不怕,胆大又心细,礼貌别忘了。</DIV> <DIV align=center> 只要牢记着,考试准能过! (热心车友提供)</DIV></DIV>
查看全文
发表于:2009-03-14 ┆
阅读(125)
┆
评论(0)
贴库、移库、倒库经验备忘
<DIV> <TABLE cellSpacing=0 cellPadding=0 width="96%" align=center border=0> <TBODY> <TR> <TD class=black_sz14 align=middle height=30>贴库、移库、倒库经验备忘</TD></TR> <TR> <TD> <P>一、贴库 <BR> 调好坐椅,人坐端正。缓慢起步,右转头部。用右后小窗上的标志点瞄准中杆双手缓慢右转方向盘(可微微提前一点)。当被瞄准的中杆过标志点后方向盘随之打到底 然后开始看后车窗。当后窗最外侧的蓝色标志点即将与后中杆重合时 (有点提前量)快速回轮两圈使方向盘归原始位。接着右转身右手扶右座 左手单手把轮,手放在方向盘的正前标志点上,头居两车座中间,单手转动方向盘修正入库方向使车尾驶向两杆中间(此时速度容易加快,注意加以控制,以防停车冲过头)。 修正方向后方向盘回正,人也回位坐正,头部位于驾驶座上方看右后小窗。当右后小窗标志点与后中杆重合或综合感觉车尾到位时(可稍有点提前量) 及时停车(利用刹车而不是离合器来实现准确停车,无须追求平稳缓停)。 在抬起脚刹之前挂好下一步要用的档位(前进1档),然后踩住离合器抬脚刹。如果需要调整一下左脚在离合器上的上下位置,踩住刹车挂空档然后调脚,调完后马上踩下离合器然后抬起脚刹(即空档放松左脚时最好踩住脚刹以防有坡溜车)。 </P> <P><BR> 注意事项: ⑴ 不要图快图痛快,再熟练也要保持慢速,充分利用此时机熟悉所用车离合器灵敏度, 增加控制车速之能力。 ⑵ 通过离合控制速度使慢而不停是贴、移、倒库过程中的始终关键。只有慢,才能来得及做该做的动作和保持从容不迫。每次起步都要慢抬离合,匀缓起动,不要怕别人笑话你慢(反正没这方面规定)。行车过程中踩离合的脚要始终脉冲式加力减力 地微微运动,动态地、有一定提前量地控制速度使慢而不停。如果感到车要停了或已经接近停止,快抬离合时千万不要幅度过大以防熄火, 可根据发动机声音和震动的变化微收微放离合。桩考时车停3秒才算停车一次,停车两次重新考试。因此, 由于慢而不小心形成的瞬间停车只要不超过3秒就不算错。不要因为怕停而不敢让速度放慢。 ⑶ 停不停车已不重要,重要的是千万不要前后碰杆和出前后线,一碰杆或出线则必完。故停车时最好多留点安全距离,尽量少冒险玩悬。 ⑷ 用标志点瞄准中杆时,越在杆到标志点之前就转方向盘,入库时车离中杆越近,离另一杆越远。反之则相反。如果贴库、倒库之前车的侧面离库太近,瞄准时应让杆过标志点一点再转方向盘,以防车头刮到杆。 ⑸ 不用脚刹时右脚尽力抬高或离开脚刹以防脚刹被不经意略踩到干扰正常操作。 <BR><BR>二、移库 <BR> 1.一上 <BR> 起动前踩下离合挂好1档抬高右脚,先把方向盘右转2圈到头并用手压住(而不是先转一圈起动后再转到头)(尽可能减少车动以后的操作内容,使自己能 分出更多注意力控制速度)。 起步前最好把要做的步骤过一遍脑:何时左回轮,何时右回轮,何时停车,注意什么...缓慢抬起离合使车慢慢起步,保持慢而不停和方向盘右打到头。 前窗左标志点与前中杆重合(最好稍过一点时)时快速左打方向盘到打不动为止(打轮越快后面操作富裕的时间越多)。 当车身转正之时如果已经接近前中杆则及时停车。如果离前中杆还有一点距离,则右回轮两圈,在车接近前中杆时及时停车(多一点安全距离千万别碰杆)。 <BR>注意事项: <BR> ⑴ 一上、一下、二上前三步车身向右移位的幅度越大,最后一步二下(入库不过后线不碰后杆)越容易和安全。一上、一下、二上起步后目标杆稍过一点车窗上的标志点再回轮可使车身向右移位幅度加大。 ⑵ 当车身转正之时如果已经接近前中杆则应马上及时停车,等停车后再原地回轮(与下一步动作结合)。也就是说,一上、一下、二上乃至二下在车动了以后要做的事只有一个:标志物到位以后快速打轮到底 ,车身转正后如果已经接近前中杆则及时停车,如果离前中杆还有一点距离,则右回轮两圈,在车接近前中杆时及时停车。利用此法,前后杆的距离就是再小点也不怕( 大不了不回轮两圈。故停车时多留点安全距离不会影响下一步)。 ⑶ 控制车速保持低速是自始自终最留心注意的事情。宁可慢得偶尔停一下不可使车速突然偏快来不及完成动作。车速一慢,打轮 也可慢。慌乱中宁可稍稍停下正在进行的快速打轮,全力控制住车速,不可因注意力都放在了快速打轮上而使车速加快。 <BR><BR>2.一下 <BR> 起步前挂上倒档然后把方向盘右转到头并按住。快速想一遍下面要做的步骤。 慢慢让车动起来并压住速度保持慢速。 双手扶轮,右转头看后方(头部位于驾驶座位置)。后窗左标志点与后中杆重合(最好稍过一点)时以快速左打方向盘到打不动为止(此时车速容易加快,注意提前下踩一点离合器)。 当车身转正之时如果后面已接近后中杆则及时停车。如果离杆还有点距离,则回轮两圈在车接近中杆时及时停车(多一点安全距离千万别碰杆)。 <BR>注意事项:同上。 <BR>3.二上<BR> 基本同一上。起步前挂档后先把方向盘右转到头并压住。起步前先把操作步骤过一遍脑:何时左回轮,何时右回轮,何时停车... 慢抬离合微动起步,保持慢而不停和方向盘右打到头。 前窗右标志点与前右杆重合时在稳住速度的基础上以最快的速度左打方向盘到打不动为止。 当车身转正之时如果已经接近前中杆则及时停车。如果离前中杆还有一点距离,则右回轮两圈,在车接近前中杆时及时停车(多一点安全距离千万别碰杆)。 <BR>注意事项:同前。 <BR>4.二下 <BR> 踩住离合和脚刹挂上倒档把方向盘右转到头并按住 ,然后抬起右脚(尽力抬高)。想一遍下面要做的内容。慢慢让车动起来并压住离合保持慢速。原地右转脸当看到后中杆一进入左小后窗时即 在保持低速的基础上快速左打方向盘到打不动为止(此时车速容易加快,注意提前一点控制好离合器)。当车身转正前窗右标志点与前右杆接近重合时停车。 停车后随手挂上一档。 <BR> 注意事项: ⑴ 车停前可不回正方向盘,因为紧接着要驶向左前方。 ⑵ 后中杆进入左小后窗右左打方向盘到底要快,车速要慢,否则车尾会出底线。此时注意综合观察车身位置,只要后中杆进入左小后窗,车就肯定能进入右库(过了前后中杆连成的中间线)。此时只要车身转正,车头就会过了前后中杆连成的中间线进入右库完成移库任务。关键是车尾别碰右后杆和别出底线。一旦发现车尾快碰右后杆和要出底线时,即使车身未完全转正、前窗右标志点与前右杆未完全重合也应立即停车。 <BR>三、倒库<BR>1.出库<BR> 保持方向盘左打到底,高抬脚刹,慢抬离合,缓慢起步,当前窗右标志点与前中杆重合并稍过一点点时右打轮两圈使车直线前行缓慢通过左前杆和前中杆。此时注意观看车头两侧与杆距离,及时转动方向盘修正避免与杆擦碰。 <BR> 注意事项:压住速度,缓慢通过,及时修正调整。 <BR>2.左转车就位<BR> 车左前角与前方路边线重合时快速左打轮到底。车向左边转正(与道路平行)时快速回轮两圈前行1米后停车。此过程也是要压住速度。只有速度慢,才能及时拐过弯来车身不偏与路平行。 <BR> 3.倒车入库<BR> 挂好倒档,缓慢起步,单手打轮,另手扶座。右转头看后方,头部位于驾驶座位置(不是移到车中间)。用左小后窗的标志点瞄准前中杆并围着它转(方向盘慢慢 单手左打)。中杆往前出左小后窗时方向盘打到底,保持慢速,一旦后窗中间标志点(红长条)与后右杆重合马上右回轮两圈(带点预见性提前半秒转身然后回轮)。 然后单手扶轮(手扶在方向盘的彩色标记上),右手扶座,头部移到车中间进行左右修轮(修正倒车方向使车左右不偏)。距离后边线一米远时停车。 <BR>四、其它注意点(反复提醒)<BR> 1、不要挂错档。 2、不要转错方向盘方向:贴库时双手右打轮,倒库时单手左打轮。 3、慢抬离合千万不要熄火。不要怕人笑话慢。 4、在控制好车速的情况下打方向盘总是越快越好。二者矛盾时优先控制车速。 5、意外停车时也要慢抬离合,否则会熄火。 6、千万不要看错杆。 7、回轮两圈别数错。8、放松精神,持轻松随意态度。9、穿厚底旅游鞋。10、将此文反复熟记,事前过脑,大有好处。 <BR>桩考评定标准 <BR> 按规定的路线,从起点将车倒入左库停正,再二进二退移位到右库停正,接着前进穿过左库至路上,再倒入右库停正。 <BR> 要领: 低速行驶,正确运用方向开把时间和角度 <BR>有下列情况之一者为不及格: <BR> 1.不按规定路线、顺序行驶(看错杆)。 <BR> 2.碰擦桩杆。 <BR> 3.车身出线。 <BR> 4.移库不入。 <BR> 5.中途停车2次(包括2次)<BR> 6.熄火</P></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2009-03-14 ┆
阅读(301)
┆
评论(0)
学车训练口诀
<DIV> <TABLE cellSpacing=0 cellPadding=0 width=558 align=center border=0> <TBODY> <TR> <TD class=huitxt align=right></TD></TR> <TR> <TD class=content vAlign=top height=140> <P>学车训练口诀<BR> </P> <P><BR> </P> <P><BR>学员换人程序,学员换人要作到车尾下车右则绕,绕到左门喊报告。 <BR> 上车程序,打开车门要问好,右手扶手,左手门,左腿踏板右腿到,注意要把门关牢,调整座位来报到,左腿离合右腿油,轰声空油报仪表(考官同意起步走)。转向灯,后视镜,踏离合挂(一挡,二挡)。 <BR> 上坡起步,油离配合放手刹,手刹跟着油门下。下坡起步,转向灯,后视镜,踏离合挂(一挡,二挡)注意要把手刹先放下,油离配合跟油走,达到平稳起步的目的。 <BR> 上坡行驶,要想加挡先加速,加速在先,加挡在后。要想减挡先减速,减速在先,减挡在后。 <BR> 下坡行驶,起步后,要跟油走,连续加挡不加油。要想减挡先减速,减速在先,减挡在后。 <BR> 路面行驶总结一句:根据不同的路面情况,选择不同的车速,根据不同的车速,选择不同的挡位,拉开前后车的安全距离,达到安全平稳行驶的目的。 <BR> 路口行驶,进入路口之前三十米,减速选挡,观察路口情况,听从教练口令,抓住时机,随车尾通过,不能迎车头走,随车尾通过体现让行,顺利通过。迎车头体现抢行,两车相遇,违章在先。 <BR> 通过障碍,单边双边和井盖要注意自己的左膝盖。 <BR> 苜蓿叶桥,教练发出右转弯直接右转上引桥,教练发出左转以两个右转达到调头目的,交叉路不准转弯。环岛桥看做是环岛逆时针方向绕环岛。不同的是环岛中间有条直行道,环岛四周有引桥,环岛桥分成四等份90度右转180度,直行270度,左转360度调头。 <BR> 环岛,以逆时针方向绕环岛进左,出右调头左转走里,直右走边,找路号。 <BR> 弯道行驶,上坡转弯,弯前减速选择挡位,打方向弯中加油回方向,回正方向根据情况变换挡位,跟油走。下坡转弯,弯前减速带着刹车打方向回正方向,根据情况变换挡位直行走。 <BR> 上坡行驶中,教练发出停车令,转向灯后视镜,作到选择挡位,跟油走,调整方位右,左,右靠边要把车放正,收油门备刹车,代刹车的同时,切断离合,再利用刹车控制速度到停车,拉手刹挡摘下,转向灯回位,抬离合放刹车,停车完毕。 <BR> 下坡行驶中,教练发出停车令,转向灯后视镜,带着刹车,调整方位右,左,右靠边要把车放正,切断离合再去刹车,达到平稳停车,拉手刹挡摘下,转向灯回位,抬离合放刹车,停车程序完毕。 <BR></P></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2009-03-14 ┆
阅读(485)
┆
评论(0)
中关村电脑装机必看
<DIV> 1.一般去中关村装电脑(包括台式机和笔记本)时最好在网上查一下相关配件价格,相关配件的评价,这样购买时也能心里有数,不会受到经销商的忽悠。如果有朋友懂电脑最好随行。</DIV> <DIV>装机查询网站:<A href="http://www.pcpop.com">http://www.pcpop.com</A>, <A href="http://www.it168.com">http://www.it168.com</A>, <A href="http://www.zol.com.cn">http://www.zol.com.cn</A> </DIV> <DIV> <A href="http://www.lenovo.com.cn">http://www.lenovo.com.cn</A> </DIV> <DIV> </DIV> <DIV> 2.购买时要货比三家,不要急于购买,多询价,这样在购买时经销商不会加太多的水分。购买时要记着:一分价钱,一分货,便宜不一定没好货,好货肯定不会便宜。</DIV> <DIV> </DIV> <DIV> 3. 购买液晶显示器和笔记本前一定要用<FONT color=#0080ff size=4>验机软件</FONT>测试<FONT color=#ff0000 size=4>亮点</FONT>和<FONT color=#ff0000 size=4>坏点</FONT>。 最好使用一两个小时,这样也能测试一下机器性能。</DIV> <DIV> </DIV> <DIV> 4.尽管windows7已经出了测试版,但现在大多人还是用windowsxp,故推荐以下链接:</DIV> <DIV> <A href="http://www.luobo.cc">http://www.luobo.cc</A> 萝卜家园 <FONT color=#009900 size=4>萝卜家园笔记本安装版XP</FONT>支持台式机和笔记本安装,自动安装驱动。</DIV> <DIV> </DIV> <DIV> <A href="http://www.wzlu.com">http://www.wzlu.com</A> 小路工作室 <FONT color=#ff0000 size=4>最新GHOSTXP 2009贺岁版</FONT>可下载使用 支持最新台式机,笔记本不支持。</DIV> <DIV> </DIV> <DIV> 这两个论坛均可下载GHOSTxp.经测试均支持市场主流配件,稳定可靠。</DIV> <DIV> </DIV> <DIV> 5.硬盘分区:320G以下硬盘均可用<FONT color=#ff0000 size=4>DM分区</FONT>,400G以上大硬盘用<FONT color=#ff0000 size=4>系统安装盘分区</FONT>。因为DM不支持320G以上大硬盘。</DIV> <DIV> </DIV> <DIV> 6.系统备份:</DIV> <DIV> <FONT color=#ff0000 size=4>一键还原精灵</FONT>,是一款傻瓜式的系统备份和还原工具。它具有安全、快速、保密性强、压缩率高、兼容性好等特点,特别适合电脑新手和担心操作麻烦的人使用。 快速还原,支持WIN 98/XP/2000/NT/Vista .</DIV> <DIV> <A href="http://www.yjhy.net/xzdz.htm">http://www.yjhy.net/xzdz.htm</A> 官方下载地址</DIV> <DIV> </DIV> <DIV> <FONT color=#009900 size=4>中正电脑拯救系统</FONT> </DIV> <DIV> <TABLE cellSpacing=0 cellPadding=10 align=left border=0> <TBODY> <TR> <TD><IMG class=pic2 src="http://lenovo.xnbn.com/Soft/UploadSoftPic/200712/20071228215225375.gif" width=150 border=0></TD></TR></TBODY></TABLE> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">本系统采用联想电脑一键还原系统内核,可使用在兼容机、联想、</SPAN><SPAN lang=EN-US><FONT face="宋体, MS Song">DELL</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">等品牌机上。系统的备份还原方式为:先使用“系统部署”功能为系统部署</SPAN><SPAN lang=EN-US><FONT face="宋体, MS Song">HPA</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">分区,重启后,使用“系统备份”功能为系统做备份,当系统出现故障后,使用“一键还原”功能恢复系统。由于使用</SPAN><SPAN lang=EN-US><FONT face="宋体, MS Song">HPA</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">分区保存备份数据,所以备份数据很难被破坏,保障备份文件的安全性。</SPAN></FONT></P> <P><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">本系统由于使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">HPA</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">分区做备份,因此要求必须是支持支持</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">HPA</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">功能的硬盘才能正常使用,经测试,市场上出售的各类硬盘基本都支持</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">HPA</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">,仅有</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">HP</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">COMPAQ</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">等厂商的品牌机不能支持,您也可使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT face="宋体, MS Song">HDTune2.52</FONT></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">硬盘检测工具(已集成在本系统中)检测硬盘的信息.</SPAN></P></DIV> <DIV><A href="http://lenovo.xnbn.com/Soft/system/200712/23.html">http://lenovo.xnbn.com/Soft/system/200712/23.html</A>官方下载地址 目前没有测试过。</DIV> <DIV> 以上内容仅供参考。</DIV> <DIV> </DIV> <DIV></DIV>
查看全文
发表于:2009-03-12 ┆
阅读(306)
┆
评论(0)
http://hi.chinaunix.net/?uid-133135.html
<DIV> <DIV id=wrap> <DIV id=header> <DIV id=spacename> <DIV id=xspace-spacename><STRONG><FONT size=4>MichaelBibby的个人空间</FONT></STRONG> <P><A class=xspace-copyurl title=复制地址 onclick="javascript:setCopy('http://hi.chinaunix.net/?133135');" href="javascript:;">copy</A> <A class=xspace-add2fav title=加入收藏 onclick="javascript:addBookmark('MichaelBibby的个人空间','http://hi.chinaunix.net/?133135');return false;" href="http://hi.chinaunix.net/?133135">Bookmark</A> http://hi.chinaunix.net/?133135 </P></DIV></DIV> <DIV id=menu> <UL id=xspace-menu> <LI><A class=xspace-blog href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-blog">日志</A> </LI> <LI><A class=xspace-image href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-image">相册</A> </LI> <LI><A class=xspace-file href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-file">软件</A> </LI> <LI><A class=xspace-link href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-link">书签</A> </LI> <LI><A class=xspace-video href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-video">视频</A> </LI> <LI><A class=xspace-friend href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-friend">好友</A> </LI> <LI><A class=xspace-mybbs href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-bbs">论坛</A> </LI> <LI><A class=xspace-guestbook href="http://hi.chinaunix.net/?uid-133135-action-viewpro">留言</A> </LI> <LI><A class=xspace-more href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-model">更多</A> </LI></UL></DIV></DIV> <DIV class=xspace-layout1 id=content> <DIV class=mainarea-side id=mainarea> <DIV id=xspace-guide><A class=xspace-spacecp href="http://hi.chinaunix.net/batch.manage.php?uid=133135" target=_blank>空间管理</A> 您的位置: <A href="http://hi.chinaunix.net/" target=_blank><FONT color=#000066>ChinaUnix个人空间</FONT></A> » <A href="http://hi.chinaunix.net/?uid-133135"><FONT color=#000066>MichaelBibby的个人空间</FONT></A> » <A href="http://hi.chinaunix.net/?uid-133135"><FONT color=#000066>空间首页</FONT></A> </DIV> <DIV id=mythread> <H3 class=xspace-blocktitle><A class=more href="http://hi.chinaunix.net/?uid-133135-action-spacelist-type-bbs">更多</A>我的主题</H3> <UL class=xspace-itemlist> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1332707" target=_blank><FONT color=#000066>开源邮件方案之 iRedMail-0.3.2 及 iRedOS-0.1.2 正式版发布</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1332707&goto=lastpost#lastpost" target=_blank>2008-12-12 13:34:34</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1332707>Hi, all.iRedMail-0.3.2 稳定版发布了。下载地址:http://code.google.com/p/iredmail/downloads/listiRedOS-0.1.2 的 ISO 镜像也已就绪,您可以从以下地址下载:http://www.iredmail.org/iRedOS/0.3.2 主要是基于 0.3.1 做了一些 bug 修正,完善已有组件的功能,并更新了少量软件包。升级文档我们将会.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1332707" target=_blank><FONT color=#000066>查看(520)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1332707" target=_blank><FONT color=#000066>评论(16)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1325030" target=_blank><FONT color=#000066>iRedOS-0.1.2-beta1 发布,请大家帮忙测试</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1325030&goto=lastpost#lastpost" target=_blank>2008-12-02 20:33:04</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1325030>Hi, all.iRedOS-0.1.2-beta1 发布了。下载地址:http://www.iredmail.org/iRedOS/0.1.2/iRedOS-0.1.2 包含 iRedMail-0.3.2 的最新测试版本,并修正了 iRedOS-0.1.1里无法自行设置网络和主机名的问题。以下是 0.3.2-beta1 及发布之后修正的一些问题:* 增加补丁用于让 ExtMail 自行创建用户的 ma.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1325030" target=_blank><FONT color=#000066>查看(215)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1325030" target=_blank><FONT color=#000066>评论(3)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1322889" target=_blank><FONT color=#000066>请帮忙测试:用于 ExtMail 的自动创建用户邮箱补丁</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1322889&goto=lastpost#lastpost" target=_blank>2008-11-29 18:38:58</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1322889>Hi, all.如果你只使用 ExtMail 而没有使用 ExtMan,相信你在添加新用户之后立即登录 ExtMail,都会无法登录并得到类似的错误信息:Can't chdir to /home/vmail/a.cn/www/, no such file or directory.这是由于 ExtMail 并不自动建立用户邮箱目录导致的。这个补丁的作用就是让 ExtMail 在检测到用户邮箱不存在的时候自.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1322889" target=_blank><FONT color=#000066>查看(290)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1322889" target=_blank><FONT color=#000066>评论(2)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1320907" target=_blank><FONT color=#000066>开源邮件方案 iRedMail-0.3.2-beta1 发布。希望大家帮忙测试</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1320907&goto=lastpost#lastpost" target=_blank>2008-11-27 10:27:28</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1320907>Hi, all.iRedMail-0.3.2-beta1 发布了。下载地址:http://code.google.com/p/iredmail/downloads/list0.3.2-beta1 主要是基于 0.3.1 做了一些 bug 修正,完善已有组件的功能,并更新了少量软件包。iRedOS 将会在 iRedMail-0.3.2 正式版发布的时候同时提供下载。之前的版本可以从以下地址下载:htt.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1320907" target=_blank><FONT color=#000066>查看(543)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1320907" target=_blank><FONT color=#000066>评论(19)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1317777" target=_blank><FONT color=#000066>iRedMail 开源邮件服务解决方案开通官方 QQ 群</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1317777&goto=lastpost#lastpost" target=_blank>2008-11-23 18:19:29</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1317777>Hi, all.iRedMail 开源邮件服务解决方案项目开通了官方的 QQ 群,欢迎大家加入:75161448。iRedMail 项目主页:http://code.google.com/p/iredmail/</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1317777" target=_blank><FONT color=#000066>查看(378)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1317777" target=_blank><FONT color=#000066>评论(2)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1302374" target=_blank><FONT color=#000066>提供 OpenBSD 4.4 镜像站点:http://www.iredmail.org/openbsd/</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1302374&goto=lastpost#lastpost" target=_blank>2008-11-02 14:17:06</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=5" target=_blank>BSD</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1302374>Hi, all.这里提供 OpenBSD 4.4 镜像站点:http://www.iredmail.org/openbsd/服务器及带宽资源是由 zhujibo@gmail 赞助给 iRedMail 开源邮件服务解决方案项目的,在此感谢 zhujibo@gmail。^_^目前只提供 i386, amd64 两个平台,packages 还在同步中。</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1302374" target=_blank><FONT color=#000066>查看(763)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=5&tid=1302374" target=_blank><FONT color=#000066>评论(10)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1297919" target=_blank><FONT color=#000066>紧急:快帮忙 Kevlo 测试 scim 输入法的几个 ports</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1297919&goto=lastpost#lastpost" target=_blank>2008-10-27 20:07:45</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=5" target=_blank>BSD</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1297919>Hi, all.台湾的 OpenBSD 开发人员 Kevlo 制作了 scim 的 ports,并已发布到 ports@ 邮件列表,恳请各位 OpenBSD 爱好者尽快帮忙测试,并将测试结果发到邮件列表里,这样才能使 ports 尽快进去官方的 ports tree。地址在以下链接的第三页:http://www.openbsdonly.org/viewtopic.php?f=17&t=607&st=0&sk=t&sd=a.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1297919" target=_blank><FONT color=#000066>查看(316)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=5&tid=1297919" target=_blank><FONT color=#000066>评论(3)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1296709" target=_blank><FONT color=#000066>在 OpenBSD 4.4 上搭建中文语言环境</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1296709&goto=lastpost#lastpost" target=_blank>2008-10-25 21:58:30</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=5" target=_blank>BSD</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1296709>文档整理中:http://code.google.com/p/openbsdonly/wiki/ChineseEnv_OpenBSD_44欢迎大家补充。^_^</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1296709" target=_blank><FONT color=#000066>查看(1329)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=5&tid=1296709" target=_blank><FONT color=#000066>评论(13)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1295621" target=_blank><FONT color=#000066>文泉驿字体进入 OpenBSD ports tree,呼吁测试 scim</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1295621&goto=lastpost#lastpost" target=_blank>2008-10-24 12:12:25</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=5" target=_blank>BSD</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1295621>Hi, all.台湾的 OpenBSD 开发人员 Kevlo 已经将文泉驿字体提交进 ports tree,在此希望大家帮忙测试。并且希望大家帮忙测试中文输入法。详细信息请看 OpenBSDonly.org 的帖子:http://www.openbsdonly.org/viewtopic.php?f=17&t=607&start=0&st=0&sk=t&sd=a文档整理中:- 在 OpenBSD 4.4 上搭建中文.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1295621" target=_blank><FONT color=#000066>查看(760)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=5&tid=1295621" target=_blank><FONT color=#000066>评论(11)</FONT></A> </P></LI> <LI class=xspace-loglist> <H4 class=xspace-entrytitle><A href="http://bbs.chinaunix.net/viewthread.php?tid=1294002" target=_blank><FONT color=#000066>开源邮件服务解决方案 iRedMail-0.3.1,iRedOS-0.1.1 稳定版(bug fix)发布</FONT></A></H4> <P class=xspace-smalltxt><A class=xspace-smalltxt href="http://bbs.chinaunix.net/redirect.php?tid=1294002&goto=lastpost#lastpost" target=_blank>2008-10-22 12:48:51</A> / <A class=xspace-smalltxt href="http://bbs.chinaunix.net/forumdisplay.php?fid=14" target=_blank>Mail服务器</A></P> <DIV class=xspace-itemmessage id=xspace-item-t1294002>Hi, All.iRedMail-0.3.1 稳定版和 iRedOS-0.1.1 稳定版发布,适用于生产环境。同时,iRedMail 和 iRedOS 进入维护状态,Bibby 已全力以赴进行管理后台的规划和开发。管理后台功能需求征集:http://www.iredmail.org/bbs/viewthread.php?tid=257&extra=page%3D1备注:iRedOS 是基于 CentOS 5.2 裁减,并加入.</DIV> <P class=xspace-itemlinks><A href="http://bbs.chinaunix.net/viewthread.php?tid=1294002" target=_blank><FONT color=#000066>查看(1753)</FONT></A> <A href="http://bbs.chinaunix.net/post.php?action=reply&fid=14&tid=1294002" target=_blank><FONT color=#000066>评论(23)</FONT></A> </P></LI></UL></DIV></DIV> <DIV class=sidearea id=sideleft> <DIV class=xspace-sideblock id=avatar> <DIV id=xspace-avatar><IMG class=xspace-imgstyle style="HEIGHT: 150px" alt=MichaelBibby src="http://hi.chinaunix.net/images/base/space_noface.gif"> <P><A href="http://hi.chinaunix.net/?uid-133135-action-viewpro-showpro-1"><FONT color=#000066>MichaelBibby</FONT></A></P> <P class=xspace-selfintro><FONT color=#000066></FONT></P></DIV></DIV> <DIV class=xspace-sideblock id=action> <H3 class=xspace-blocktitle>用户菜单</H3> <UL id=xspace-action> <LI><A class=xspace-message href="http://hi.chinaunix.net/?uid-133135-action-viewpro"><FONT color=#000066>给我留言</FONT></A> </LI> <LI><A class=xspace-addfriend onclick="javascript:joinfriend('133135');" href="javascript:;"><FONT color=#000066>加入好友</FONT></A> </LI> <LI><A class=xspace-sendpm href="http://bbs.chinaunix.net/pm.php?action=send&uid=133135" target=_blank><FONT color=#000066>发短消息</FONT></A> </LI> <LI><A class=xspace-profile href="http://hi.chinaunix.net/?uid-133135-action-viewpro-showpro-1"><FONT color=#000066>我的介绍</FONT></A> </LI> <LI><A class=xspace-profile href="http://bbs.chinaunix.net/viewpro.php?uid=133135"><FONT color=#000066>论坛资料</FONT></A> </LI> <LI><A class=xspace-ctrlpannel href="http://hi.chinaunix.net/batch.manage.php?uid=133135"><FONT color=#000066>空间管理</FONT></A> </LI></UL></DIV> <DIV class=xspace-sideblock id=calendar> <H3 class=xspace-blocktitle>日历</H3> <TABLE id=xspace-calendar cellSpacing=2 cellPadding=2 width="100%" summary=xspace-Calendar border=0> <TBODY> <TR> <TD align=middle colSpan=7> <TABLE class=xspace-datenav cellSpacing=3 cellPadding=3 summary="xspace-Date nav"> <TBODY> <TR> <TD align=middle><A href="http://hi.chinaunix.net/?action-spacelist-uid-133135-starttime-1228060800-endtime-1230739200"><FONT color=#000066>«</FONT></A></TD> <TD noWrap align=middle><A href="http://hi.chinaunix.net/?action-spacelist-uid-133135-starttime-1230739200-endtime-1233417600"><FONT color=#000066>2009-01-11</FONT></A></TD> <TD align=middle> </TD></TR></TBODY></TABLE></TD></TR> <TR class=xspace-week align=middle> <TD>日</TD> <TD>一</TD> <TD>二</TD> <TD>三</TD> <TD>四</TD> <TD>五</TD> <TD>六</TD></TR> <TR align=middle> <TD> </TD> <TD> </TD> <TD> </TD> <TD> </TD> <TD>1</TD> <TD>2</TD> <TD>3</TD></TR> <TR align=middle> <TD>4</TD> <TD>5</TD> <TD>6</TD> <TD>7</TD> <TD>8</TD> <TD>9</TD> <TD>10</TD></TR> <TR align=middle> <TD>11</TD> <TD>12</TD> <TD>13</TD> <TD>14</TD> <TD>15</TD> <TD>16</TD> <TD>17</TD></TR> <TR align=middle> <TD>18</TD> <TD>19</TD> <TD>20</TD> <TD>21</TD> <TD>22</TD> <TD>23</TD> <TD>24</TD></TR> <TR align=middle> <TD>25</TD> <TD>26</TD> <TD>27</TD> <TD>28</TD> <TD>29</TD> <TD>30</TD> <TD>31</TD></TR></TBODY></TABLE></DIV> <DIV class=xspace-sideblock id=track> <H3 class=xspace-blocktitle>我的回复</H3> <UL class=xspace-list> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1352549" target=_blank><FONT color=#000066>如何解决dovecot默认domian的认证问题?</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1350857" target=_blank><FONT color=#000066>防范自己发给自己的垃圾邮件</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1350292" target=_blank><FONT color=#000066>金笛邮件的反垃圾邮件网管技术</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1344841" target=_blank><FONT color=#000066>postfix+dovecot+mysql+cyrus-sasl+openssl+centos</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1343947" target=_blank><FONT color=#000066>求各位达人提供一个mail服务器解决方案</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1339340" target=_blank><FONT color=#000066>RHEL5中,如何限制某个域、某些用户访问dovecot的pop3s、imaps?</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1338111" target=_blank><FONT color=#000066>我现在的状况是.....</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1336233" target=_blank><FONT color=#000066>即时通讯(IM)服务</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1336194" target=_blank><FONT color=#000066>邮件系统我认为是最复杂应用服务之一.所以建议大家尽力用开源或是破解的如kerio</FONT></A> <LI><A href="http://bbs.chinaunix.net/viewthread.php?tid=1335623" target=_blank><FONT color=#000066>openbsd推荐cwm窗口管理</FONT></A></LI></UL></DIV> <DIV class=xspace-sideblock id=track> <H3 class=xspace-blocktitle>最新来客</H3> <UL class=xspace-list> <LI class="xspace-avatarlist xspace-imgstyle"><A href="http://hi.chinaunix.net/?uid-759047" target=_blank><IMG alt="759047曾经在2008-12-17 09:23:46访问过你的空间" src="http://hi.chinaunix.net/images/base/space_noface.gif"></A> <P><A href="http://hi.chinaunix.net/?uid-759047" target=_blank alt=""><FONT color=#000066>759047</FONT></A></P></LI> <LI class="xspace-avatarlist xspace-imgstyle"><A href="http://hi.chinaunix.net/?uid-780250" target=_blank><FONT color=#000066><IMG alt="780250曾经在2008-12-15 23:18:47访问过你的空间" src="http://hi.chinaunix.net/images/base/space_noface.gif"></FONT></A> <P><A href="http://hi.chinaunix.net/?uid-780250" target=_blank alt=""><FONT color=#000066>780250</FONT></A></P></LI></UL></DIV> <DIV class=xspace-sideblock id=infomation> <H3 class=xspace-blocktitle>数据统计</H3> <UL class=xspace-list> <LI>访问量: 60 <LI>建立时间: 2008-05-31 <LI>更新时间: </LI></UL></DIV> <DIV class=xspace-sideblock id=rss> <H3 class=xspace-blocktitle>RSS订阅</H3> <UL class=xspace-list> <LI class=xspace-logo><A href="http://hi.chinaunix.net/?uid-133135-action-rss-type-"><IMG alt=RSS订阅 src="http://hi.chinaunix.net/images/base/rss.gif" border=0></A> </LI></UL></DIV></DIV></DIV></DIV> <DIV id=xspace-footer> <P id=xspace-footer-ad></P> <P id=xspace-footer_menu><A href="http://hi.chinaunix.net/batch.login.php?action=logout"><FONT color=#000066>清空Cookie</FONT></A> - <A href="mailto:admin2@staff.chinaunix.net"><FONT color=#000066>联系我们</FONT></A> - <A href="http://hi.chinaunix.net/" target=_blank><FONT color=#000066>ChinaUnix个人空间</FONT></A> - <A href="http://bbs.chinaunix.net/" target=_blank><FONT color=#000066>交流论坛</FONT></A> - <A href="http://hi.chinaunix.net/?action/spaces"><FONT color=#000066>空间列表</FONT></A> - <A href="http://hi.chinaunix.net/archiver/" target=_blank><FONT color=#000066>站点存档</FONT></A> - <A href="http://hi.chinaunix.net/?action/register" target=_blank><FONT color=#000066>升级自己的空间</FONT></A> </P> <P id=xspace-copyright>Powered by <A href="http://www.supesite.com/" target=_blank><STRONG><FONT color=#003366>X-Space</FONT></STRONG></A> <STRONG><FONT color=#ff9900>4.0Final</FONT></STRONG> © 2001-2008 <A href="http://www.comsenz.com/" target=_blank><FONT color=#000066>Comsenz Inc.</FONT></A> <BR>Processed in 0.077416 second(s), 8 queries, Gzip enabled<BR><A href="http://www.miibeian.gov.cn/" target=_blank><FONT color=#000066>京ICP证041476号</FONT></A><BR></P></DIV> <DIV id=toolbarshowbtn><A onmouseover=showtoolbar(); href="javascript:;">Open Toolbar</A></DIV> <DIV id=toolbarframe><IFRAME src="http://hi.chinaunix.net/batch.toolbar.php" frameBorder=0 width="100%" scrolling=no></IFRAME></DIV></DIV>
查看全文
发表于:2009-01-11 ┆
阅读(163)
┆
评论(0)
iredmail作者博客
<DIV> <TABLE style="BORDER-COLLAPSE: collapse" height=27 cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff background=../../templates/tech/images/bg_menu.gif border=0> <TBODY> <TR> <TD width=20></TD> <TD><A class=list1 href="http://michaelbibby.cublog.cn/" target=_blank><FONT color=#0000ff><U>MichaelBibby.cublog.cn </U></FONT></A></TD> <TD align=right><A class=list1 href="http://blog.chinaunix.net/u/10604/index.php"><U><FONT color=#0000ff>首页</FONT></U></A> | <A class=list1 href="http://blog.chinaunix.net/u/10604/article.php"><U><FONT color=#0000ff>文章</FONT></U></A> | <A class=list1 href="http://blog.chinaunix.net/u/10604/photo.php"><U><FONT color=#0000ff>相册</FONT></U></A> | <A class=list1 href="http://blog.chinaunix.net/u/10604/links.php"><U><FONT color=#0000ff>收藏夹</FONT></U></A> | <A class=list1 href="http://blog.chinaunix.net/u/10604/guestbook.php"><U><FONT color=#0000ff>留言</FONT></U></A> </TD> <TD width=10></TD></TR></TBODY></TABLE> <SCRIPT language=javascript> function $(s){return document.getElementById(s);} function ShowHideDiv(divid,iImg){ if($(divid).style.display == "none"){ iImg.src="../../templates/tech/images/dot2.gif"; $(divid).style.display = "block"; iImg.title="收起"; }else{ iImg.src="../../templates/tech/images/dot4.gif"; $(divid).style.display = "none"; iImg.title="展开"; } } </SCRIPT> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD vAlign=top align=middle width=235><BR> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width=220 border=0> <TBODY> <TR> <TD><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/left_bg_top.gif" border=0></TD></TR> <TR> <TD align=middle bgColor=#edf2f2 height=25> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width=200 border=0> <TBODY> <TR> <TD align=middle width=180><FONT style="FONT-SIZE: 10pt" color=#1f72d0><B>关于作者</B></FONT></TD> <TD width=20><IMG title=收起 onclick="ShowHideDiv('aboutwriter',this);return false;" src="http://blog.chinaunix.net/templates/tech/images/dot2.gif" border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD bgColor=#d2dee2 height=1></TD></TR> <TR> <TD bgColor=#ffffff height=1></TD></TR> <TR> <TD id=aboutwriter style="COLOR: #02368d" align=middle bgColor=#f3f6f6> <TABLE style="COLOR: #02368d; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" height=16 cellSpacing=0 cellPadding=0 width=200 border=0> <TBODY> <TR> <TD align=middle><A href="http://blog.chinaunix.net/u/10604/up_user.jpeg" target=_blank><IMG src="http://blog.chinaunix.net/u/10604/up_user_pre.jpg" border=0><FONT color=#0000ff> </FONT></A></TD></TR> <TR> <TD width=200><PRE style="MARGIN: 5px; LINE-HEIGHT: 150%" width=25>姓名:张煌彬 年龄:1984年 位置:广东深圳福田区 网站:http://www.bsdlife.org</PRE></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD> <TABLE style="BORDER-RIGHT: #d2dee2 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #d2dee2 1px solid; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; BORDER-LEFT: #d2dee2 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #d2dee2 1px solid; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=220 align=center bgColor=#ffffff border=0> <TBODY> <TR bgColor=#edf2f2 height=20> <TD title=上一年 style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #1f72d0" onclick="pushBtm('YU')" align=middle width=14>||</TD> <TD title=上一月 style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #1f72d0" onclick="pushBtm('MU')" align=middle width=14><<</TD> <TD id=YMBG style="FONT-SIZE: 9pt; COLOR: #1f72d0" noWrap align=middle>2009年1月</TD> <TD id=GZ style="FONT-SIZE: 9pt; COLOR: #1f72d0" noWrap align=middle>己丑年(牛)</TD> <TD title=下一月 style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #1f72d0" onclick="pushBtm('MD')" align=middle width=14>>></TD> <TD title=下一年 style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #1f72d0" onclick="pushBtm('YD')" align=middle width=14>||</TD></TR> <TR> <TD colSpan=6> <DIV id=ttdiv align=center width="210"> <TABLE id=datetable style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=216 bgColor=#f6f8f8 border=0> <TBODY> <TR style="COLOR: #a6aa97" align=middle bgColor=#edf2f2> <TD width=32 height=24>日</TD> <TD width=32>一</TD> <TD width=32>二</TD> <TD width=32>三</TD> <TD width=32>四</TD> <TD width=32>五</TD> <TD width=32>六</TD></TR> <TR align=middle> <TD noWrap><FONT class="" id=SD0 title="" face="Arial Black" color=#cdbc71 size=2></FONT><BR><FONT id=LD0 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD1 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD1 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD2 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD2 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD3 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD3 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD4 title="元旦 " style="COLOR: red" face="Arial Black" color=#a6aa97 size=2>1</FONT><BR><FONT id=LD4 style="FONT-SIZE: 7pt"><FONT color=#6fc2ff>元旦 </FONT></FONT></TD> <TD noWrap><FONT class="" id=SD5 title=初七 face="Arial Black" color=#a6aa97 size=2>2</FONT><BR><FONT id=LD5 style="FONT-SIZE: 7pt">初七</FONT></TD> <TD noWrap><FONT class="" id=SD6 title="腊八节 " face="Arial Black" color=#cdbc71 size=2>3</FONT><BR><FONT id=LD6 style="FONT-SIZE: 7pt"><FONT color=#6fc2ff>腊八节 </FONT></FONT></TD></TR> <TR align=middle> <TD noWrap><FONT class="" id=SD7 title=初九 style="COLOR: #cdbc71" face="Arial Black" color=#cdbc71 size=2>4</FONT><BR><FONT id=LD7 style="FONT-SIZE: 7pt">初九</FONT></TD> <TD noWrap><FONT class="" id=SD8 title=小寒 face="Arial Black" color=#a6aa97 size=2>5</FONT><BR><FONT id=LD8 style="FONT-SIZE: 7pt"><FONT color=limegreen>小寒</FONT></FONT></TD> <TD noWrap><FONT class="" id=SD9 title=十一 face="Arial Black" color=#a6aa97 size=2>6</FONT><BR><FONT id=LD9 style="FONT-SIZE: 7pt">十一</FONT></TD> <TD noWrap><FONT class="" id=SD10 title=十二 face="Arial Black" color=#a6aa97 size=2>7</FONT><BR><FONT id=LD10 style="FONT-SIZE: 7pt">十二</FONT></TD> <TD noWrap><FONT class="" id=SD11 title=十三 face="Arial Black" color=#a6aa97 size=2>8</FONT><BR><FONT id=LD11 style="FONT-SIZE: 7pt">十三</FONT></TD> <TD noWrap><FONT class="" id=SD12 title=十四 face="Arial Black" color=#a6aa97 size=2>9</FONT><BR><FONT id=LD12 style="FONT-SIZE: 7pt">十四</FONT></TD> <TD noWrap><FONT class="" id=SD13 title=十五 style="COLOR: #cdbc71" face="Arial Black" color=#cdbc71 size=2>10</FONT><BR><FONT id=LD13 style="FONT-SIZE: 7pt">十五</FONT></TD></TR> <TR align=middle> <TD noWrap><FONT class=todyaColor id=SD14 title=十六 style="COLOR: #cdbc71" face="Arial Black" color=#cdbc71 size=2>11</FONT><BR><FONT id=LD14 style="FONT-SIZE: 7pt">十六</FONT></TD> <TD noWrap><FONT class="" id=SD15 title=十七 face="Arial Black" color=#a6aa97 size=2>12</FONT><BR><FONT id=LD15 style="FONT-SIZE: 7pt">十七</FONT></TD> <TD noWrap><FONT class="" id=SD16 title=十八 face="Arial Black" color=#a6aa97 size=2>13</FONT><BR><FONT id=LD16 style="FONT-SIZE: 7pt">十八</FONT></TD> <TD noWrap><FONT class="" id=SD17 title=十九 face="Arial Black" color=#a6aa97 size=2>14</FONT><BR><FONT id=LD17 style="FONT-SIZE: 7pt">十九</FONT></TD> <TD noWrap><FONT class="" id=SD18 title=二十 face="Arial Black" color=#a6aa97 size=2>15</FONT><BR><FONT id=LD18 style="FONT-SIZE: 7pt">二十</FONT></TD> <TD noWrap><FONT class="" id=SD19 title=廿一 face="Arial Black" color=#a6aa97 size=2>16</FONT><BR><FONT id=LD19 style="FONT-SIZE: 7pt">廿一</FONT></TD> <TD noWrap><FONT class="" id=SD20 title=廿二 face="Arial Black" color=#cdbc71 size=2>17</FONT><BR><FONT id=LD20 style="FONT-SIZE: 7pt">廿二</FONT></TD></TR> <TR align=middle> <TD noWrap><FONT class="" id=SD21 title=廿三 style="COLOR: #cdbc71" face="Arial Black" color=#cdbc71 size=2>18</FONT><BR><FONT id=LD21 style="FONT-SIZE: 7pt">廿三</FONT></TD> <TD noWrap><FONT class="" id=SD22 title="小年 " face="Arial Black" color=#a6aa97 size=2>19</FONT><BR><FONT id=LD22 style="FONT-SIZE: 7pt"><FONT color=#6fc2ff>小年 </FONT></FONT></TD> <TD noWrap><FONT class="" id=SD23 title=大寒 face="Arial Black" color=#a6aa97 size=2>20</FONT><BR><FONT id=LD23 style="FONT-SIZE: 7pt"><FONT color=limegreen>大寒</FONT></FONT></TD> <TD noWrap><FONT class="" id=SD24 title=廿六 face="Arial Black" color=#a6aa97 size=2>21</FONT><BR><FONT id=LD24 style="FONT-SIZE: 7pt">廿六</FONT></TD> <TD noWrap><FONT class="" id=SD25 title=廿七 face="Arial Black" color=#a6aa97 size=2>22</FONT><BR><FONT id=LD25 style="FONT-SIZE: 7pt">廿七</FONT></TD> <TD noWrap><FONT class="" id=SD26 title=廿八 face="Arial Black" color=#a6aa97 size=2>23</FONT><BR><FONT id=LD26 style="FONT-SIZE: 7pt">廿八</FONT></TD> <TD noWrap><FONT class="" id=SD27 title=廿九 style="COLOR: #cdbc71" face="Arial Black" color=#cdbc71 size=2>24</FONT><BR><FONT id=LD27 style="FONT-SIZE: 7pt">廿九</FONT></TD></TR> <TR align=middle> <TD noWrap><FONT class="" id=SD28 title="除夕 " style="COLOR: red" face="Arial Black" color=#cdbc71 size=2>25</FONT><BR><FONT id=LD28 style="FONT-SIZE: 7pt"><FONT color=#6fc2ff>除夕 </FONT></FONT></TD> <TD noWrap><FONT class="" id=SD29 title="春节 " style="COLOR: red" face="Arial Black" color=#a6aa97 size=2>26</FONT><BR><FONT id=LD29 style="FONT-SIZE: 7pt"><FONT color=#6fc2ff>春节 </FONT></FONT></TD> <TD noWrap><FONT class="" id=SD30 title=初二 face="Arial Black" color=#a6aa97 size=2>27</FONT><BR><FONT id=LD30 style="FONT-SIZE: 7pt">初二</FONT></TD> <TD noWrap><FONT class="" id=SD31 title=初三 face="Arial Black" color=#a6aa97 size=2>28</FONT><BR><FONT id=LD31 style="FONT-SIZE: 7pt">初三</FONT></TD> <TD noWrap><FONT class="" id=SD32 title=初四 face="Arial Black" color=#a6aa97 size=2>29</FONT><BR><FONT id=LD32 style="FONT-SIZE: 7pt">初四</FONT></TD> <TD noWrap><FONT class="" id=SD33 title=初五 face="Arial Black" color=#a6aa97 size=2>30</FONT><BR><FONT id=LD33 style="FONT-SIZE: 7pt">初五</FONT></TD> <TD noWrap><FONT class="" id=SD34 title=初六 face="Arial Black" color=#cdbc71 size=2>31</FONT><BR><FONT id=LD34 style="FONT-SIZE: 7pt">初六</FONT></TD></TR> <TR align=middle> <TD noWrap><FONT class="" id=SD35 title="" face="Arial Black" color=#cdbc71 size=2></FONT><BR><FONT id=LD35 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD36 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD36 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD37 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD37 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD38 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD38 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD39 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD39 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD40 title="" face="Arial Black" color=#a6aa97 size=2></FONT><BR><FONT id=LD40 style="FONT-SIZE: 7pt"></FONT></TD> <TD noWrap><FONT class="" id=SD41 title="" face="Arial Black" color=#cdbc71 size=2></FONT><BR><FONT id=LD41 style="FONT-SIZE: 7pt"></FONT></TD></TR></TBODY></TABLE></DIV></TD></TR> <TR> <TD colSpan=6 height=1></TD></TR></TBODY></TABLE> <SCRIPT src="../../templates/tech/mdate.js"></SCRIPT> <SCRIPT language=javascript> var arrArtdate=new Array("20051119","20051126","20051127","20051130","20051201","20051202","20051205","20051217","20060102","20060103","20060119","20060210","20060211","20060224","20060225","20060317","20060324","20060507","20060509","20060512","20060513","20060516","20060517","20060615","20060803","20070409","20070411","20070429","20070517",""); initial("ttdiv"); </SCRIPT> </TD></TR> <TR> <TD bgColor=#d2dee2 height=1></TD></TR> <TR> <TD bgColor=#ffffff height=1></TD></TR> <TR> <TD align=middle bgColor=#edf2f2 height=25> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width=200 border=0> <TBODY> <TR> <TD align=middle width=180><FONT style="FONT-SIZE: 10pt" color=#1f72d0><B>我的分类</B></FONT></TD> <TD width=20><IMG title=收起 onclick="ShowHideDiv('lefttree',this);return false;" src="http://blog.chinaunix.net/templates/tech/images/dot2.gif" border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD bgColor=#d2dee2 height=1></TD></TR> <TR> <TD bgColor=#ffffff height=1></TD></TR> <TR> <TD id=lefttree style="COLOR: #02368d" bgColor=#f3f6f6> <DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><A onclick="javascript: ContentsTree.OnNodeClick(1,true);" href="javascript:void(0)"><IMG id=signContentsTree1 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Minus.gif" width=19></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(1,false);" href="http://blog.chinaunix.net/u/10604/article.php"><IMG id=iconContentsTree1 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/OpenFolder.gif" width=19></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(1,false);" href="http://blog.chinaunix.net/u/10604/article.php"><FONT color=#0000ff><U>我的文章分类</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree1 style="DISPLAY: block"> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(4,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree4 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(4,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=23570"><FONT color=#0000ff><U><IMG id=iconContentsTree4 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(4,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=23570"><FONT color=#0000ff><U>心情日记</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree4 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(5,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree5 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(5,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=22495"><FONT color=#0000ff><U><IMG id=iconContentsTree5 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(5,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=22495"><FONT color=#0000ff><U>人生哲学</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree5 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(6,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree6 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(6,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=22535"><FONT color=#0000ff><U><IMG id=iconContentsTree6 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(6,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=22535"><FONT color=#0000ff><U>FreeBSD</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree6 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(7,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree7 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(7,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=20461"><FONT color=#0000ff><U><IMG id=iconContentsTree7 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(7,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=20461"><FONT color=#0000ff><U>NetBSD</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree7 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(8,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree8 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(8,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=17342"><FONT color=#0000ff><U><IMG id=iconContentsTree8 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(8,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=17342"><FONT color=#0000ff><U>OpenBSD</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree8 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(9,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree9 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(9,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19064"><FONT color=#0000ff><U><IMG id=iconContentsTree9 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(9,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19064"><FONT color=#0000ff><U>OpenBSD FAQ</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree9 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(10,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree10 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(10,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19040"><FONT color=#0000ff><U><IMG id=iconContentsTree10 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(10,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19040"><FONT color=#0000ff><U>Python</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree10 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(11,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree11 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(11,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19787"><FONT color=#0000ff><U><IMG id=iconContentsTree11 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(11,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19787"><FONT color=#0000ff><U>Server</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree11 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(12,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree12 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Minus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(12,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19218"><FONT color=#0000ff><U><IMG id=iconContentsTree12 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/OpenFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(12,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19218"><FONT color=#800080><U>Shell</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree12 style="DISPLAY: block"><FONT color=#800080><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#800080><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(13,true);" href="javascript:void(0)"><FONT color=#800080><IMG id=signContentsTree13 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(13,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19233"><FONT color=#800080><U><IMG id=iconContentsTree13 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(13,false);" href="http://blog.chinaunix.net/u/10604/article.php?frmid=19233"><FONT color=#0000ff><U>Tools and Tips</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree13 style="DISPLAY: none"><FONT color=#0000ff><U></U></FONT></DIV></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><A onclick="javascript: ContentsTree.OnNodeClick(2,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree2 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Minus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(2,false);" href="http://blog.chinaunix.net/u/10604/photo.php"><FONT color=#0000ff><U><IMG id=iconContentsTree2 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/OpenFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(2,false);" href="http://blog.chinaunix.net/u/10604/photo.php"><FONT color=#0000ff><U>我的图片分类</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree2 style="DISPLAY: block"><FONT color=#0000ff><U></U></FONT></DIV> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><A onclick="javascript: ContentsTree.OnNodeClick(3,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree3 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Minus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(3,false);" href="http://blog.chinaunix.net/u/10604/links.php"><FONT color=#0000ff><U><IMG id=iconContentsTree3 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/OpenFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(3,false);" href="http://blog.chinaunix.net/u/10604/links.php"><FONT color=#0000ff><U>我的链接分类</U></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree3 style="DISPLAY: block"> <DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=center noWrap><FONT color=#0000ff><U><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/TreeBlank.gif" width=19></U></FONT><A onclick="javascript: ContentsTree.OnNodeClick(14,true);" href="javascript:void(0)"><FONT color=#0000ff><IMG id=signContentsTree14 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/Plus.gif" width=19></FONT></A><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(14,false);" href="http://blog.chinaunix.net/u/10604/links.php?frmid=3780"><FONT color=#0000ff><U><IMG id=iconContentsTree14 style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=19 alt="" src="http://blog.chinaunix.net/templates/tech/images/ClosedFolder.gif" width=19></U></FONT></A></TD> <TD vAlign=center noWrap><A class=listtree onclick="javascript: ContentsTree.OnNodeClick(14,false);" href="http://blog.chinaunix.net/u/10604/links.php?frmid=3780"><U><FONT color=#0000ff>BSD</FONT></U></A></TD></TR></TBODY></TABLE></DIV> <DIV id=divContentsTree14 style="DISPLAY: none"><U><FONT color=#0000ff></FONT></U></DIV></DIV></DIV></TD></TR> <TR> <TD><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/left_bg_bottom.gif" border=0></FONT></U></TD></TR></TBODY></TABLE></TD> <TD width=10><U><FONT color=#0000ff></FONT></U></TD> <TD vAlign=top align=middle><BR> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD width=11 height=11><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/g_left_top.gif" border=0></FONT></U></TD> <TD width="99%" bgColor=#dddddd height=11><U><FONT color=#0000ff></FONT></U></TD> <TD width=11 height=11><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/g_right_top.gif" border=0></FONT></U></TD></TR> <TR> <TD vAlign=top align=middle width="100%" bgColor=#dddddd colSpan=3> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="96%" border=0> <TBODY> <TR height=25> <TD width=10><U><FONT color=#0000ff></FONT></U></TD> <TD width=485><FONT color=#6cb743><B>文章列表 - Shell</B></FONT> </TD></TR> <TR> <TD colSpan=3 height=2></TD></TR></TBODY></TABLE> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="96%" border=0> <TBODY> <TR> <TD width=7 height=7><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_top.gif" border=0></TD> <TD width="100%" bgColor=#f3f3f3></TD> <TD width=7 height=7><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_top.gif" border=0></TD></TR> <TR> <TD align=middle bgColor=#f3f3f3 colSpan=3> <TABLE style="TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" bgColor=#f3f3f3 border=0> <TBODY> <TR height=25> <TD align=middle width=25><IMG height=8 alt="" src="http://blog.chinaunix.net/templates/tech/images/dot.gif" width=8 border=0></TD> <TD width="90%"><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=60090" target=""><FONT style="FONT-SIZE: 10pt" color=#02368d><B><U>ANSI控制码的说明 </U></B></FONT></A></TD> <TD align=middle width=25><U><IMG title=收起 onclick="ShowHideDiv('art60090',this);" src="http://blog.chinaunix.net/templates/tech/images/dot2.gif" border=0></U> </TD></TR> <TR> <TD width=25></TD> <TD style="MARGIN: 5px; LINE-HEIGHT: 120%" colSpan=2> <DIV id=art60090 style="MARGIN-TOP: 5px; HEIGHT: 100%"><A href="http://bbs.chinaunix.net/viewthread.php?tid=661031&extra=page%3D1"><FONT color=#0000ff>http://bbs.chinaunix.net/viewthread.php?tid=661031&extra=page%3D1</FONT></A> <P> <P><SPAN style="FONT-SIZE: 13px">ANSI控制码的说明<BR>例如:<BR> echo -ne "33[32m" 可以将字符的显示颜色改为绿色<BR> echo -ne "33[3;1H" 可以将光标移到第3行第1列处</SPAN></P> <P><SPAN style="FONT-SIZE: 13px">具体的摘抄一些如下:<BR>33[0m 关闭所有属性<BR>33[1m 设置高亮度<BR>33[…… </SPAN></P></DIV></TD></TR> <TR height=20> <TD align=right colSpan=3><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=60090" target=""><U><FONT style="FONT-SIZE: 10pt" color=#02368d><B>查看全文</B></FONT><FONT color=#0000ff> </FONT></U></A></TD></TR> <TR height=20> <TD><U><FONT color=#0000ff></FONT></U></TD> <TD align=right colSpan=2>发表于:2005-12-05 10:42:45 ┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=60090" target=""><U><FONT color=#0000ff>阅读(598) </FONT></U></A>┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=60090" target=""><FONT color=#0000ff><U>评论(0) </U></FONT></A></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_buttom.gif" border=0></U></FONT></TD> <TD bgColor=#f3f3f3><FONT color=#0000ff><U></U></FONT></TD> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_buttom.gif" border=0></U></FONT></TD></TR></TBODY></TABLE><BR> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="96%" border=0> <TBODY> <TR> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_top.gif" border=0></U></FONT></TD> <TD width="100%" bgColor=#f3f3f3><FONT color=#0000ff><U></U></FONT></TD> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_top.gif" border=0></U></FONT></TD></TR> <TR> <TD align=middle bgColor=#f3f3f3 colSpan=3> <TABLE style="TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" bgColor=#f3f3f3 border=0> <TBODY> <TR height=25> <TD align=middle width=25><FONT color=#0000ff><U><IMG height=8 alt="" src="http://blog.chinaunix.net/templates/tech/images/dot.gif" width=8 border=0></U></FONT></TD> <TD width="90%"><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59573" target=""><FONT style="FONT-SIZE: 10pt" color=#02368d><B><U>(转帖)Screen </U></B></FONT></A></TD> <TD align=middle width=25><U><IMG title=收起 onclick="ShowHideDiv('art59573',this);" src="http://blog.chinaunix.net/templates/tech/images/dot2.gif" border=0></U> </TD></TR> <TR> <TD width=25></TD> <TD style="MARGIN: 5px; LINE-HEIGHT: 120%" colSpan=2> <DIV id=art59573 style="MARGIN-TOP: 5px; HEIGHT: 100%"> <P>screen your screen<BR>文:林思敬<BR>電子郵件:<A href="mailto:becks.lin@ec-base.com"><FONT color=#0000ff>becks.lin@ec-base.com</FONT></A></P> <P><A href="http://www.winterxy.com/blog/000128.html"><FONT color=#0000ff>http://www.winterxy.com/blog/000128.html</FONT></A></P> <P><FONT color=#0000ff></FONT> <P>前言<BR>screen 是什么</P> <P>根据其man介绍,screen是个多元化多功能的全屏窗口管理器,每个虚拟终端都可以为你提供DEC VT100 terminal的功能, 也许你会问:DEC VT100 terminal又是什么?如果你登陆过某些字符界面的BBS,或许你会记得在注册时,其要求你输入你的终端机型别,而一般预设就是我…… </P></DIV></TD></TR> <TR height=20> <TD align=right colSpan=3><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59573" target=""><U><FONT style="FONT-SIZE: 10pt" color=#02368d><B>查看全文</B></FONT><FONT color=#0000ff> </FONT></U></A></TD></TR> <TR height=20> <TD><U><FONT color=#0000ff></FONT></U></TD> <TD align=right colSpan=2>发表于:2005-12-01 14:05:09 ┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59573" target=""><U><FONT color=#0000ff>阅读(422) </FONT></U></A>┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59573" target=""><FONT color=#0000ff><U>评论(2) </U></FONT></A></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_buttom.gif" border=0></U></FONT></TD> <TD bgColor=#f3f3f3><FONT color=#0000ff><U></U></FONT></TD> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_buttom.gif" border=0></U></FONT></TD></TR></TBODY></TABLE><BR> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="96%" border=0> <TBODY> <TR> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_top.gif" border=0></U></FONT></TD> <TD width="100%" bgColor=#f3f3f3><FONT color=#0000ff><U></U></FONT></TD> <TD width=7 height=7><FONT color=#0000ff><U><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_top.gif" border=0></U></FONT></TD></TR> <TR> <TD align=middle bgColor=#f3f3f3 colSpan=3> <TABLE style="TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" bgColor=#f3f3f3 border=0> <TBODY> <TR height=25> <TD align=middle width=25><FONT color=#0000ff><U><IMG height=8 alt="" src="http://blog.chinaunix.net/templates/tech/images/dot.gif" width=8 border=0></U></FONT></TD> <TD width="90%"><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59490" target=""><FONT style="FONT-SIZE: 10pt" color=#02368d><B><U>一个自动ftp的脚本 </U></B></FONT></A></TD> <TD align=middle width=25><U><IMG title=收起 onclick="ShowHideDiv('art59490',this);" src="http://blog.chinaunix.net/templates/tech/images/dot2.gif" border=0></U> </TD></TR> <TR> <TD width=25></TD> <TD style="MARGIN: 5px; LINE-HEIGHT: 120%" colSpan=2> <DIV id=art59490 style="MARGIN-TOP: 5px; HEIGHT: 100%"> <P>简单,但实用</P> <P> <P>#!/bin/sh</P> <P>ftp -i -n<<EOF<BR />open 192.168.0.5 # 打开ftp服务器192.168.0.5<BR>user USERNAME PASSWORD # 用于登录服务器的用户名和密码<BR>bin &nbs…… </P></DIV></TD></TR> <TR height=20> <TD align=right colSpan=3><A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59490" target=""><U><FONT style="FONT-SIZE: 10pt" color=#02368d><B>查看全文</B></FONT><FONT color=#0000ff> </FONT></U></A></TD></TR> <TR height=20> <TD><U><FONT color=#0000ff></FONT></U></TD> <TD align=right colSpan=2>发表于:2005-11-30 17:20:23 ┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59490" target=""><U><FONT color=#0000ff>阅读(416) </FONT></U></A>┆ <A class=list1 href="http://blog.chinaunix.net/u/10604/showart.php?id=59490" target=""><U><FONT color=#0000ff>评论(0) </FONT></U></A></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD width=7 height=7><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_buttom.gif" border=0></FONT></U></TD> <TD bgColor=#f3f3f3><U><FONT color=#0000ff></FONT></U></TD> <TD width=7 height=7><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_buttom.gif" border=0></FONT></U></TD></TR></TBODY></TABLE><BR> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="96%" border=0> <TBODY> <TR> <TD width=7 height=7><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_top.gif" border=0></FONT></U></TD> <TD width="100%" bgColor=#f3f3f3><U><FONT color=#0000ff></FONT></U></TD> <TD width=7 height=7><U><FONT color=#0000ff><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_top.gif" border=0></FONT></U></TD></TR> <TR> <TD id=pagelist align=middle bgColor=#f3f3f3 colSpan=3>共有文章3篇 第(1/1)页 首页 上一页 <FONT color=#ff0000>1</FONT> 下一页 末页</TD></TR> <TR> <TD width=7 height=7><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_left_buttom.gif" border=0></TD> <TD bgColor=#f3f3f3></TD> <TD width=7 height=7><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/w_right_buttom.gif" border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD width=11 height=11><IMG alt="" src="http://blog.chinaunix.net/templates/tech/images/g_left_bottom.gif" border=0></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2009-01-11 ┆
阅读(190)
┆
评论(0)
centos/redhat 上安装邮件系统(extmail) V0.1
<DIV> <H1>在centos/redhat 上安装邮件系统(extmail) V0.1 </H1><BR>Author:fengyong 2008-08-31 <P class=STYLE1>请尊重作者劳动,复制转载此文档时,请保留或添加文档来源。版权:开源易有(<A href="http://www.yiyou.org/"><FONT color=#800080>http://www.yiyou.org</FONT></A>)</P> <H2>一、简介:</H2><BR>本文以最简单,最方便的方法在centos 5.2 上安装一个全功能的邮件系统,此文适合REDHAT所有系列,在文中,能用RPM 安装的,我们将采用rpm 安装,如果rpm没有的,我们将创建自己的rpm。部分软件简介:<BR>1、AMP ---apache(web服务) 、mysql(数据库)、php(非必需) 的简称<BR>2、postfix --mta 邮件系统核心<BR>3、courier-authlib--一个为courier-imap,maildrop,sasl2 提供用户信息的后台进程序<BR>4、courier-imap --提供pop3,pop3s,imap,imaps 服务的程序<BR>5、amavisd-new --提供内容过滤<BR>6、clamav -- 著名的杀毒软件<BR>7、extmail --一个著名的webmail程序<BR>8、extman --与extmail集成的后台管理程序<BR>9、slockd --一个基于smtp阶段的反垃圾邮件程序<BR>10、vhmgr --由本文作者编写,用于管理apache,ftp,mysql 的虚拟主机管理程序。<BR><BR>安装环境:<BR>centos 5.2 <BR>域名机器名:mail.yiyou.org<BR>域名:yiyou.org<BR> <H2>二、安装系统</H2>安装系统时,选择“customize software selection”(自定义安装),在package group selection 对话框里选择:<BR><PRE>[*]base [*]devlopment libraries [*]development tools [*]editors [*]text-base internet </PRE>其它不选择。<BR>在setup agnet(或进入系统后运行setup) 里选择firewall configuration 将security level 与SELinux 改为disabled,目的是为了避免在安装调试时产生不必要的麻烦,在系统安装完成后,可以自己去调试安全部分,在这里将不作详细介绍。 <BR>配置yum,在本文中使用的是网通线路,所以选择了http://mirrors.ta139.com/ 作为安装镜像。<BR><PRE>[root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# wget http://mirrors.ta139.com/CentOS-Base.repo.ta139 [root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak [root@localhost yum.repos.d]# mv CentOS-Base.repo.ta139 CentOS-Base.repo </PRE><BR> <H2>三、安装软件</H2><BR> <H3>1、安装AMP</H3><BR><PRE> [root@localhost ~]# yum -y install httpd httpd-devel mysql mysql-devel mysql-server php php-xml php-cli php-pdo php-mbstring php-mcrypt php-gd php-common php-devel php-mysql </PRE>修改启动配置并启动<BR><PRE>[root@localhost ~]# chkconfig --level 345 mysqld on [root@localhost ~]# chkconfig --level 345 httpd on [root@localhost ~]# service mysqld start [root@localhost ~]# service httpd start </PRE> <H3>2、安装phpmyadmin</H3>注意:可以选择自己需要的版本<BR><PRE>[root@localhost ~]# wget http://nchc.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.9-all-languages-utf-8-only.tar.bz2 [root@localhost ~]# tar xjf phpMyAdmin-2.11.9-all-languages-utf-8-only.tar.bz2 [root@localhost ~]# mv phpMyAdmin-2.11.9-all-languages-utf-8-only /var/www/html/phpmyadmin [root@localhost phpmyadmin]# cp config.sample.inc.php config.inc.php </PRE>编辑config.inc.php 改为下面,字符串是任意的。 <PRE>$cfg['blowfish_secret'] = 'skssiwksksie'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ </PRE>进入phpmyadmin 请马上修改mysql root 用户的密码。<BR> <H3>3、导入extman 后台数据库</H3>将extmail/extman/slockd 上传到服务器,可以使用ftp/winscp 上传<BR><PRE>[root@localhost ~]# tar zxf extman-0.2.5b1.tar.gz [root@localhost ~]# cd extman-0.2.5b1/docs/ [root@localhost docs]# mysql -uroot -p <extmail.sql Enter password: [root@localhost docs]# mysql -uroot -p <init.sql Enter password: </PRE>如何使用了phpmyadmin改了root 密码,记得输入密码,如果密码为空,请按回车。<BR> <H3>4、RPM 简介</H3>下面我们将采用rpm 的方式安装软件<BR>/usr/src/redhat/SPEC spec 文件夹,通常是rpm文件夹<BR>/usr/src/redhat/RPMS 是生成rpm 的文件,下面还有i368,i486 等子文件夹,一般我们用i386 架构<BR>/usr/src/redhat/SOURCE 源文件文件夹<BR>为了安装时切换目录的方便,我们将目录存放到一个shell变量里。<BR><PRE>[root@localhost ~]# export RPMS=/usr/src/redhat/RPMS [root@localhost ~]# export SOURCE=/usr/src/redhat/SOURCES [root@localhost ~]# export SPEC=/usr/src/redhat/SPECS </PRE>在下面安装过程中,大家要记住cd $RPMS 与cd /usr/src/redhat/RPMS 的目的是一样的,只是shell变量的替换。<BR> <H3>5、安装authlib</H3> <H4>A、安装依懒的包</H4><PRE>[root@localhost ~]# yum -y install postgresql-devel expect libtool-ltdl-devel [root@localhost ~]# wget http://prdownloads.sourceforge.net/courier/courier-authlib-0.61.0.tar.bz2 [root@localhost ~]# tar xjf courier-authlib-0.61.0.tar.bz2 [root@localhost ~]# cd courier-authlib-0.61.0 [root@localhost courier-authlib-0.61.0]# cp courier-authlib.spec $SPEC [root@localhost courier-authlib-0.61.0]# cd .. [root@localhost ~]# cp courier-authlib-0.61.0.tar.bz2 $SOURCE [root@localhost ~]# cd $SPEC [root@localhost SPECS]# rpmbuild -bb courier-authlib.spec (创建rpm文件) </PRE> <H4>B、安装生成的rpm</H4><PRE>[root@localhost SPECS]# cd $RPMS/i386 [root@localhost i386]# rpm -ivh courier-authlib-0.61.0-1.i386.rpm [root@localhost i386]# rpm -ivh courier-authlib-devel-0.61.0-1.i386.rpm [root@localhost i386]# rpm -ivh courier-authlib-mysql-0.61.0-1.i386.rpm </PRE> <H4>C、配置authlibdaemon</H4><PRE>[root@localhost i386]# cd /etc/authlib/ [root@localhost authlib]# mv authdaemonrc authdaemonrc.bak [root@localhost authlib]# vim authdaemonrc </PRE><B>输入下面的内容:</B> <PRE>authmodulelist="authmysql" authmodulelistorig="authmysql" daemons=10 authdaemonvar=/var/spool/authdaemon DEBUG_LOGIN=2 DEFAULTOPTIONS="wbnodsn=1" LOGGEROPTS="" </PRE><B>D、配置authmysqlrc</B> <PRE>[root@localhost authlib]# mv authmysqlrc authmysqlrc.bak [root@localhost authlib]# vim authmysqlrc </PRE><B>输入下面的内容:</B> <PRE>MYSQL_SERVER localhost MYSQL_USERNAME extmail MYSQL_PASSWORD extmail MYSQL_PORT 0 MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_OPT 0 MYSQL_DATABASE extmail MYSQL_SELECT_CLAUSE SELECT username,password,"",uidnumber,gidnumber,\ CONCAT('/home/data/domains/',homedir), \ CONCAT('/home/data/domains/',maildir), \ quota, \ name \ FROM mailbox \ WHERE username = '$(local_part)@$(domain)' </PRE> <H4>E、启动authlib</H4><PRE>[root@localhost ~]# service courier-authlib start Starting Courier authentication services: authdaemond [root@localhost ~]# chmod 777 /var/spool/authdaemon/ </PRE> <H3>6、安装courier-imap</H3>由于courier-imap 不能用root身份生成rpm那么我们新建一个普通用户,并创建一个rpm环境<BR><PRE>[root@localhost ~]# useradd yiyou </PRE>软件包依懒需要安装openldap-server,rpm创建完成后可以删除<BR><PRE>[root@localhost ~]# yum -y install openldap-servers [root@localhost ~]# su - yiyou [yiyou@localhost ~]$ mkdir -p rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS} [yiyou@localhost ~]$ vim ~/.rpmmacros </PRE>输入内容: <PRE>%_topdir /home/yiyou/rpm </PRE><PRE>[yiyou@localhost ~]$ wget http://prdownloads.sourceforge.net/courier/courier-imap-4.4.1.tar.bz2 [yiyou@localhost ~]$ cp courier-imap-4.4.1.tar.bz2 rpm/SOURCES/ [yiyou@localhost ~]$ tar xjf courier-imap-4.4.1.tar.bz2 [yiyou@localhost ~]$ cd courier-imap-4.4.1 [yiyou@localhost courier-imap-4.4.1]$ cp courier-imap.spec ../rpm/SPECS/ [yiyou@localhost courier-imap-4.4.1]$ cd ../rpm/SPECS/ </PRE>编辑courier-imap.spec 将下面的内容: <PRE>%if %suse_version BuildPreReq: rpm >= 3.0.5 /usr/bin/sed openldap2 openldap2-devel %([ %{suse_version} -gt 819 ] && echo /usr/include/fam.h) %else BuildPreReq: rpm >= 4.0.2 sed /usr/include/fam.h openldap-devel openldap-servers %endif </PRE>改为:<BR><PRE>%if %suse_version BuildPreReq: rpm >= 3.0.5 /usr/bin/sed openldap2 openldap2-devel %else BuildPreReq: rpm >= 4.0.2 sed openldap-devel openldap-servers %endif </PRE>创建rpm <PRE>[yiyou@localhost SPECS]$ rpmbuild -bb courier-imap.spec </PRE>完成rpm后,输入exit退出当前用户。<BR><PRE>[root@localhost ~]# rpm -ivh /home/yiyou/rpm/RPMS/i386/courier-imap-4.4.1-1.i386.rpm [root@localhost ~]# service courier-imap start </PRE> <H3>7、安装cyrus-sasl</H3> <H4>A、安装SRPM</H4><PRE>[root@localhost ~]# wget ftp://194.199.20.114/linux/fedora/updates/8/SRPMS/cyrus-sasl-2.1.22-8.fc8.src.rpm [root@localhost ~]# rpm -ivh cyrus-sasl-2.1.22-8.fc8.src.rpm [root@localhost ~]# cd $SPEC </PRE>编辑cyrus-sasl.spec 将下面:<BR><PRE># Bundling copy of Berkeley DB, for sasldb support. topdir=`pwd` pushd db-%{db_version}/build_unix ../dist/configure \ --with-mutex=UNIX/fcntl --disable-shared --enable-static --with-pic \ --with-uniquename=_cyrus_sasl_sasldb_rh \ --prefix=${topdir}/db-instroot \ --includedir=${topdir}/db-instroot/include \ --libdir=${topdir}/db-instroot/lib </PRE>改为:<BR><PRE># Bundling copy of Berkeley DB, for sasldb support. topdir=`pwd` pushd db-%{db_version}/build_unix ../dist/configure \ --with-mutex=UNIX/fcntl --disable-shared --enable-static --with-pic \ --with-uniquename=_cyrus_sasl_sasldb_rh \ --prefix=${topdir}/db-instroot \ --includedir=${topdir}/db-instroot/include \ --libdir=${topdir}/db-instroot/lib \ --with-authdaemond=/var/spool/authdaemon </PRE> <H4>B、生成rpm</H4><PRE>[root@localhost SPECS]# rpmbuild -bb cyrus-sasl.spec [root@localhost RPMS]# cd $RPMS/i386 [root@localhost i386]# rpm -e --nodeps cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl cyrus-sasl-lib (如果这些包存在) [root@localhost i386]# rpm -ihv cyrus-sasl-lib-2.1.22-8.i386.rpm [root@localhost i386]# rpm -ihv cyrus-sasl-2.1.22-8.i386.rpm [root@localhost i386]# rpm -ihv cyrus-sasl-plain-2.1.22-8.i386.rpm </PRE> <H4>C、配置sasl2</H4>创建/usr/lib/sasl2/smtpd.conf 文件,输入下面的内容: <PRE>pwcheck_method:authdaemond log_level:3 mech_list:PLAIN LOGIN authdaemond_path:/var/spool/authdaemon/socket </PRE> <H3>8、安装postfix</H3> <H4>A、下载软件包</H4><PRE>[root@localhost i386]# cd [root@localhost ~]# wget http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.4-2.src.rpm [root@localhost ~]# rpm -ivh postfix-2.5.4-2.src.rpm [root@localhost ~]# cd $SPEC </PRE>编辑postfix.spec 修改下面的选项 <PRE>%define distribution rhel-5.0 %define with_mysql_redhat 1 %define with_sasl 2 %define with_vda 1 </PRE> <H4>B、创建rpm </H4><PRE>[root@localhost SPECS]# rpmbuild -bb postfix.spec [root@localhost RPMS]# cd $RPMS/i386 [root@localhost i386]# rpm -ivh postfix-2.5.4-2.rhel4.i386.rpm </PRE> <H4>C、切换mta </H4><PRE>[root@localhost i386]# alternatives --config mta (选择2,postfix) [root@localhost i386]# rpm -e sendmail [root@localhost i386]# cd /usr/sbin/ [root@localhost sbin]# mv sendmail sendmail.bak [root@localhost sbin]# newaliases [root@localhost sbin]# ln -s sendmail.postfix sendmail </PRE> <H4>D、配置postfix </H4><PRE>[root@localhost ~]# cd /etc/postfix/ [root@localhost postfix]# mv main.cf main.cf.bak [root@localhost postfix]# vim main.cf </PRE>输入下面的内容: <PRE>queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix unknown_local_recipient_reject_code = 550 debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = /usr/share/doc/postfix-2.5.2-documentation/html manpage_directory = /usr/share/man sample_directory = /etc/postfix readme_directory = /usr/share/doc/postfix-2.5.2-documentation/readme alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases myhostname = mail.yiyou.org mydomain = yiyou.org mydestination = $myhostname smtpd_banner = yiyou.org ESMTP Mail System message_size_limit = 14680064 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_mailbox_base = /home/data/domains virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_limit_maps.cf virtual_transport = maildrop: maildrop_destination_recipient_limit = 1 #sasl smtpd_sasl_auth_enable = yes smtpd_sasl2_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname </PRE>复制extman/docs 目录的cf 文件到/etc/postfix <PRE>[root@localhost postfix]# cp /root/extman-0.2.5b1/docs/mysql_virtual_* . </PRE>因为配置文件的用户、密码与数据库时一样,所以不用修改。 <PRE>[root@localhost postfix]# service postfix start </PRE> <H3>9、安装maildrop </H3> <H4>A、下载生成RPM</H4><PRE>[root@localhost postfix]# cd [root@localhost ~]# wget http://prdownloads.sourceforge.net/courier/maildrop-2.0.4.tar.bz2 [root@localhost ~]# cp maildrop-2.0.4.tar.bz2 $SOURCE [root@localhost ~]# tar xjf maildrop-2.0.4.tar.bz2 [root@localhost ~]# cd maildrop-2.0.4 [root@localhost maildrop-2.0.4]# cp maildrop.spec $SPEC [root@localhost maildrop-2.0.4]# cd $SPEC </PRE>编辑maildrop.spec 把下面: <PRE>BuildRequires: /usr/include/fam.h gdbm-devel pcre-devel </PRE>改为: <PRE>BuildRequires: gdbm-devel pcre-devel </PRE>把下面: <PRE>%configure --with-devel --enable-userdb --enable-maildirquota \ --enable-syslog=1 --enable-trusted-users='root mail daemon postmaster qmaild mmdf' \ --enable-restrict-trusted=0 \ --enable-sendmail=/usr/sbin/sendmail </PRE>改为: <PRE>%configure --with-devel --enable-userdb --enable-maildirquota \ --enable-syslog=1 --enable-trusted-users='root mail daemon postmaster qmaild mmdf' \ --enable-restrict-trusted=0 --enable-sendmail=/usr/sbin/sendmail \ --enable-authlib </PRE> <H4>B、创建安装maildrop rpm </H4><PRE>[root@localhost SPECS]# yum -y install pcre-devel [root@localhost SPECS]# rpmbuild -bb maildrop.spec [root@localhost SPECS]# cd $RPMS/i386 [root@localhost i386]# rpm -ivh maildrop-2.0.4-1.i386.rpm </PRE> <H4>C、添加虚似用户及创建目录 </H4><PRE>[root@localhost i386]# cd [root@localhost ~]# groupadd -g 1000 vgroup [root@localhost ~]# useradd -g 1000 -u 1000 -s /sbin/nologin -d /dev/null vuser </PRE>编辑/etc/postfix/master.cf ,加入下面的内容: <PRE>maildrop unix - n n - - pipe flags=DRhu user=vuser argv=/usr/bin/maildrop -d ${user}@${nexthop} ${recipient} ${user} ${extension} ${nexthop} </PRE> <H4>D、创建邮件存储目录 </H4><PRE>[root@localhost ~]# mkdir -p /home/data/domains/extmail.org/postmaster [root@localhost ~]# maildirmake /home/data/domains/extmail.org/postmaster/Maildir [root@localhost ~]# chown -R vuser:vgroup /home/data/domains/ </PRE> <H4>E、测试maildrop </H4><PRE>[root@localhost ~]# echo "test" | maildrop -V 10 -d postmaster@extmail.org maildrop: authlib: groupid=1000 maildrop: authlib: userid=1000 maildrop: authlib: logname=postmaster@extmail.org, home=/home/data/domains/extmail.org/postmaster, mail=/home/data/domains/extmail.org/postmaster/Maildir/ maildrop: Changing to /home/data/domains/extmail.org/postmaster Message start at 0 bytes, envelope sender=postmaster@extmail.org maildrop: Attempting .mailfilter maildrop: Delivery complete. </PRE>出现上以信息说明authlib,maildrop 工作正常<BR> <H4>F、测试pop3</H4><PRE>[root@localhost ~]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Hello there. user postmaster@extmail.org +OK Password required. pass extmail +OK logged in. list +OK POP3 clients that break here, they violate STD53. 1 6 . retr 1 +OK 6 octets follow. test . quit +OK Bye-bye. Connection closed by foreign host. </PRE> <H4>G、测试postfix </H4><PRE>[root@localhost ~]# perl -MMIME::Base64 -e 'print encode_base64("postmaster\@extmail.org");' cG9zdG1hc3RlckBleHRtYWlsLm9yZw== [root@localhost ~]# perl -MMIME::Base64 -e 'print encode_base64("extmail");' ZXh0bWFpbA== [root@localhost ~]# service postfix restart (重启一下) [root@localhost ~]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 yiyou.org ESMTP Mail System ehlo test.com 250-mail.yiyou.org 250-PIPELINING 250-SIZE 14680064 250-VRFY 250-ETRN 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN auth login 334 VXNlcm5hbWU6 cG9zdG1hc3RlckBleHRtYWlsLm9yZw== 334 UGFzc3dvcmQ6 ZXh0bWFpbA== 235 2.7.0 Authentication successful quit 221 2.0.0 Bye Connection closed by foreign host </PRE> <H3>10、安装amavisd-new</H3>编辑/etc/yum.repos.d/CentOS-Base.repo 加入下面的内容: <PRE>[dag] name=Dag RPM Repostory for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt </PRE><PRE>[root@localhost ~]# yum -y install clamav clamav-db clamd clamav-devel amavisd-new </PRE>编辑/etc/amavisd.conf,修改下面的内容 <PRE>$mydomain = 'yiyou.org'; # a convenient default for other settings </PRE>把下面内容去掉注释,并修改为下面 <PRE> ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/tmp/clamd.socket"], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], </PRE><PRE>[root@localhost ~]# usermod -G amavis clamav [root@localhost ~]# service clamd start </PRE>在/etc/postfix/master.cf 增加下面的内容: <PRE>smtp-amavis unix - - n - 4 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o receive_override_options=no_header_body_checks </PRE>在/etc/postfix/main.cf 加入下面的内容 <PRE>content_filter = smtp-amavis:[localhost]:10024 </PRE><PRE>[root@localhost ~]# service postfix reload </PRE> <H3>11、安装extman/extmail</H3> <H4>A、配置apache</H4>修改/etc/httpd/conf/httpd.conf,将下面的选项改为: <PRE>User vuser Group vgroup </PRE><PRE>[root@localhost ~]# cd /etc/httpd/conf.d/ [root@localhost conf.d]# vim extmail.conf </PRE>输入下面的内容: <PRE>Alias /extman/cgi/ /var/www/extsuite/extman/cgi/ Alias /extman /var/www/extsuite/extman/html/ <Location "/extman/cgi"> SetHandler cgi-script Options +ExecCGI </Location> # config for ExtMail Alias /extmail/cgi/ /var/www/extsuite/extmail/cgi/ Alias /extmail /var/www/extsuite/extmail/html/ <Location "/extmail/cgi"> SetHandler cgi-script Options +ExecCGI </Location> </PRE><PRE>[root@localhost ~]# mkdir /var/www/extsuite [root@localhost ~]# tar zxf extmail-1.0.5b1.tar.gz [root@localhost ~]# cp -r extmail-1.0.5b1 /var/www/extsuite/extmail [root@localhost ~]# cp -r extman-0.2.5b1 /var/www/extsuite/extman </PRE> <H4>B、配置extmail参数 </H4><PRE>[root@localhost ~]# cd /var/www/extsuite/extmail/ [root@localhost extmail]# cp webmail.cf.default webmail.cf </PRE>修改webmail.cf 下面的选项 <PRE>SYS_SESS_DIR = /tmp/extmail SYS_MAILDIR_BASE = /home/data/domains SYS_MYSQL_USER = extmail SYS_MYSQL_PASS = extmail </PRE> <H4>C、配置extman参数 </H4><PRE>[root@localhost extmail]# cd /var/www/extsuite/extman/ </PRE>修改webman.cf 下面的选项: <PRE>SYS_MAILDIR_BASE = /home/data/domains </PRE> <H4>D、创建session 目录 </H4><PRE>[root@localhost extman]# mkdir /tmp/{extman,extmail} [root@localhost extman]# chown vuser:vgroup /tmp/ext* </PRE> <H4>E、配置后台日志分析工具 </H4><PRE>[root@localhost addon]# cd /var/www/extsuite/extman/addon/ [root@localhost addon]# cp -r mailgraph_ext /usr/local/ </PRE>将下面的内容加入/etc/rc.local <PRE>/usr/local/mailgraph_ext/mailgraph-init start /usr/local/mailgraph_ext/qmonitor-init start </PRE>安装所依懒的软件包 <PRE>[root@localhost mailgraph_ext]# yum -y install rrdtool perl-rrdtool perl-GD perl-File-Tail </PRE> <H4>F、启动后台进程 </H4><PRE>[root@localhost mailgraph_ext]# /usr/local/mailgraph_ext/qmonitor-init start Starting queue statistics grapher: qmonitor [root@localhost mailgraph_ext]# /usr/local/mailgraph_ext/mailgraph-init start Starting mail statistics grapher: mailgraph_ext </PRE> <H4>G、访问extmail/extman</H4>打开浏览器,输入http://your_ip_address/extmail 注意:your_ip_address 为你实际的ip<BR>第一个测试用户为:postmaster 密码:extmail 域:extmail<BR><BR>打开浏览器,输入http://your_ip_address/extman <BR>extman root 用户为:root@extmail.org 密码为:extmail*123*<BR>注意:进入系统后要修改密码及找回密码的提示问题、答案。<BR> <H3>12、安装slockd</H3>slockd 是一个基于策略的垃圾邮件软件,很多用户反映使用后,反垃圾效果非常明显,但是有部分用户由于对该软件的使用,特性不了解,而产生了很多麻烦。<BR>所在在此建议,如果你对该软件不了解,或者系统里的垃圾邮件少,可以暂时不安装。 <PRE>[root@localhost ~]# tar zxf slockd-0.2beta1.tar.gz [root@localhost ~]# cp -r slockd-0.2beta1 /usr/local/slockd [root@localhost ~]# cd /usr/local/slockd </PRE>将下面的内容加入/etc/rc.local <PRE>/usr/local/slockd/slockd-init start </PRE>[root@localhost slockd]# vim config/main.cf (编辑slockd/config/main.cf)修改下面的内容 <PRE>setsid 1 (去掉注释,让程序成为后台进程) </PRE>修改/etc/postfix/main.cf 将原先的内容: <PRE>smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname </PRE>改为: <PRE>smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, check_policy_service inet:127.0.0.1:10030 </PRE>重载postfix 配置文件 <PRE>[root@localhost slockd]# service postfix reload </PRE> <H3>13、安装vhmgr </H3>vhostmgr 是一款虚似主机管理软件,可以对apache,pure-ftp,mysql 进行管理,是管理员的好帮手。<BR>vhostmgr 有如下特点:<BR>a、只需要安装一个apache,ftp<BR>b、apache 不需要以root 运行。用普通用户身份运行就行了。<BR>c、可以通过web 进行重读配置文件,系统关机,等操作<BR>d、采用apache+cgi 方式运行,容易配置,安装、使用文档详细。<BR>e、如果你是一个管理员,每为一个用户添加主机而麻烦,使用该软件将为你节省大量时间。<BR>f、开通apache,ftp,mysql 都是即时生效。<BR>更多功能,更多方便,使用后才知道!!!<BR>g、支持freebsd ,linux 等多种系统<BR><BR>vhmgr 还有一个重要特点:<FONT color=#ff0000><SPAN class=STYLE1>开源并完全免费使用。</SPAN><BR><BR></FONT><A href="http://www.yiyou.org/56vhostmgr_001beta.html"><FONT color=#0000ff>软件地址</FONT></A><BR><BR>为了不重复劳功,将不再次叙述。<BR><BR>apache 改变运行id 后,php session功能将会出现问题,因为session 的存储目录权限没有跟着改变为新的,只要执行下面的命令即可解决问题。<BR><PRE>[root@localhost slockd]# chown -R vuser:vgroup /var/lib/php/session/ </PRE> <P><SPAN class=STYLE1><FONT color=#ff0000>请尊重作者劳动,复制此文档时,请保留或添加文档来源。版权:开源易有(</FONT><A href="http://www.yiyou.org/"><FONT color=#800080>http://www.yiyou.org</FONT></A><FONT color=#ff0000>)</FONT></SPAN></P></DIV>
查看全文
发表于:2009-01-03 ┆
阅读(147)
┆
评论(0)
无线技术
<DIV> <DIV class=modHeader> <TABLE cellSpacing=0 cellPadding=0 width="92%" border=0> <TBODY> <TR> <TD><IMG src="http://blog.51cto.com/image/skin/def/newblog.gif"> <STRONG>文章</STRONG></TD> <TD align=right><A href="http://lgzeng2360.blog.51cto.com/all/275998"><FONT color=#111100>文章列表>></FONT></A></TD></TR></TBODY></TABLE></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><FONT color=#111100><IMG alt=WLAN教学笔记三 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0></FONT> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/79380"><FONT color=#a70000 size=3>WLAN教学笔记三</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL>2008-05-29 14:42:50</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/79380" target=_blank><FONT color=#111100>第四部分 IEEE802.11媒体访问控制 <BR> <BR>******************************************************************************* <BR>MAC层具有三个主要功能: <BR> ● 无线介质访问 &nbs..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/79380" target=_blank><FONT color=#111100>阅读全文(535)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/79380"><FONT color=#111100>回复(2)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验之六:MAC地址过滤 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/71175"><FONT color=#a70000 size=3>无线网络实验之六:MAC地址过滤</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-04-12 09:14:34</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/71175" target=_blank><FONT color=#111100>MAC 地址过滤/静态IP地址分配 <BR><BR>进入路由器配置界面 <BR>1、无线设置/主机状态/查看客户端的MAC地址。记录下客户端的这些信息 <BR> 也可通过ping然后用arp来查看所有的MAC地址和IP的对应 <BR> 也?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71175" target=_blank><FONT color=#111100>阅读全文(507)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71175"><FONT color=#111100>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验之五:无线路由器防火墙设置 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/71174"><FONT color=#a70000 size=3>无线网络实验之五:无线路由器防火墙设置</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL>2008-04-12 09:09:55</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/71174" target=_blank><FONT color=#111100>=============================<BR>无线路由器防火墙功能概述<BR>============================= <BR>企业用户使用路由器共享上网,常常需要对内网计算机的上网权限进行限制,如限制某些计算机不能上网,限制某些计算机可?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71174" target=_blank><FONT color=#111100>阅读全文(612)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71174"><FONT color=#111100>回复(2)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=WLAN教学笔记二 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/70380"><FONT color=#a70000 size=3>WLAN教学笔记二</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL>2008-04-08 11:15:19</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/70380" target=_blank><BR><FONT color=#111100> <BR>第二部分 IEEE802.11标准 <BR> <BR>****************************************************************************** <BR>1990年IEEE执行委员会成立了了802.11工作组,其目的是创建无..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/70380" target=_blank><FONT color=#111100>阅读全文(576)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/70380"><FONT color=#111100>回复(3)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=WLAN教学笔记一 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/69448"><FONT color=#a70000 size=3>WLAN教学笔记一</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL>2008-04-01 18:38:10</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/69448" target=_blank><FONT color=#111100>第一部分 无线网络应用概述 <BR> <BR>1.无线网络的概念 <BR> <BR>凡是采用无线传输媒体的网络都可以称之为无线网。一般来讲,无线是在有线的基础上通过无线设备使无线通信得以实现。 <BR> <BR>?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69448" target=_blank><FONT color=#111100>阅读全文(583)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69448"><FONT color=#111100>回复(3)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=D-Link松鹤酒店宽带无线接入网络案例 src="http://lgzeng2360.blog.51cto.com/images/zt_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/69249"><FONT color=#a70000 size=3>D-Link松鹤酒店宽带无线接入网络案例</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-04-01 10:29:28</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/69249" target=_blank><FONT color=#111100> 计算机网络系统的设计与综合布线系统的设计相结合,使新建的网络系统能够满足今后几年内用户的升级与扩充需求。但是对于20世纪90年代中期或者更早建设开发的一?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69249" target=_blank><FONT color=#111100>阅读全文(212)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69249"><FONT color=#111100>回复(3)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=某学院新旧校区无线互连方案 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/69163"><FONT color=#a70000 size=3>某学院新旧校区无线互连方案</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-03-31 20:36:33</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/69163" target=_blank><FONT color=#111100>1、 总体规划 <BR> <BR>跟据实地考查确定在本部大楼与新校大楼楼顶各安装一个2.4G的微波天线。 <BR> <BR>2、费用 <BR> <BR>天线以及其它无线设备价格明细表:略 <BR>总费用:略 <BR> <BR>3..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69163" target=_blank><FONT color=#111100>阅读全文(126)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/69163"><FONT color=#111100>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验之四:无线网络的安全设置--WPA src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/66740"><FONT color=#a70000 size=3>无线网络实验之四:无线网络的安全设置--WPA</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-03-19 16:09:33</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/66740" target=_blank><FONT color=#111100>WPA简介<BR> Wi-Fi保护接入(WPA)是改进WEP所使用密钥的安全性的协议和算法。它改变了密钥生成方式,更频繁地变换密钥来获得安全。它还增加了消息完整性检查功能来防止数据包伪造。 <BR> &..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66740" target=_blank><FONT color=#111100>阅读全文(1203)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66740"><FONT color=#111100>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验之三:无线网络的安全设置--WEP src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/66739"><FONT color=#a70000 size=3>无线网络实验之三:无线网络的安全设置--WEP</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-03-19 16:07:16</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/66739" target=_blank><FONT color=#111100>AP的设置 <BR>1、更改SSID号和信道: 无线设置---基本设置 客户端重新搜索接入到网络 <BR><BR>2、加密: <BR> 1)AP无线设置---基本设置 共享 16进制 <BR> ..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66739" target=_blank><FONT color=#111100>阅读全文(587)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66739"><FONT color=#111100>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验二:互联网接入 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/66736"><FONT color=#a70000 size=3>无线网络实验二:互联网接入</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL>2008-03-19 16:01:51</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/66736" target=_blank><FONT color=#111100>无线路由器:TL-WR641G <BR> <BR>1、保证物理连接 <BR> AP的WAN接口和ADSL MODEM相连 <BR> <BR>2、配置网卡 <BR> 1)服务器(我的笔记本电脑)上接上无线网卡 安装驱动 <BR> 2)为服务器?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66736" target=_blank><FONT color=#111100>阅读全文(240)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/66736"><FONT color=#111100>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=无线网络实验一:AD-HOC和Infrastructure网络的基本组建 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/65940"><FONT color=#a70000 size=3>无线网络实验一:AD-HOC和Infrastructure网络的基本..</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL>2008-03-15 16:29:44</SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/65940" target=_blank><FONT color=#111100>=========================<BR>AD-HOC网络的组建<BR>========================= <BR>环境:三个无线工作站 <BR>1\客户端安装驱动及客户端程序,根据要求可能需要重启 <BR>2\进行客户端管理程序----用户配置文件---修改---高级-----..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-6"><FONT color=#111100>类别:无线技术</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/65940" target=_blank><FONT color=#111100>阅读全文(585)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/65940"><FONT color=#111100>回复(3)</FONT></A> </DIV><BR> <DIV id=page> <CENTER></CENTER></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV> <DIV class=mod1 id=layout_2 style="DISPLAY: none"></DIV> <DIV class=sidebar1 id=layout_3> <DIV class=nouse id=notice> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/notice.gif"> <B>公告</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <P align=center><B></B></P> <P>前方是绝路 希望在转角<BR><BR>常存感恩之心 善待他人和自身</P></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=hotblog> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/hotblog.gif"> <B>热门文章</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61103"><FONT color=#111100>Boson NetSim for CCNP 7..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/58226"><FONT color=#111100>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/64254"><FONT color=#111100>计算机网络安全之二:安全..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/66740"><FONT color=#111100>无线网络实验之四:无线..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/64238"><FONT color=#111100>网络目录服务之八:利用..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61132"><FONT color=#111100>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61139"><FONT color=#111100>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/73625"><FONT color=#111100>Linux网络管理之六:vsftp..</FONT></A> </LI></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=com_art> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader> <TABLE cellSpacing=0 cellPadding=0 width="86%" border=0> <TBODY> <TR> <TD><IMG src="http://blog.51cto.com/image/skin/def/com_art.gif"> <B>51CTO推荐博文</B></TD> <TD align=right><A href="http://blog.51cto.com/artcommend" target=_blank><FONT color=#111100>更多..</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <LI><A title=浅谈DNS体系结构:DNS系列之一 href="http://yuelei.blog.51cto.com/202879/106228" target=_blank><FONT color=#111100>浅谈DNS体系结构:DNS系列之一</FONT></A> </LI> <LI><A title=组策略命令行工具之组策略结果检测工具GpResult href="http://zhouhaipeng.blog.51cto.com/447669/106224" target=_blank><FONT color=#111100>组策略命令行工具之组策略..</FONT></A> </LI> <LI><A title=Exchange服务器系列课程之七--维护邮件服务器(二) href="http://chensky.blog.51cto.com/177526/106221" target=_blank><FONT color=#111100>Exchange服务器系列课程之..</FONT></A> </LI> <LI><A title=在活动目录中设置和管理发布打印机 href="http://lgzeng2360.blog.51cto.com/275998/106167" target=_blank><FONT color=#111100>在活动目录中设置和管理发..</FONT></A> </LI> <LI><A title=浅析Delphi实现IOCP后的优化 href="http://fxh7622.blog.51cto.com/63841/106035" target=_blank><FONT color=#111100>浅析Delphi实现IOCP后的优化</FONT></A> </LI> <LI><A title=用IDEA8快速开发WebService客户端 href="http://lavasoft.blog.51cto.com/62575/105957" target=_blank><FONT color=#111100>用IDEA8快速开发WebService..</FONT></A> </LI> <LI><A title="Mysql HA实现MYSQL的高可用" href="http://colderboy.blog.51cto.com/485582/104872" target=_blank><FONT color=#111100>Mysql HA实现MYSQL的高可用</FONT></A> </LI> <LI><A title=基于.Net平台的extjs单用户Blog系统发布 href="http://netgod.blog.51cto.com/404524/105346" target=_blank><FONT color=#111100>基于.Net平台的extjs单用户..</FONT></A> </LI> <LI><A title=从月薪400到6000(毕业这两年)--2、绝望中寻找希望 href="http://xiaokaige.blog.51cto.com/166711/106105" target=_blank><FONT color=#111100>从月薪400到6000(毕业这两..</FONT></A> </LI> <LI><A title=沙场秋点兵---走出软件作坊 href="http://davidlv.blog.51cto.com/434193/106125" target=_blank><FONT color=#111100>沙场秋点兵---走出软件作坊</FONT></A> </LI> <LI><A title=五大流程成就网络运维管理的基础 href="http://sunyongjie.blog.51cto.com/445592/106039" target=_blank><FONT color=#111100>五大流程成就网络运维管理..</FONT></A> </LI> <LI><A title="见微知著决胜千里 手机上的企业数字神经末梢" href="http://chenghong.blog.51cto.com/10677/101023" target=_blank><FONT color=#111100>见微知著决胜千里 手机上的..</FONT></A> </LI> <LI><A title=学习中的似懂非懂 href="http://10wcode.blog.51cto.com/474195/105467" target=_blank><FONT color=#111100>学习中的似懂非懂</FONT></A> </LI> <LI><A title=小五的学习笔记 href="http://xwnet.blog.51cto.com/233677/105737" target=_blank><FONT color=#111100>小五的学习笔记</FONT></A> </LI> <LI><A title=是谁给的他们第二种选择 href="http://huizhen.blog.51cto.com/382964/105313" target=_blank><FONT color=#111100>是谁给的他们第二种选择</FONT></A> </LI> <LI><A title=linux直接给我们用户内核就好了 href="http://xcf007.blog.51cto.com/471707/105013" target=_blank><FONT color=#111100>linux直接给我们用户内核就..</FONT></A> </LI></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=search> <FORM action=search.php? method=post><INPUT type=hidden value=2 name=step> <INPUT type=hidden value=275998 name=authorid> <INPUT type=hidden value=S name=sch_area> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/search.gif"> <B>搜索BLOG文章</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo style="TEXT-ALIGN: center"><INPUT style="WIDTH: 92%" name=keyword><BR><BR><INPUT type=submit value="提 交"> </DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></FORM></DIV> <SCRIPT src="http://blog.51cto.com/js/mydateline.php?uid=275998&y=&m="></SCRIPT> <DIV class=nouse id=dateline> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/dateline.gif"> <B>2008 10.19 Sun </B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0> <TBODY> <TR> <TD>日</TD> <TD>一</TD> <TD>二</TD> <TD>三</TD> <TD>四</TD> <TD>五</TD> <TD>六</TD></TR> <TR align=middle> <TD> </TD> <TD> </TD> <TD> </TD> <TD>1</TD> <TD>2</TD> <TD>3</TD> <TD>4</TD></TR> <TR align=middle> <TD>5</TD> <TD>6</TD> <TD>7</TD> <TD><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2008&date=2008_10_8"><U><FONT color=#111100>8</FONT></U></A></TD> <TD>9</TD> <TD>10</TD> <TD>11</TD></TR> <TR align=middle> <TD>12</TD> <TD>13</TD> <TD>14</TD> <TD>15</TD> <TD><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2008&date=2008_10_16"><U><FONT color=#111100>16</FONT></U></A></TD> <TD>17</TD> <TD>18</TD></TR> <TR align=middle> <TD>19</TD> <TD>20</TD> <TD>21</TD> <TD>22</TD> <TD>23</TD> <TD>24</TD> <TD>25</TD></TR> <TR align=middle> <TD>26</TD> <TD>27</TD> <TD>28</TD> <TD>29</TD> <TD>30</TD> <TD>31</TD> <TD> </TD> <TR> <TD colSpan=7><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=9&y=2008"><FONT color=#111100>«</FONT></A> 月 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=11&y=2008"><FONT color=#111100>»</FONT></A> 2008 - 10 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2007"><FONT color=#111100>«</FONT></A> 年 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2009"><FONT color=#111100>»</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable><FONT color=#111100></FONT></DIV></DIV></DIV> <DIV class=nouse id=com_blog> <DIV class=t> <DIV class=rt><FONT color=#111100></FONT></DIV> <DIV class=lt><FONT color=#111100></FONT></DIV> <DIV class=modHeader><FONT color=#111100><IMG src="http://blog.51cto.com/image/skin/def/com_blog.gif"></FONT> <B>51CTO推荐博客</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <TABLE cellSpacing=2 cellPadding=0 width="92%" border=0> <TBODY> <TR> <TD><A title=IBM_SystemX href="http://ibmxcn.blog.51cto.com/" target=_blank><FONT color=#111100>IBM_SystemX</FONT></A></TD> <TD> <A title=hfc1999 href="http://itstudy.blog.51cto.com/" target=_blank><FONT color=#111100>hfc1999</FONT></A></TD></TR> <TR> <TD><A title=yangming1052 href="http://ming228.blog.51cto.com/" target=_blank><FONT color=#111100>yangming1052</FONT></A></TD> <TD> <A title=alligator href="http://alligator.blog.51cto.com/" target=_blank><FONT color=#111100>alligator</FONT></A></TD></TR> <TR> <TD><A title=qqinbaby href="http://820808.blog.51cto.com/" target=_blank><FONT color=#111100>qqinbaby</FONT></A></TD> <TD> <A title=greater href="http://greater.blog.51cto.com/" target=_blank><FONT color=#111100>greater</FONT></A></TD></TR> <TR> <TD><A title=OpenHero href="http://openhero.blog.51cto.com/" target=_blank><FONT color=#111100>OpenHero</FONT></A></TD> <TD> <A title=jayenho href="http://jayenho.blog.51cto.com/" target=_blank><FONT color=#111100>jayenho</FONT></A></TD></TR> <TR> <TD><A title=luwanqing href="http://luwanqing.blog.51cto.com/" target=_blank><FONT color=#111100>luwanqing</FONT></A></TD> <TD> <A title=孙永杰 href="http://sunyongjie.blog.51cto.com/" target=_blank><FONT color=#111100>孙永杰</FONT></A></TD></TR> <TR> <TD><A title=zhangyxc href="http://465092.blog.51cto.com/" target=_blank><FONT color=#111100>zhangyxc</FONT></A></TD> <TD> <A title=piluge href="http://piluge.blog.51cto.com/" target=_blank><FONT color=#111100>piluge</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable><FONT color=#111100></FONT></DIV></DIV></DIV></DIV> <SCRIPT src="http://blog.51cto.com/js/header.php?uid=275998"></SCRIPT> <DIV class=clear><FONT color=#111100></FONT></DIV> <DIV id=footer> <DIV id=innerFooter> <CENTER><SMALL>Copyright © <A href="http://blog.51cto.com/" target=_blank><B>51CTO.COM</B></A> All Rights Reserved <BR><BR><A href="http://www.51cto.com/" target=_blank><IMG src="http://lgzeng2360.blog.51cto.com/image/skin/23/copyright.jpg"></A> </SMALL></CENTER></DIV></DIV></DIV>
查看全文
发表于:2008-10-19 ┆
阅读(188)
┆
评论(0)
路由交换模拟器2.2
<DIV><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/98819"><STRONG><FONT color=#0000ff>华为路由交换模拟器2.2</FONT></STRONG></A> <DIV class=posttime><SMALL><FONT size=2>2008-09-12 09:08:39</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/98819" target=_blank><FONT color=#0000ff>本模拟器可完成华为路由器和交换机的配置,愿与博友们共享。 <BR> </FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/98819" target=_blank><FONT color=#0000ff>阅读全文(252)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/98819"><FONT color=#0000ff>回复(3)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=BSCI实验之二十九:单区域集成IS-IS配置 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/75954"><FONT color=#0000ff>BSCI实验之二十九:单区域集成IS-IS配置</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-05-08 19:18:02</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/75954" target=_blank><FONT color=#0000ff>实验拓扑: <BR> <BR><IMG onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' alt="" src="http://lgzeng2360.blog.51cto.com/attachment/200805/200805081210246448424.jpg" border=0> <BR> <BR>实验目的:熟悉单区域ISIS基本配置命令 <BR>实验仿真器:netsim6.1 <BR> <BR>各路由器配置 <BR>R1配置: <BR>R1(config)#router isis <BR>R1(config-router)#net 49.0001.1111.1111.00 &n..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/75954" target=_blank><FONT color=#0000ff>阅读全文(277)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/75954"><FONT color=#0000ff>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=BSCI实验之十五:OSPF在帧中继点到多点模式下的配置 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/73346"><FONT color=#0000ff>BSCI实验之十五:OSPF在帧中继点到多点模式下的配置</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-04-24 16:27:12</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/73346" target=_blank><FONT color=#0000ff>实验拓扑: <BR><IMG style="WIDTH: 549px; HEIGHT: 254px" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' height=219 alt="" src="http://blog.51cto.com/attachment/200804/200804241209026216883.jpg" width=549 border=0> <BR> <BR>试验要求:R4 R2 R3通过R1-FR相连,形成hub and spoke网络拓扑,R1为模拟帧中继交换机,R4为hub路由器,R2 R3 为spoke路由器,R4 R3 R2采用点对多点接口。全部用物理接口并全起OSPF。 <BR>实?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/73346" target=_blank><FONT color=#0000ff>阅读全文(512)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/73346"><FONT color=#0000ff>回复(3)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=BSCI实验之十三:配置点到点链路OSPF及认证 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/73063"><FONT color=#0000ff>BSCI实验之十三:配置点到点链路OSPF及认证</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-04-23 11:02:16</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/73063" target=_blank><FONT color=#0000ff>实验拓扑: <BR><IMG style="WIDTH: 470px; HEIGHT: 162px" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' height=162 alt="" src="http://blog.51cto.com/attachment/200804/200804231208918280485.jpg" width=473 border=0> <BR> <BR>实验要求:分别在RA/RB/RC(即图中的R1/R2/R3)上启用OSPF,注意观察它们的网络类型以及邻居关系,并观察认证后的特点。 <BR>实验目的:熟练进行点到点OSPF的基本配置和认证调试。 <BR>实验仿真:D..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/73063" target=_blank><FONT color=#0000ff>阅读全文(499)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/73063"><FONT color=#0000ff>回复(2)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=CISCO配置手册 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/72347"><FONT color=#0000ff>CISCO配置手册</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-04-18 20:17:11</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/72347" target=_blank><FONT color=#0000ff>整理硬盘上找到以前收集的东东, 在此传上来与大家共享.,</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/72347" target=_blank><FONT color=#0000ff>阅读全文(509)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/72347"><FONT color=#0000ff>回复(4)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=PIX防火墙基本配置 src="http://lgzeng2360.blog.51cto.com/images/zt_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/72346"><FONT color=#0000ff>PIX防火墙基本配置</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-04-18 20:14:35</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/72346" target=_blank><FONT color=#0000ff>硬件防火墙,是网络间的墙,防止非法侵入,过滤信息等,从结构上讲,简单地说是一种PC式的电脑主机加上闪存(Flash)和防火墙操作系统。它的硬件跟共控机差不多,都是属于能适合24小时工作的,外观造型也是相类似..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/72346" target=_blank><FONT color=#0000ff>阅读全文(225)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/72346"><FONT color=#0000ff>回复(2)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=子网划分—常规与捷径 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/71075"><FONT color=#0000ff>子网划分—常规与捷径</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-04-11 15:03:32</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/71075" target=_blank><FONT color=#0000ff>子网划分的核心思想:借位于主机部分 <BR><BR>示例: <BR>每个子网要求主机数是30台,要求将C类网192.168.3.0/24进行子网划分。求出子网数、以及第一个子网主机IP范围和其广播地址。 <BR> <BR>一、常规划分法 <BR>&nbs..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71075" target=_blank><FONT color=#0000ff>阅读全文(359)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/71075"><FONT color=#0000ff>回复(6)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=路由器配置文档 src="http://lgzeng2360.blog.51cto.com/images/zt_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/65222"><FONT color=#0000ff>路由器配置文档</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-03-11 15:20:35</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/65222" target=_blank><FONT color=#0000ff>路由器配置(新手上路,比较全面,强烈推荐) <BR> <BR>第一章 路由器配置基础<BR>一、基本设置方式<BR>二、命令状态<BR>三、设置对话过程<BR>四、常用命令<BR>五、配置IP寻址<BR>六、配置静态路由<BR>第二章 广域网协议设置<BR>一、HDLC<BR>?.</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/65222" target=_blank><FONT color=#0000ff>阅读全文(286)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/65222"><FONT color=#0000ff>回复(4)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=利用DynamipsGUI制作BSCI课程实验拓扑 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/62439"><FONT color=#0000ff>利用DynamipsGUI制作BSCI课程实验拓扑</FONT></A></B> <IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-19 14:41:29</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/62439" target=_blank><FONT color=#0000ff>为了完成CCNP之BSCI的众多实验,需要根据不同的实验要求要实验前构建不同的网络拓扑,这将花费大量时间。本人在实验过程中利用DynamipsGUI设计了一个功能全面网络拓扑,BSCI中基本上所有的实验都可由这个拓扑完成..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/62439" target=_blank><FONT color=#0000ff>阅读全文(791)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/62439"><FONT color=#0000ff>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=高级路由实验讲义 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/62000"><FONT color=#0000ff>高级路由实验讲义</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-13 19:53:30</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/62000" target=_blank><FONT color=#0000ff>春节也只休息了两天,就为了写这个讲义和做PPT课件。 <BR> <BR>实验拓扑总图: <BR><IMG style="WIDTH: 450px" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' height=253 alt="" src="http://blog.51cto.com/attachment/200802/200802131202903822412.jpg" width=546 border=0> <BR>所有实验的具体拓扑都是在上面的拓扑基础上进行变化。 <BR> <BR>实验模拟器:DynamipsGUI <BR> <BR>实验目录 <BR> <BR>实验说明&..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/62000" target=_blank><FONT color=#0000ff>阅读全文(368)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/62000"><FONT color=#0000ff>回复(4)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt="RIP V2认证和触发更新" src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/61664"><FONT color=#0000ff>RIP V2认证和触发更新</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-04 22:10:25</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/61664" target=_blank><FONT color=#0000ff>RIP V2的基本配置(略) <BR>现在配置认证和触发更新: <BR> <BR>RA(config)#key chain test ---配置钥匙链 <BR>RA(config-k..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61664" target=_blank><FONT color=#0000ff>阅读全文(437)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61664"><FONT color=#0000ff>回复(4)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt="Ip default-network的使用" src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/61663"><FONT color=#0000ff>Ip default-network的使用</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-04 22:06:44</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/61663" target=_blank><FONT color=#0000ff>通过ip default-network可以向网络中注入一条默认路由。RIP和EIGRP同样配置。 <BR> <BR>RB#sh ip route <BR>C 200.200.200.0/24 is directly connected, Loopback1 <BR> 1.0..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61663" target=_blank><FONT color=#0000ff>阅读全文(208)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61663"><FONT color=#0000ff>回复(1)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=用Route-Map配置NAT实现双ISP接入 src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/61660"><FONT color=#0000ff>用Route-Map配置NAT实现双ISP接入</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-04 21:49:38</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/61660" target=_blank><FONT size=2><IMG style="WIDTH: 450px" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' alt="" src="http://blog.51cto.com/attachment/200802/200802041202133045643.jpg" border=0></FONT><FONT color=#0000ff> <BR> <BR>实验模拟器:DynamipsGUI <BR>实验目标:通过策略路由对不同原地址数据流量进行分流,使得不同原地址主机通过不同ISP接口访问Internet,并为不同原地址主机同不同NAT地址进行转换。 <BR><BR>注:实验操作时ISP1和..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61660" target=_blank><FONT color=#0000ff>阅读全文(831)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61660"><FONT color=#0000ff>回复(8)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt=CISCO路由器VPN实例配置方案-中文注解 src="http://lgzeng2360.blog.51cto.com/images/zt_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/61658"><FONT color=#0000ff>CISCO路由器VPN实例配置方案-中文注解</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-02-04 21:03:22</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/61658" target=_blank><FONT color=#0000ff>Router:sam-i-am(VPN Server)<BR><BR>Current configuration:<BR><BR>!<BR><BR>version 12.2<BR><BR>service timestamps debug uptime <BR><BR>service timestamps log up time<BR><BR>no service password-encryption <BR><BR>!<BR><BR>hostname sam-i-am <BR><BR>!<BR><BR>ip..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61658" target=_blank><FONT color=#0000ff>阅读全文(500)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61658"><FONT color=#0000ff>回复(2)</FONT></A> </DIV><BR> <DIV id=title> <DIV style="TABLE-LAYOUT: fixed; FLOAT: left; WIDTH: 100%; WORD-WRAP: break-word"><IMG alt="Boson NetSim for CCNP 7.0破解方法" src="http://lgzeng2360.blog.51cto.com/images/zt_1.gif" border=0> <B><A class=subject href="http://lgzeng2360.blog.51cto.com/275998/61103"><FONT color=#0000ff>Boson NetSim for CCNP 7.0破解方法</FONT></A></B> </DIV></DIV> <DIV class=posttime><SMALL><FONT size=2>2008-01-29 20:56:47</FONT></SMALL></DIV> <DIV id=contentlist style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"><A href="http://lgzeng2360.blog.51cto.com/275998/61103" target=_blank><FONT color=#0000ff>Boson NetSim for CCNP 7.0破解其实就是6.0做7.0的实验,经过实践证明,6.0与7.0基本一样,但是7.0里面的实验已经全面更新,连淘汰的BCRAM和CIT都包括,只需将7.0的实验包添加到6.0即可。<BR><BR>首先下载6.0 finalBETA..</FONT></A></DIV><BR><BR> <DIV id=tool><A href="http://lgzeng2360.blog.51cto.com/275998/d-1"><FONT color=#800080>类别:路由交换</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61103" target=_blank><FONT color=#0000ff>阅读全文(4468)</FONT></A> | <A href="http://lgzeng2360.blog.51cto.com/275998/61103"><FONT color=#0000ff>回复(8)</FONT></A> </DIV><BR> <DIV id=page> <CENTER><A href="http://lgzeng2360.blog.51cto.com/275998/d-1/p-1"><FONT color=#0000ff> << </FONT></A> <B>1</B> <A href="http://lgzeng2360.blog.51cto.com/275998/d-1/p-2"><FONT color=#0000ff> 2 </FONT></A> <INPUT onkeydown="javascript: if(window.event.keyCode==13) window.location='/275998/d-1/p-'+this.value;" style="BORDER-RIGHT: #e5e5e5 1px solid; BORDER-TOP: #e5e5e5 1px solid; BORDER-LEFT: #e5e5e5 1px solid; BORDER-BOTTOM: #e5e5e5 1px solid; HEIGHT: 16px" size=2> <A href="http://lgzeng2360.blog.51cto.com/275998/d-1/p-2"><FONT color=#0000ff> >> </FONT></A> 页数 ( 1/2 )</CENTER></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV> <DIV class=mod1 id=layout_2 style="DISPLAY: none"></DIV> <DIV class=sidebar1 id=layout_3> <DIV class=nouse id=notice> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/notice.gif"> <B>公告</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <P align=center><B></B></P> <P>前方是绝路 希望在转角<BR><BR>常存感恩之心 善待他人和自身</P></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=hotblog> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/hotblog.gif"> <B>热门文章</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61103"><FONT color=#0000ff>Boson NetSim for CCNP 7..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/58226"><FONT color=#0000ff>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/64254"><FONT color=#0000ff>计算机网络安全之二:安全..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/66740"><FONT color=#800080>无线网络实验之四:无线..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/64238"><FONT color=#0000ff>网络目录服务之八:利用..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61132"><FONT color=#0000ff>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/61139"><FONT color=#0000ff>一步一步实现企业网络架..</FONT></A> </LI> <LI><A href="http://lgzeng2360.blog.51cto.com/275998/73625"><FONT color=#0000ff>Linux网络管理之六:vsftp..</FONT></A> </LI></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=com_art> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader> <TABLE cellSpacing=0 cellPadding=0 width="86%" border=0> <TBODY> <TR> <TD><IMG src="http://blog.51cto.com/image/skin/def/com_art.gif"> <B>51CTO推荐博文</B></TD> <TD align=right><A href="http://blog.51cto.com/artcommend" target=_blank><FONT color=#0000ff>更多..</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <LI><A title=浅谈DNS体系结构:DNS系列之一 href="http://yuelei.blog.51cto.com/202879/106228" target=_blank><FONT color=#0000ff>浅谈DNS体系结构:DNS系列之一</FONT></A> </LI> <LI><A title=组策略命令行工具之组策略结果检测工具GpResult href="http://zhouhaipeng.blog.51cto.com/447669/106224" target=_blank><FONT color=#800080>组策略命令行工具之组策略..</FONT></A> </LI> <LI><A title=Exchange服务器系列课程之七--维护邮件服务器(二) href="http://chensky.blog.51cto.com/177526/106221" target=_blank><FONT color=#800080>Exchange服务器系列课程之..</FONT></A> </LI> <LI><A title=在活动目录中设置和管理发布打印机 href="http://lgzeng2360.blog.51cto.com/275998/106167" target=_blank><FONT color=#800080>在活动目录中设置和管理发..</FONT></A> </LI> <LI><A title=浅析Delphi实现IOCP后的优化 href="http://fxh7622.blog.51cto.com/63841/106035" target=_blank><FONT color=#0000ff>浅析Delphi实现IOCP后的优化</FONT></A> </LI> <LI><A title=用IDEA8快速开发WebService客户端 href="http://lavasoft.blog.51cto.com/62575/105957" target=_blank><FONT color=#0000ff>用IDEA8快速开发WebService..</FONT></A> </LI> <LI><A title="Mysql HA实现MYSQL的高可用" href="http://colderboy.blog.51cto.com/485582/104872" target=_blank><FONT color=#0000ff>Mysql HA实现MYSQL的高可用</FONT></A> </LI> <LI><A title=基于.Net平台的extjs单用户Blog系统发布 href="http://netgod.blog.51cto.com/404524/105346" target=_blank><FONT color=#0000ff>基于.Net平台的extjs单用户..</FONT></A> </LI> <LI><A title=从月薪400到6000(毕业这两年)--2、绝望中寻找希望 href="http://xiaokaige.blog.51cto.com/166711/106105" target=_blank><FONT color=#0000ff>从月薪400到6000(毕业这两..</FONT></A> </LI> <LI><A title=沙场秋点兵---走出软件作坊 href="http://davidlv.blog.51cto.com/434193/106125" target=_blank><FONT color=#0000ff>沙场秋点兵---走出软件作坊</FONT></A> </LI> <LI><A title=五大流程成就网络运维管理的基础 href="http://sunyongjie.blog.51cto.com/445592/106039" target=_blank><FONT color=#0000ff>五大流程成就网络运维管理..</FONT></A> </LI> <LI><A title="见微知著决胜千里 手机上的企业数字神经末梢" href="http://chenghong.blog.51cto.com/10677/101023" target=_blank><FONT color=#0000ff>见微知著决胜千里 手机上的..</FONT></A> </LI> <LI><A title=学习中的似懂非懂 href="http://10wcode.blog.51cto.com/474195/105467" target=_blank><FONT color=#0000ff>学习中的似懂非懂</FONT></A> </LI> <LI><A title=小五的学习笔记 href="http://xwnet.blog.51cto.com/233677/105737" target=_blank><FONT color=#0000ff>小五的学习笔记</FONT></A> </LI> <LI><A title=是谁给的他们第二种选择 href="http://huizhen.blog.51cto.com/382964/105313" target=_blank><FONT color=#0000ff>是谁给的他们第二种选择</FONT></A> </LI> <LI><A title=linux直接给我们用户内核就好了 href="http://xcf007.blog.51cto.com/471707/105013" target=_blank><FONT color=#0000ff>linux直接给我们用户内核就..</FONT></A> </LI></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></DIV> <DIV class=nouse id=search> <FORM action=search.php? method=post><INPUT type=hidden value=2 name=step> <INPUT type=hidden value=275998 name=authorid> <INPUT type=hidden value=S name=sch_area> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/search.gif"> <B>搜索BLOG文章</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo style="TEXT-ALIGN: center"><INPUT style="WIDTH: 92%" name=keyword><BR><BR><INPUT type=submit value="提 交"> </DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable></DIV></DIV></FORM></DIV> <SCRIPT src="http://blog.51cto.com/js/mydateline.php?uid=275998&y=&m="></SCRIPT> <DIV class=nouse id=dateline> <DIV class=t> <DIV class=rt></DIV> <DIV class=lt></DIV> <DIV class=modHeader><IMG src="http://blog.51cto.com/image/skin/def/dateline.gif"> <B>2008 10.19 Sun </B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0> <TBODY> <TR> <TD>日</TD> <TD>一</TD> <TD>二</TD> <TD>三</TD> <TD>四</TD> <TD>五</TD> <TD>六</TD></TR> <TR align=middle> <TD> </TD> <TD> </TD> <TD> </TD> <TD>1</TD> <TD>2</TD> <TD>3</TD> <TD>4</TD></TR> <TR align=middle> <TD>5</TD> <TD>6</TD> <TD>7</TD> <TD><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2008&date=2008_10_8"><U><FONT color=#0000ff>8</FONT></U></A></TD> <TD>9</TD> <TD>10</TD> <TD>11</TD></TR> <TR align=middle> <TD>12</TD> <TD>13</TD> <TD>14</TD> <TD>15</TD> <TD><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2008&date=2008_10_16"><U><FONT color=#0000ff>16</FONT></U></A></TD> <TD>17</TD> <TD>18</TD></TR> <TR align=middle> <TD>19</TD> <TD>20</TD> <TD>21</TD> <TD>22</TD> <TD>23</TD> <TD>24</TD> <TD>25</TD></TR> <TR align=middle> <TD>26</TD> <TD>27</TD> <TD>28</TD> <TD>29</TD> <TD>30</TD> <TD>31</TD> <TD> </TD> <TR> <TD colSpan=7><A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=9&y=2008"><FONT color=#0000ff>«</FONT></A> 月 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=11&y=2008"><FONT color=#0000ff>»</FONT></A> 2008 - 10 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2007"><FONT color=#0000ff>«</FONT></A> 年 <A href="http://lgzeng2360.blog.51cto.com/blog.php?uid=275998&m=10&y=2009"><FONT color=#0000ff>»</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable><FONT color=#0000ff></FONT></DIV></DIV></DIV> <DIV class=nouse id=com_blog> <DIV class=t> <DIV class=rt><FONT color=#0000ff></FONT></DIV> <DIV class=lt><FONT color=#0000ff></FONT></DIV> <DIV class=modHeader><FONT color=#0000ff><IMG src="http://blog.51cto.com/image/skin/def/com_blog.gif"></FONT> <B>51CTO推荐博客</B></DIV></DIV> <DIV class=l> <DIV class=r> <DIV class=c> <DIV class=side style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"> <DIV class=side_sinfo> <TABLE cellSpacing=2 cellPadding=0 width="92%" border=0> <TBODY> <TR> <TD><A title=IBM_SystemX href="http://ibmxcn.blog.51cto.com/" target=_blank><FONT color=#0000ff>IBM_SystemX</FONT></A></TD> <TD> <A title=hfc1999 href="http://itstudy.blog.51cto.com/" target=_blank><FONT color=#0000ff>hfc1999</FONT></A></TD></TR> <TR> <TD><A title=yangming1052 href="http://ming228.blog.51cto.com/" target=_blank><FONT color=#0000ff>yangming1052</FONT></A></TD> <TD> <A title=alligator href="http://alligator.blog.51cto.com/" target=_blank><FONT color=#0000ff>alligator</FONT></A></TD></TR> <TR> <TD><A title=qqinbaby href="http://820808.blog.51cto.com/" target=_blank><FONT color=#0000ff>qqinbaby</FONT></A></TD> <TD> <A title=greater href="http://greater.blog.51cto.com/" target=_blank><FONT color=#0000ff>greater</FONT></A></TD></TR> <TR> <TD><A title=OpenHero href="http://openhero.blog.51cto.com/" target=_blank><FONT color=#0000ff>OpenHero</FONT></A></TD> <TD> <A title=jayenho href="http://jayenho.blog.51cto.com/" target=_blank><FONT color=#0000ff>jayenho</FONT></A></TD></TR> <TR> <TD><A title=luwanqing href="http://luwanqing.blog.51cto.com/" target=_blank><FONT color=#0000ff>luwanqing</FONT></A></TD> <TD> <A title=孙永杰 href="http://sunyongjie.blog.51cto.com/" target=_blank><FONT color=#0000ff>孙永杰</FONT></A></TD></TR> <TR> <TD><A title=zhangyxc href="http://465092.blog.51cto.com/" target=_blank><FONT color=#0000ff>zhangyxc</FONT></A></TD> <TD> <A title=piluge href="http://piluge.blog.51cto.com/" target=_blank><FONT color=#0000ff>piluge</FONT></A></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV> <DIV class=modFrame> <DIV class=modTable><FONT color=#0000ff></FONT></DIV></DIV></DIV></DIV> <SCRIPT src="http://blog.51cto.com/js/header.php?uid=275998"></SCRIPT> <DIV class=clear><FONT color=#0000ff></FONT></DIV> <DIV id=footer> <DIV id=innerFooter> <CENTER><SMALL><FONT size=2>Copyright © </FONT><A href="http://blog.51cto.com/" target=_blank><B><FONT color=#0000ff size=2>51CTO.COM</FONT></B></A><FONT size=2> All Rights Reserved <BR><BR></FONT><A href="http://www.51cto.com/" target=_blank><FONT size=2><IMG src="http://lgzeng2360.blog.51cto.com/image/skin/23/copyright.jpg"></FONT></A><FONT size=2> </FONT></SMALL></CENTER></DIV></DIV></DIV>
查看全文
发表于:2008-10-19 ┆
阅读(282)
┆
评论(0)
在活动目录中设置和管理发布打印机
<DIV> <DIV class=article id=article align=left> <H1 class=subject style="WORD-WRAP: break-word"><B><IMG src="http://lgzeng2360.blog.51cto.com/images/orig_1.gif" border=0> 在活动目录中设置和管理发布打印机 <A href="http://blog.51cto.com/artcommend" target=_blank><IMG src="http://lgzeng2360.blog.51cto.com/images/tuijian_1.gif" border=0></A></B> </H1> <HR style="BORDER-RIGHT: #eeeeee 1px solid; BORDER-TOP: #eeeeee 1px solid; BORDER-LEFT: #eeeeee 1px solid; BORDER-BOTTOM: #eeeeee 1px solid" align=center width="94%" SIZE=1> <DIV> <DIV class=posttime><SMALL><FONT size=2>2008-10-16 20:54:48</FONT></SMALL></DIV> <DIV style="PADDING-LEFT: 20px; WIDTH: 94%"> 标签:<SPAN style="COLOR: #aaaaaa"><A class=operlink href="http://blog.51cto.com/tagindex.php?keyword=%B4%F2%D3%A1%CE%BB%D6%C3" target=_blank><FONT color=#0000ff>打印位置</FONT></A></SPAN> [<A class=operlink onclick="javascript:dfanologin();return false;" href="http://lgzeng2360.blog.51cto.com/#"><FONT color=#0000ff>推送到技术圈</FONT></A>] <BR><BR></DIV></DIV> <DIV> <TABLE id=content style="TABLE-LAYOUT: fixed; WIDTH: 650px" cellSpacing=10 cellPadding=0 width=650 border=0> <TBODY> <TR> <TD> <DIV class=copy><STRONG>版权声明:</STRONG>原创作品,允许转载,转载时请务必以超链接形式标明文章 <A style="TEXT-DECORATION: underline" href="http://lgzeng2360.blog.51cto.com/275998/106167" target=_blank><FONT color=#800080>原始出处</FONT></A> 、作者信息和本声明。否则将追究法律责任。<A href="http://lgzeng2360.blog.51cto.com/275998/106167"><FONT color=#800080>http://lgzeng2360.blog.51cto.com/275998/106167</FONT></A></DIV></TD></TR> <TR> <TD> <DIV style="FONT-SIZE: 10pt"> <P>在Windows 2000/2003中建立打印机时,打印机和活动目录通过缺省配置成具有整体性,打印机将自动在活动目录上发布。对于不是运行Windows 2000/2003计算机(如Windows NT 4.0)上的打印机,不能在AD中进行自动发布,可利用活动目录管理工具或利用system32文件夹中提供的pubprn.vbs脚本在活动目录中进行手动发布。</P>4.4.1 Windows 2000/2003域中打印机的发布 <P>在Win2000/2003域中的一台Member Server上安装打印机,并共享,则它会自动发布在域控制器的活动目录中。</P> <P> <B>Windows 2000/2003</B><B>域中打印机发布的特点</B></P> <P>发布打印机意味着发布打印队列,活动目录中的对象就是打印队列。管理人员仅仅通过改变缺省特性来管理打印机。</P> <P>下面是Win2000/2003域中的打印机发布的特点:</P> <P>1、<I>自动发布。</I>任何运行Windows 2000/2003的打印服务器上共享的打印机,在活动目录中都有一个帐户。当需要在AD中发布打印机时,管理员只要安装并共享打印机即可。</P> <P>2、<I>每个打印服务器负责发布在各自活动目录中的打印机。</I>要共享打印机时,主管共享打印机的服务器将联合域控制器发出在活动目录上发布打印机的请求。</P> <P>3、<I>属性自动更新。</I>在配置或修改打印机属性时,活动目录中发布的打印机的属性自动更新。</P> <P>4、<I>自动删除。</I>如果打印机从网上删除或不共享,发布也自动从活动目录撤销。这可以防止用户去连接网络上已不存在的打印机。</P> <P><B>查看在Windows 2000/2003</B><B>域中发布的打印机</B></P> <P>可按下列步骤来查看在活动目录中发布的打印机:</P> <P>1、打开活动目录用户和计算机管理控制台,然后在【视图】菜单上单击【用户、组和计算机作为容器】。</P> <P>2、在控制台树中选择安装了打印机的计算机,发布的打印机将出现在详细资料面板中。如图4-11所示。</P> <P><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/17/275998_1224204510kHaa.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=312 alt=clip_image002[1] src="http://lgzeng2360.blog.51cto.com/attachment/200810/17/275998_1224204516LQ8g.jpg" border=0 ?504?></A></P> <P>图 4-11发布在AD中的共享打印机</P> <P><B>控制在Windows 2000/2003</B><B>域中打印机的发布</B></P> <P>可以使用打印机共享标签中的【列入目录】选项来控制打印机是否自动发布。如果去掉这个选择,则打印机不会自动在活动目录中进行发布。也可以通过组策略去控制发布打印机的缺省行为。通过配置组策略中的computer configuration\Administrative Templates\Printers选项下的活动目录组策略中的自动发布新打印机,以选择是否自动发布共享打印机。如图4-12所示。</P> <P><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/17/275998_1224204521Yxs2.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=333 alt=clip_image004[1] src="http://lgzeng2360.blog.51cto.com/attachment/200810/17/275998_1224204542z1K5.jpg" border=0 ?504?></A></P> <P>图 4-12将共享打印机发布到AD中</P> <STRONG>4.5 在域中实现打印机位置</STRONG> <DIV>在用户看来,在Active Directory中公布打印机信息最大的好处是他们可以在一定范围内搜索可用的打印机,这样做能够获得搜索范围的可能性。用户可以在森林中搜索所有的打印机,也能够通过指定单独的打印机特点和性能来执行细化的搜索。例如,用户可以通过打印机名称、位置和类型(如果这些信息在Active Directory中是可用的)或者打印机特性(像双面打印,色彩)来搜索打印机。事实上,借助于搜索功能里的“高级”标签,用户几乎可以搜索存储在Active Directory中的打印队列对象的任何属性,并从中选择一个离自己物理位置最近的打印机进行连接使用。</DIV> <DIV> </DIV> <DIV>活动目录在搜索打印机时是按以下顺序进行的:</DIV> <DIV>1、寻找与用户计算机所在位置的IP子网相一致的子网对象。</DIV> <DIV>2、利用子网对象位置属性中的值搜索具有同样值的打印机。</DIV> <DIV>3、返回一系列位置与子网对象位置值相匹配的打印机,这样用户可以从中选择一个离自己最近的打印机进行连接。</DIV> <DIV> </DIV>4.5.1 打印机的位置要求 <DIV>在实现打印机位置之前,Windows 2000/2003网络必须满足下列的要求:</DIV> <P><I>1、活动目录网络配置至少有一个站点和两个或两个以上的IP</I><I>子网。</I>通过IP子网来确定打印机的物理位置。 </P> <P><I>2、与网络地理和物理设计相一致的IP</I><I>寻址方案。</I>注意将处于相同IP子网中的计算机和打印机放在相近的物理位置上。 </P> <P><I>3、每个站点的子网对象。</I>子网对象在活动目录中代表一个IP子网,包含用于搜索打印机的位置属性。 </P> <P><I>4、可以搜索活动目录的客户计算机。</I>如运行WindowsXP的客户机可利用打印机的位置搜索打印机。 </P>4.5.2 定义位置名称 <DIV>要想让你的用户过得更轻松,请确保为每一台公布在Active Directory中的打印机指定位置字段。作为最初的Active Directory设计的一部分,你应该为位置信息准备一套可行的、具有扩展性的命名约定。位置字段的语法结构是:名称/名称/名称/名称……。从最粗略的位置名称开始到最特别的位置名称结束。例如,Switzerland/Basel/Building8/Level1/Room18标明一个位于瑞士办公室的具体房间。</DIV> <DIV> </DIV> <DIV><STRONG>应用位置字段时有两种方案:</STRONG></DIV> <DIV> </DIV> <DIV>第一种方案是简单的在打印服务器上为每台打印机填写常规属性页中的位置字段。这种方法使用户可以基于全部或部分(通过使用通配符“*”号)位置信息进行搜索。</DIV> <DIV> </DIV> <DIV>第二种方案更加有效,即同时也为所有Active Directory中定义的子网对象指定位置字段,并启动“预设打印机搜索位置文本”组策略设置。使用这种方法时,用户将会看到在搜索打印机选项中的位置字段已经预先输入了工作站的位置。工作站通过将它的IP地址与Active Directory中的定义子网对象进行比较来确定自身的位置。当工作站找到一个与之相匹配的子网时,它就复制子网的位置字段并且把它作为搜索打印机的位置信息预设值。</DIV> <DIV> </DIV>4.5.3 配置打印机位置 <DIV>如果已实现了打印机的位置要求,并且已定义了命名规则,则可以进行打印机位置的配置。</DIV> <UL> <LI>使用组策略进行位置跟踪设置 <LI>在活动目录中建立子网对象 <LI>设置子网对象的位置属性 <LI>设置打印机的位置属性 </LI></UL> <DIV><B>使用组策略进行位置跟踪</B></DIV> <DIV><STRONG></STRONG></DIV> <DIV>当用户在活动目录中搜索打印机时,打印位置跟踪将预先填充位置搜索区。设置的方法如下:</DIV> <DIV>选择域层次的缺省组策略进行编辑,具体位置在【计算机配置】-&gt;【管理模板】-&gt; 【打印机】-&gt; 【预设打印机搜索位置文本】,然后将些项启用即可。如图4-14所示。</DIV> <DIV><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161541zute.jpg"><IMG style="BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=291 alt=clip_image002 src="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161562z38c.jpg" border=0 .click="window.open(" http: blog.51cto.com viewpic.php?refimg=" + this.src)" ?454?="?454?"></A></DIV> <DIV>图 4-14 启用预设打印机搜索位置文本</DIV> <DIV>位置跟踪允许您为您的企业设计位置方案,并将计算机和打印机分配到方案中的位置。 位置跟踪替代定位和关联用户和打印机的标准方法;这个标准方法用计算机的 IP 地址和子网掩码来估计计算机的物理位置和邻近的其它计算机。</DIV> <DIV> </DIV> <DIV><B>在活动目录中建立子网对象</B></DIV> <DIV><STRONG></STRONG></DIV> <DIV>子网对象在活动目录中代表一个IP子网,包含用于搜索打印机的位置属性。可以在【Active Directory站点和服务】工具建立子网对象。在设置后子网地址后,需要与相应的站点进行链接。如图4-15所示。</DIV> <DIV><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161574x6Qv.jpg"><IMG style="BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=296 alt=clip_image004 src="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161592glDd.jpg" border=0 .click="window.open(" http: blog.51cto.com viewpic.php?refimg=" + this.src)" ?454?="?454?"></A> </DIV> <DIV>图 4-15 新建子网对象</DIV> <DIV> </DIV> <DIV><B>设置子网对象的位置属性</B></DIV> <DIV><STRONG></STRONG></DIV> <DIV>在子网对象创建完成后,即可利用定义的打印机位置规则为每一个子网确定位置属性。设置步骤如下:</DIV> <DIV>1、展开【Active Directory站点和服务】,选择Subnets,然后右击需要设置位置的子网,选择【属性】菜单。</DIV> <DIV>2、单击【位置】标签,然后在文本框中输入子网的位置属性。如图4-16所示。</DIV> <DIV><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161606hnwV.jpg"><IMG style="BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=152 alt=clip_image006 src="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161616gspb.jpg" border=0 .click="window.open(" http: blog.51cto.com viewpic.php?refimg=" + this.src)" ?454?="?454?"></A></DIV> <DIV>图 4-16 设置子网位置属性</DIV> <DIV> </DIV> <DIV><B>设置打印机的位置属性</B></DIV> <DIV><STRONG></STRONG></DIV> <DIV>对于与物理位置和IP子网相一致的打印机,必须在打印机属性中添加位置属性。可按下列的步骤进行设置:</DIV> <DIV>1、在打印机文件夹中,右击要进行设置的打印对象,然后选择【属性】菜单。</DIV> <DIV>2、选择【常规】标签,然后单击【浏览】按钮,选择相应子网的位置属性。然后在【位置】文本框中,补全打印机的具体位置。如图4-17所示。</DIV> <DIV><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161636Yto6.jpg"><IMG style="BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=298 alt=clip_image008 src="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161662EF6A.jpg" border=0 .click="window.open(" http: blog.51cto.com viewpic.php?refimg=" + this.src)" ?454?="?454?"></A></DIV> <DIV>图 4-17 设置子网位置属性</DIV> <DIV> </DIV>4.5.4 客户机搜索离自己最近的打印机 <DIV>要从一个Windows XP或Windows 2000工作站上访问搜索功能,选择【开始】-&gt; 【搜索】 -&gt; 【搜索打印机】。在出现的列表中,选择一个离自己物理位置最近的打印机,然后进行连接即可。早期的Windows版本不提供这种功能,但在用户的计算机上安装了目录服务客户端之后,就可以在AD中搜索打印机。如图4-18所示。</DIV> <DIV><A href="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161679XVng.jpg"><IMG style="BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=272 alt=clip_image010 src="http://lgzeng2360.blog.51cto.com/attachment/200810/16/275998_1224161687EXvL.jpg" border=0 .click="window.open(" http: blog.51cto.com viewpic.php?refimg=" + this.src)" ?454?="?454?"></A></DIV> <DIV>图 4-18 根据打印机位置属性搜索离自己最近的打印机</DIV> <DIV>也可以使用【Active Directory用户和计算机】管理单元来搜索打印机。在上侧面板中单击【搜索】按钮,然后从下拉列表框中选择打印机并输入搜索标准。</DIV> <P>本文出自 “<A href="http://lgzeng2360.blog.51cto.com/"><FONT color=#0000ff>lgzeng</FONT></A>” 博客,请务必保留此出处<A href="http://lgzeng2360.blog.51cto.com/275998/106167"><FONT color=#800080>http://lgzeng2360.blog.51cto.com/275998/106167</FONT></A></P><A class=hidden href="http://lgzeng2360.blog.51cto.com/275998/106167"><FONT color=#800080>本文出自 51CTO.COM技术博客</FONT></A></DIV></TD></TR></TBODY></TABLE></DIV></DIV><BR><BR> <DIV align=center>上一篇 <A class=operlink title=在域中管理用户和组 href="http://lgzeng2360.blog.51cto.com/275998/104409"><FONT color=#0000ff>在域中管理用户和组</FONT></A> <BR><BR></DIV></DIV>
查看全文
发表于:2008-10-19 ┆
阅读(191)
┆
评论(0)