Update The FreeBSD From Previous Releases Usi…

2009-05-13 15:27:05来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Q.How do I
[url=javascript:;]update[/url]
my system using
[url=javascript:;]cvsup[/url]
mirror? How do I upgrade from previous releases using
[url=javascript:;]FreeBSD[/url]
6.x or 7.x? How do I upgrade everything including
[url=javascript:;]kernel[/url]
, userland utilities, and installed applications?
)r$f0?a}9b%A"|4f
V!h2r$f3p\A.FreeBSD can be upgrades from a local / remote cvsup mirror. csup is a software package for updating collections of files across a network. It is a general-purpose network file updating package. It is extremely fast, even for collections of files.BSD爱好者乐园*M^ ^vh0J2v#u
Upgrading FreeBSD
TC \A z4@You need to upgrade FreeBSD using two steps as follows:BSD爱好者乐园 \\g.}'Z:[?
  • First, upgrade the base system
  • Update all installed application programs or
    [url=javascript:;]ports[/url]
    .BSD爱好者乐园 ^9b:e,_d[[!T-eH
    Naturally, the base system must be upgraded before the applications.BSD爱好者乐园,vYF"R%B*h-W n

    WARNING!These examples only works with FreeBSD 6.2 or above version only.Make a backupof your system / data / config files before you use following commands. The system will be offline for about 10-30 minutes due to reboot and single user mode upgrade operations, so update systemduring off-peak hours.
    Step # 1: Upgrading the FreeBSD base systemBSD爱好者乐园m&t6] p{ Wz
    First, copy csup configuration file to /etc or /root directory:
    t!www9z8Wu(E n# cp /usr/share/examples/cvsup/standard-supfile /root/supfileBSD爱好者乐园`q5s*y#zXS
    Open /root/supfile using vi text editor, enter:BSD爱好者乐园 W*JbJK{2^
    # vi /root supfileBSD爱好者乐园Wl1I r.H3f
    You need to make one change. Find the line that read as follows:BSD爱好者乐园gY/zcA I#P
    host=CHANGE_THIS.FreeBSD.org
    Gg d.OGx3T9g!xChange to:
    \,y(H-K~ d:dhost=cvsup4.us.FreeBSD.org
    Rq Y6c B2~:|Chost directive specifies the server host which will supply the file updates. You must change it to one of the CVSup mirror sites listed in
    the FreeBSD Handbook
    . Another option is to override this setting on the command line with cvsup's "-h host" option. Save and close the file. Now update source tree, enter:

    标签:

    版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
    特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

  • 上一篇:FreeBSD: /libexec/ld-elf.so.1: Shared object "libc

    下一篇:以-开头的文件如何mv