고정 IP 주소를 설정하는 방법에 대한 자세한 내용은 Oracle Solaris 11.2 네트워크 구성 요소의 구성 및 관리 의 IPv4 인터페이스를 구성하는 방법 및 ipadm(1M) 매뉴얼 페이지의 지침을 참조하십시오.
# pkg publisher PUBLISHER TYPE STATUS URI solaris origin online http://pkg.oracle.com/solaris11/release/ # pkg install pkg:/system/boot/network Packages to install: 1 Variants/Facets to change: 3 Create boot environment: No Create backup boot environment: No Services to change: 1 DOWNLOAD PKGS FILES XFER (MB) Completed 1/1 13/13 0.0/0.0 PHASE ACTIONS Install Phase 34/34 PHASE ITEMS Package State Update Phase 1/1 Image State Update Phase 2/2 PHASE ITEMS Reading Existing Index 8/8 Indexing Packages 1/1
이 이미지는 설치 이미지 및 JumpStart 도구의 소스입니다. JumpStart를 사용하면 Oracle Solaris 10 OS만 설치할 수 있고 Oracle Solaris 11 OS는 설치할 수 없습니다.
다음 예에서는 SPARC에 Oracle Solaris 10 1/13 DVD 이미지를 사용합니다.
# /media/SOL_10_0113_SPARC/Solaris_10/Tools/setup_install_server /export/s10u11_sparc 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
# cd /media/SOL_10_0113_SPARC/Solaris_10/Misc/jumpstart_sample # mkdir -p /export/profiles/s10profile # cp -pr * /export/profiles/s10profile
이때 /export/profile/s10profile/check 스크립트의 첫번째 행을 다음 행으로 대체하십시오.
#!/usr/sunos/bin/sh
다음 예에서는 간략하게 보이기 위해 출력의 여러 라인을 생략했습니다. –p 옵션은 일부 Oracle Solaris 10 업데이트 릴리스에서만 작동합니다. Oracle Solaris 10 업데이트 7 이상을 사용 중인지 확인합니다.
# cd /export/profile/s10profile # ./check -p /export/s10u11_sparc 45 blocks Validating rules... Validating profile host_class... Validating profile zfsrootsimple... Validating profile net924_sun4c... Validating profile upgrade... Validating profile x86-class... Validating profile any_machine... The custom JumpStart configuration is ok.
udp6 서비스는 tftp 패키지로 제공됩니다. tftp 패키지가 설치되었는지 확인합니다.
# pkg list tftp
tftp 패키지가 설치되지 않은 경우 다음 명령을 사용하여 설치합니다.
# pkg install pkg:/service/network/tftp
tftp 패키지를 설치한 후 udp6 서비스가 사용 가능하며 온라인 상태인지 확인합니다.
# svcs udp6 STATE STIME FMRI disabled 8:36:55 svc:/network/tftp/udp6:default # svcadm enable network/tftp/udp6 # svcs udp6 STATE STIME FMRI online 8:38:28 svc:/network/tftp/udp6:default
/etc/netboot 디렉토리가 없으면 만듭니다.
JumpStart는 네트워크 부트 시 /tftpboot를 사용합니다. AI는 네트워크 부트 시 /etc/netboot를 사용합니다. 이 Oracle Solaris 11 서버가 JumpStart 설치 서버와 AI 설치 서버 둘 다로 사용될 수 있는 경우 /tftpboot가 /etc/netboot에 대한 심볼릭 링크여야만 두 도구를 함께 사용할 수 있습니다.
# ls /etc/netboot /etc/netboot: No such file or directory # mkdir -m 755 /etc/netboot # ln -s /etc/netboot /tftpboot # ls -l /tftpboot lrwxrwxrwx 1 root root 12 Sep 14 8:46:51 /tftpboot -> /etc/netboot
클라이언트에 대한 정규화된 호스트 이름을 사용해야 합니다. 이 예에서 클라이언트 호스트 이름은 line2-x4100.example.com입니다.
/export/s10u11_sparc/Solaris_10/Tools/add_install_client -e 8:0:20:fd:f2:18 \ -c line2-x4100.example.com:/export/profiles/s10profile \ -p line2-x4100.example.com:/export/profiles/s10profile line2-t1 sun4u /export/home is already shared. However, the zfs file system /export/home must be shared read-only with root access. Use the "zfs set" command to set the sharenfs property for file system /export/home as follows:Use ro and either anon=0 or root=line2-x4100.example.com for /export/home. This must be fixed and /export/home shared before line2-x4100.exampl.com can boot. . .
zfs 명령에 대한 변경 사항 때문에 다음 명령을 사용하여 /export/home 파일 시스템이 공유된 방법을 확인하고, 필요한 경우 공유 옵션을 수정한 다음 파일 시스템이 공유된 방법을 검사하여 변경 사항을 확인합니다. 이 예에서는 anon=0이 설정되지 않았습니다.
# share home /export/home nfs sec=sys,ro share -F nfs -o ro,sec=sys,anon=0 /export/home # share home /export/home nfs anon=0,sec=sys,ro