电脑技术学习

使用JumpStart快速安装Solaris

dn001
 # du -sk /export/install
 3083278 /export/install

  d. Remove the DVD from the DVD player.

 # cd /;eject

  Create the ClIEnt Configuration Files

  The client configuration files are used to control a custom JumpStart installation.

  a. Create a configuration Directory where the files will reside:

 # mkdir /export/config

  b. Create the sysidcfg file:

  The first file to create is the sysidcfg file. This file must be properly formatted with correct information or the file is ignored and the hands-off JumpStart installation is aborted. The installation then defaults to the standard Solaris interactive installation.

  A JumpStart client looks for a file named sysidcfg before the OS installation begins. This file must be named "sysidcfg", so in order to have multiple versions of the file, each sysidcfg file must reside in a separate directory. Each client can have its own sysidcfg file, or multiple clients can use the same sysidcfg file. The sysidcfg file is assigned to a client by the add_install_client command. The following shows the creation of two sysidcfg files:

 # cd /export/config
 # mkdir sysidcfg1
 # cd sysidcfg1
 # vi sysidcfg
 system_locale=en_US.ISO8859-1
 timezone=US/Pacific
 timeserver=localhost
 terminal=vt100
 name_service=NONE
 security_policy=NONE
 root_passWord=<encrypted from /etc/shadow>
 network_interface=bge0 {hostname=client1
             netmask=255.255.255.0
             protocol_ipv6=no
             default_route=172.16.64.1}
 :wq
 # cd ../
 # mkdir sysidcfg2
 # cd sysidcfg2
 # vi sysidcfg
 system_locale=en_US.ISO8859-1
 timezone=US/Pacific
 timeserver=localhost
 terminal=vt100
 name_service=NONE
 security_policy=NONE
 root_password=<encrypted from /etc/shadow>
 network_interface=bge0 {hostname=client2
             netmask=255.255.255.0
             protocol_ipv6=no
             default_route=172.16.64.1}
 :wq

  c. Create the rules file:

标签: