소리로 보는 세상

Organist, System Administrator, Security Administrator, Network Administrator

FreeBSD Upgrade

without comments

# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz

Downloading and verifying the digital signature for the tarball (signed by the FreeBSD Security Officer’s PGP key) is highly recommended.

# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc

# gpg –verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz

The new freebsd-update(8) can then be extracted and run as follows:

# tar -xf freebsd-update-upgrade.tgz

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
(최신 버전이 7.0-Release이기 때문에 상기의 옵션을 사용함)

# sh freebsd-update.sh -f freebsd-update.conf install

The system must be rebooted with the newly installed kernel before continuing.
시스템이 새로운 커널을 설치하기 위해 재부팅이 필요함.

# shutdown -r now

Next, freebsd-update.sh needs to be run again to install the new userland components, after which all ports should be recompiled to link to new libraries:
사용자 컴포넌트 설치를 위해 freebsd-update.sh의 재실행이 필요함. 이후 모든 포트가 재컴파일 됨.

# sh freebsd-update.sh -f freebsd-update.conf install

# portupgrade -faP

Finally, freebsd-update.sh needs to be run one last time to remove old system libraries, after which the system should be rebooted in order that the updated userland and ports will be running:
최종적으로 freebsd-update.sh를 마지막 실행하여 예전 시스템 라이브러리를 삭제하고, 이후에 재부팅하면 업데이트된 사용자환경과 포트가 실행됨.

# sh freebsd-update.sh -f freebsd-update.conf install

# shutdown -r now

For more information, see:

http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

Share and Enjoy:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Written by 천의

7월 14th, 2008 at 11:14 오후

Posted in IT

Tagged with

Leave a Reply