加入我的最愛 設為首頁 風格修改
首頁 首尾
 手機版   訂閱   地圖  簡體 
您是第 5925 個閱讀者
 
發表文章 發表投票 回覆文章
  可列印版   加為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.017275 second(s),query:16 Gzip disabled
本站由 瀛睿律師事務所 擔任常年法律顧問 | 免責聲明 | 本網站已依台灣網站內容分級規定處理 | 連絡我們 | 訪客留言