탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
![]() |
Oracle Solaris 10 1/13 설치 설명서: 네트워크 기반 설치 Oracle Solaris 10 1/13 Information Library (한국어) |
다음 예에서는 미니루트 이미지를 패치하여 수정된 미니루트를 만드는 단계에 대해 설명합니다.
이 예에서는 현재 릴리스를 실행 중인 시스템에서 미니루트의 압축 풀기 및 압축을 수행합니다.
이 절차에서는 Oracle Solaris 10 OS를 실행 중인 시스템에 Oracle Solaris 10 1/13 미니루트 이미지의 KU(커널 업데이트) 패치를 설치하는 방법을 보여줍니다. 다음 세부 정보를 기록합니다.
jmp-start1 – Solaris 9 OS를 실행 중인 네트워크 설치 서버
v20z-1 – GRUB가 구현된 Oracle Solaris 10 OS를 실행 중인 시스템
v20z-1:/export/mr – 압축을 푼 미니루트 위치
v20z-1:/export/u1 – 만들어져 수정할 수 있는 설치 이미지
네트워크 설치 이미지는 /net/jmpstart1/export/images/solaris_10_u1/Solaris_10/Tools 에 있습니다.
주 - 역할에는 권한 부여 및 권한이 있는 명령이 포함됩니다. 역할에 대한 자세한 내용은 System Administration Guide: Security Services의 Configuring RBAC (Task Map)를 참조하십시오.
# cd /net/server-1/export
# mkdir /export/u1 /export/mr
# cd /net/jmp-start1/export/images/solaris_10/Solaris_10/Tools
# ./setup_install_server /export/u1 Verifying target directory... Calculating the required disk space for the Solaris_10 product Calculating space required for the installation boot image Copying the CD image to disk... Copying Install Boot Image hierarchy... Copying /boot netboot hierarchy... Install Server setup complete
이제 설치 서버 설정이 완료되었습니다.
# /boot/solaris/bin/root_archive unpackmedia /export/u1 /export/mr
# cd /export/mr/sbin
# cp rc2 rc2.orig # cp sulogin sulogin.orig
patchadd -C /export/mr /export patch-ID
patch-ID는 적용할 패치 ID를 지정합니다.
다음 예에서는 미니루트에 5개의 패치가 적용됩니다.
# patchadd -C /export/mr /export/118344-14 # patchadd -C /export/mr /export/122035-05 # patchadd -C /export/mr /export/119043-10 # patchadd -C /export/mr /export/123840-04 # patchadd -C /export/mr /export/118855-36
# export SVCCFG_REPOSITORY=/export/mr/etc/svc/repository.db
![]() | 주의 - SVCCFG_REPOSITORY 변수는 압축을 푼 미니루트의 repository.db 파일 위치를 가리켜야 합니다. 이 예에서 그 위치는 /export/mr/etc/svc 디렉토리입니다. repository.db 파일은 압축을 푼 미니루트 아래의 /etc/svc 디렉토리에 있습니다. 이 변수를 내보내지 못하면 라이브 저장소가 수정되어 라이브 시스템을 부트할 수 없습니다. |
# svccfg -s system/manifest-import setprop start/exec = :true # svccfg -s system/filesystem/usr setprop start/exec = :true # svccfg -s system/identity:node setprop start/exec = :true # svccfg -s system/device/local setprop start/exec = :true # svccfg -s network/loopback:default setprop start/exec = :true # svccfg -s network/physical:default setprop start/exec = :true # svccfg -s milestone/multi-user setprop start/exec = :true
자세한 내용은 svccfg(1M) 매뉴얼 페이지를 참조하십시오.
# cd /export/mr/sbin # mv rc2.orig rc2 # mv sulogin.orig sulogin
# /boot/solaris/bin/root_archive packmedia /export/u1 /export/mr
다음 단계에서는 기본적으로 /export/u1/boot/miniroot 디렉토리를 기타 필수 파일과 함께 교체합니다.