다음 프로필 예제는 다른 프로필 키워드와 프로필 값을 사용하여 시스템에 Solaris 소프트웨어가 설치되는 방법을 제어하는 방법을 보여줍니다. 프로필 키워드 및 값는 프로필 키워드와 값의 설명을 포함합니다.
# profile keywords profile values # ----------------- ----------------- install_type initial_install1 system_type standalone2 partitioning default3 filesys any 512 swap # specify size of /swap cluster SUNWCprog4 package SUNWman delete5 cluster SUNWCacc |
install_type 키워드는 모든 프로필에서 필수입니다.
system_type 키워드는 시스템이 독립형 시스템으로 설치될 것을 정의합니다.
파일 시스템 슬라이스는 값 default로 설치되기 소프트웨어에 의해 결정됩니다. swap의 크기는 512MB로 설정되고 모든 디스크에서, 값 any로 설치됩니다.
개발자 Solaris 소프트웨어 그룹, SUNWCprog는 시스템에 설치됩니다.
표준 설명서 페이지는 네트워크에서 파일 시스템 서버, s_ref에서 마운트되면 설명서 페이지 패키지는 시스템에 설치되지 않습니다. 시스템 계산 유틸리티를 포함하는 패키지는 시스템에 설치되기로 선택됩니다.
# profile keywords profile values # ---------------- ------------------- install_type initial_install system_type standalone partitioning explicit1 filesys c0t0d0s0 auto / filesys c0t3d0s1 auto swap filesys any auto usr cluster SUNWCall2 |
파일 시스템 슬라이스는 filesys 키워드, 값 explicit에 의해 결정됩니다. 루트(/)의 크기는 선택된 소프트웨어, 값 auto에 기반하며 c0t0d0s0에 설치됩니다. swap의 크기는 필요한 크기로 설정되고 c0t3d0s1에 설치됩니다. usr은 선택된 소프트웨어에 기반하고 설치 프로그램이 값 any를 기준으로 usr이 설치되는 위치를 결정합니다.
전체 Solaris 소프트웨어 그룹, SUNWCall은 시스템에 설치됩니다.
# profile keywords profile values # ---------------- ------------------- install_type initial_install system_type standalone fdisk c0t0d0 0x04 delete1 fdisk c0t0d0 solaris maxfree2 cluster SUNWCall3 cluster SUNWCacc delete4 |
유형 DOSOS16(04 16진수)의 모든 fdisk 분할 영역은 c0t0d0 디스크에서 삭제됩니다.
Solaris fdisk 분할 영역은 c0t0d0 디스크의 가장 큰 인접한 사용 가능 공간에 작성됩니다.
전체 배포 Solaris 소프트웨어 그룹, SUNWCall은 시스템에 설치됩니다.
시스템 계정 유틸리티, SUNWCacc는 시스템에 설치되지 않습니다.
# profile keywords profile values # ---------------- ------------------- install_type upgrade1 root_device c0t3d0s22 backup_media remote_filesystem timber:/export/scratch3 layout_constraint c0t3d0s2 changeable 1004 layout_constraint c0t3d0s4 changeable layout_constraint c0t3d0s5 movable package SUNWbcp delete5 package SUNWxwman add6 cluster SUNWCacc add locale de7 |
프로필이 디스크 공간을 재할당하여 시스템을 업그레이드합니다. 이 예제에서 디스크 공간은 시스템의 일부 파일 시스템이 업그레이드에 충분한 공간을 갖고 있지 않았기 때문에 재할당되어야 합니다.
c0t3d0s2의 루트 파일 시스템이 업그레이드됩니다.
이름이 timber인 원격 시스템이 디스크 공간 재할당 동안 데이터를 백업하는데 사용됩니다. 백업 매체 키워드 값은 backup_media 프로필 키워드를 참조하십시오.
layout_constraint 키워드는 자동 레이아웃이 업그레이드를 위해 디스크 공간을 재할당하려할 때 다음을 수행할 수 있음을 지정합니다.
슬라이스 2 및 4를 변경합니다. 슬라이스는 다른 위치로 이동될 수 있고 크기는 변경될 수 있습니다.
슬라이스 5를 이동합니다. 슬라이스는 크기를 변경할 수 없지만 다른 위치로 이동할 수 있습니다.
이진 호환성 패키지, SUNWbcp는 업그레이드 후 시스템에 설치되지 않습니다.
코드는 X 윈도우 시스템 설명서 페이지 및 시스템 계산 유틸리티가 시스템에 이미 설치되지 않은 경우 설치되도록 합니다. 시스템에 이미 있는 모든 패키지가 자동으로 업그레이드됩니다.
독일어 지역화 패키지가 시스템에 설치됩니다.
다음 예제에서 프로필은 사용자 정의 JumpStart 프로그램이 HTTP 서버에서 Solaris Flash 아카이브를 검색함을 나타냅니다.
install_type flash_install archive_location http installserver /flasharchive/solaris9archive partitioning explicit filesys c0t1d0s0 4000 / filesys c0t1d0s1 512 swap filesys c0t1d0s7 free /export/home
다음 예제에서 프로필은 사용자 정의 JumpStart 프로그램이 NFS 서버에서 Solaris Flash 아카이브를 검색함을 나타냅니다.
install_type flash_install archive_location nfs installserver:/export/solaris/flasharchive/solaris9archive partitioning explicit filesys rootdisk.s0 6000 / filesys rootdisk.s1 512 swap filesys rootdisk.s7 free /export/home