BLOG main image
All (22)
Operating System (17)
Networking (1)
Security (2)
Photo (0)
ETC (2)
«   2008/08   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
63406 Visitors up to today!
Today 42 hit, Yesterday 47 hit
'2008/08/23'에 해당되는 글 1건
*1
[ruo91, 2008/08/23 17:31, Operating System/FreeBSD]

일단 포트가 설치 되어 있는지 확인한다.

/usr/ports 디렉토리가 존재하지 않는다면.. ports를 설치하지 않은 것이다..
ruo91# /stand/sysinstall 해서
configure -> distributions -> ports 로 이동해 설치를 하면 된다.
ports 업그레이드를 위해서는 cvsup이라는 프로그램이 있어야 한다.
ruo91# cd /usr/ports/net/cvsup-without-gui/
ruo91#
make install clean
**cvsup-without-gui는 gui기능이 빠진 cvsup입니다..
설치후..
ruo91# cd /usr/share/examples/cvsup/
ruo91# ls -al
total 36
-rw-r--r--  1 root  wheel  1231 Oct 28 00:25 README
-rw-r--r--  1 root  wheel  4993 Oct 28 00:25 cvs-supfile
-rw-r--r--  1 root  wheel  2441 Oct 28 00:25 doc-supfile
-rw-r--r--  1 root  wheel  2301 Oct 28 00:25 gnats-supfile
-rw-r--r--  1 root  wheel  3705 Oct 28 00:25 ports-supfile
-rw-r--r--  1 root  wheel   329 Oct 28 00:25 refuse
-rw-r--r--  1 root  wheel  1858 Oct 28 00:25 refuse.README
-rw-r--r--  1 root  wheel  3845 Oct 28 00:25 stable-supfile
-rw-r--r--  1 root  wheel  3037 Oct 28 00:25 standard-supfile
-rw-r--r--  1 root  wheel  2376 Oct 28 00:25 www-supfile

ruo91# mkdir /etc/cvsup
ruo91# cp /usr/share/examples/cvsup/stable-supfile /etc/cvsup/
ruo91#
cp /usr/share/examples/cvsup/ports-supfile /etc/cvsup/

설정화일이 있는 디렉토리에서 stable-supfile 과 ports-supfile을 사용상의 편의를 위해 다른곳으로 복사하는겁니다.

ruo91# vi /etc/cvsup/stable-supfile
*default host=cvsup.kr.FreeBSD.org #1
*default release=cvs tag=RELENG_7 <== 7-stable 버전 #2
ruo91# vi /etc/cvsup/ports-supfile
*default host=cvsup.kr.FreeBSD.org #1
*default release=cvs tag=. <== current 버전
#2

#1
은 cvsup 서버를 골라 적어줄 부분입니다. 우리나라에는 아래 서버에서 미러 합니다.
맘에 드는곳을 골라서 CHANGE_THIS 부분을 변경해 주시면 됩니다.
CVSup 미러
cvsup.kr.FreeBSD.org: KT IDC 100Mb Dedicated, 주기 1H, KFUG
cvsup2.kr.FreeBSD.org: KT IDC 100M Dedicated, 주기 1H, Holynet
cvsup3.kr.FreeBSD.org: KT IDC 100M Dedicated, 주기 1H, SarangNet
cvsup4.kr.FreeBSD.org: GNG IDC 100M Dedicated, 주기 1H

#2 는 원하는 FreeBSD 버젼을 적어줄 부분입니다. tag는 아래 사이트를 참고하시고,
tag= 다음에 원하는 버젼을 적어주시면 됩니다.

http://www.freebsd.org/doc/en_us.iso885 ··· ags.html

예) FreeBSD 5.2로 업그레이드는 - RELENG_5_2
FreeBSD 4-stable로 업그레이드는 - RELENG_4
FreeBSD Current로 업그레이드는 - .

cvsup을 실행하여 system 소스코드와 ports 소스코드를 최신의 소스로 업그레이드 하려면..

ruo91# /usr/local/bin/cvsup -L 2 /etc/cvsup/stable-supfile
ruo91# /usr/local/bin/cvsup -L 2 /etc/cvsup/ports-supfile

참고로 release와 stable, current의 차이점은..

release
는 테스트후 안정성이 보장이 되었다 생각되어 더 이상 소스코드를 업데이트 못하도록 CVS 소스 트리를 동결하고 하나의 새로운 버전을 내놓는 단계이다.
보통 CD나 ftp로 배포되는 것들이 모두 이 release에 속한다.

stable
은 버그나 보안적인 문제로 인해 수정이 되거나 새로운 기능이 추가된 안정적으로 개발되는 버전이다.(기본 골격을 유지하면서 안정성을 확보하는 버전)

current
는 새로운 방식을 시도하고, 연구하는 버전이다.(기본 골격에서 탈피하려고 하며, 안정성 보장이 어렵다.)

크리에이티브 커먼즈 라이센스
Creative Commons License
2008/08/23 17:31 2008/08/23 17:31
*1