Chinaunix首页 | 论坛 | 博客
  • 博客访问: 940275
  • 博文数量: 102
  • 博客积分: 8134
  • 博客等级: 中将
  • 技术积分: 1072
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-21 15:30
文章分类

全部博文(102)

文章存档

2019年(1)

2018年(1)

2014年(1)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2009年(9)

2008年(10)

2007年(70)

分类: BSD

2008-12-04 13:44:29

【转载】http://blog.chinaunix.net/u/525/showart_1194256.html

作者:linyin

OpenBSD系统办法分布以及发展情况:There are three "flavors" of OpenBSD: 

-release: The version of OpenBSD shipped every six months on CD. 
-stable: Release, plus patches considered critical to security and reliability. 
-current: Where new development work is presently being done, and eventually, it will turn into the next release. 
Graphically, the development of these flavors looks something like this: 
  ,------o-----------o----X 4.0 Stable
  | . .
  | . ,------o---------o----X 4.1 Stable
  | . | . .
  | . | . ,----o----------o--> 4.2 Stable
  | . | . | . .
  | . | . | . ,-----o--> 4.3 Stable
  | . | . | . | .
  | . | . | . | .
 -->4.0Rel----->4.1Rel----->4.2Rel----->4.3Rel----> Current 

  Time --->
简单明了,三个主要版本:Release Stable Current
Release,每六个月以ISO或者CD形式发布的版本,不包含系统其后补丁.
Stable,不定期更新,包含了系统的补丁,比如说OpenBSD4.2 Stable,OpenBSD4.3 Stable.每个Stable相对应维护俩个后续办法发布,相当于4.3Stable维护到4.5Release发布日期.
Current,最新版本,包含了当前OpenBSD所有的特性,硬件平台支持,已经安全补丁修复.
Upgrade vs. Update
注意,在Upgrade中,OpenBSD只支持逐版本升级,比如4.1Release->4.2Release->4.3Release.不支持跳版本升级.每次Upgrade升级方法,会在相对应Release中公布.
Update:系统升级,比如从4.3Release升级到4.3Stable
Upgrade:系统版本升级,比如说从4.2Release升级到4.3Release
CVS vs. CVSUP
CVS同步Stable系统代码:
cd /usr
export CVSROOT=anoncvs@anoncvs.nl.openbsd.org:/cvs
cvs -d$CVSROOT checkout -rOPENBSD_4_3 -P src
升级系统代码:
cvs -d$CVSROOT up -rOPENBSD_4_3 -Pd
CVSUP同步Stable系统代码:
建立/etc/cvsup-stable文件,内容包括:
# Defaults that apply to all the collections
*default host=cvsup.usa.openbsd.org
*default tag=OPENBSD_4_3 (这里是你所要升级的stable版本号)
*default prefix=/usr
*default base=/usr
*default release=cvs umask=002 delete use-rel-suffix
#OpenBSD-all
#OpenBSD-ports
OpenBSD-src
#OpenBSD-www
#OpenBSD-xenocara
#OpenBSD-x11
#OpenBSD-xf4
升级命令 cvsup -g -L2 /etc/cvsup-stable
参考资料:

阅读(1880) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~