加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 5923 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   

头像
个人文章 个人相簿 个人日记 个人地图
路人甲
级别: *
推文 x 鲜花 x
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[FreeBSD][转载] 利用CVSUP更新 Security Patch


献花 x0 回到顶端 [楼 主] | Posted:2008-06-04 08:41 |
aa 手机 会员卡 葫芦墩家族
个人文章 个人相簿 个人日记 个人地图 个人商品
特殊贡献奖 社区建设奖
头衔:            
站长
级别: 站长 该用户目前不上站
推文 x1964 鲜花 x5262
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

我用的步骤差不多..

一般我安装好 FreeBSD ,都会先安装 cvsup,再来就是更新整个系统了

动作前请先安装一些好用的工具

1. SSHSecureShellClient-3.2.9.exe 安装在 windows
2. TotalCommander

我建的 cvsupfile-6_3

复制程式
# $Id: standard-supfile,v 1.4.2.3 1996/12/27 04:09:59 jdp Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current source tree.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#       cvsup standard-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#       cvsup -g -L 2 standard-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=cvsup.FreeBSD.org
#              This specifies the server host which will supply the
#              file updates.  Please change this to one of the mirror
#              sites if possible.  (See the "README" file.)  You can
#              override this setting on the command line with cvsup's
#              "-h host" option.
#
# base=/usr
#              This specifies the root where CVSup will store information
#              about the collections you have transferred to your system.
#              A setting of "/usr" will generate this information in
#              /usr/sup.  Even if you are CVSupping a large number of
#              collections, you will be hard pressed to generate more than
#              ~1MB of data in this directory.  You can override the
#              "base" setting on the command line with cvsup's "-b base"
#              option.  This directory must exist in order to run CVSup.
#
# prefix=/usr
#              This specifies where to place the requested files.  A
#              setting of "/usr" will place all of the files requested
#              in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib").
#              The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
*default host=cvsup.tw.freebsd.org.
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6_3
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*" collections,
#

src-all

我建的 cvsupfile-ports

复制程式
# $Id: standard-supfile,v 1.4.2.3 1996/12/27 04:09:59 jdp Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current source tree.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#       cvsup standard-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#       cvsup -g -L 2 standard-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=cvsup.FreeBSD.org
#              This specifies the server host which will supply the
#              file updates.  Please change this to one of the mirror
#              sites if possible.  (See the "README" file.)  You can
#              override this setting on the command line with cvsup's
#              "-h host" option.
#
# base=/usr
#              This specifies the root where CVSup will store information
#              about the collections you have transferred to your system.
#              A setting of "/usr" will generate this information in
#              /usr/sup.  Even if you are CVSupping a large number of
#              collections, you will be hard pressed to generate more than
#              ~1MB of data in this directory.  You can override the
#              "base" setting on the command line with cvsup's "-b base"
#              option.  This directory must exist in order to run CVSup.
#
# prefix=/usr
#              This specifies where to place the requested files.  A
#              setting of "/usr" will place all of the files requested
#              in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib").
#              The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
*default host=cvsup.tw.freebsd.org.
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*" collections,
#

ports-all

复制程式
# cvsup cvsupfile-6_3
# cvsup cvsupfile-ports

参考 http://www.freebsd.org/doc/en_US.ISO88...ok/makeworld.html

复制程式
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# reboot

开机好

复制程式
# mergemaster -p
# make installworld
# mergemaster
# reboot

不过如果要改 kernel 的设定,其中一些步骤会有些不同


献花 x0 回到顶端 [1 楼] From:台湾新世纪资通股份有限公司 | Posted:2008-06-12 10:07 |
mnbmnb5266
个人文章 个人相簿 个人日记 个人地图
小有名气
级别: 小有名气 该用户目前不上站
推文 x5 鲜花 x46
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

两位大大真是让我受益良多啊,什么时候我也能明白这么多的电脑知识啊,继续学习吧


我的收藏
https://pan.baidu.com/s/1QUJ9lr_VzxXKRJAlBJgUQA
提取码:am2c
献花 x0 回到顶端 [2 楼] From:加拿大Rogers | Posted:2010-08-19 21:19 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.032282 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言