- 论坛徽章:
- 1
|
----Installation services---------------------------------------------------------------------------
#mkdir /install
插入光盘soft1
#cd /cdrom/cdrom0/s0/solaris_9/tools
#./setup_install_server /install
#cd /
#eject
插入光盘soft2
#cd /cdrom/cdrom0/solaris_9/tools
#./add_to_install_server /install
#cd /
#eject
----------------------------------------------------------------------------------------------------
#cp /etc/nsswitch.file /etc/nsswitch.conf
#vi /etc/hosts
unix0 192.168.0.30
#vi /etc/ethers
mac地址 unix0
#vi /etc/dfs/dfstab
share -o ro,anon=0 /install
share -o ro /config
#/etc/init.d/nfs.server stop
#/etc/init.d/nfs.server start
#unshareall
#shareall
#share
- ro /config "" *配置文件所在目录
- ro,anon=0 /install "" *安装文件所在目录
#cd /config
#vi sysidcfg
system_local=en_US
timeserver=localhost
name_service=NONE
security_policy=NONE
network_interface=primary{protocol_ipv6=no netmask=255.255.255.0 \
default_route=192.168.0.1}
root_password=eA8g11uxwlb2k *密钥chrdw101
#cd /install/solaris_9/Misc/jun...samle/
#cp -r * /config
#cd /config
#vi rules
主机名 之前 生效配置 安装后
hostname unix0 - unix0-config after-unix0
#vi unix0-config
install_type initial_install
system_type standalone
partitioning explicit
cluster SUNWCall
filesys c0t0d0s0 3500 /
filesys c0t0d0s1 512 swap
. . . .
#vi after-unix0
touch /etc/a/noautoshutdown */etc/a为光盘目录,挂载c0t0d0s0
#./check *此操作产生rules.ok文件
#cd /install/solaris_9/Misc/Jumpstart
#./add_install_client -s unix3:/install -c unix3:/config -p unix3:/config unix0 sun4u
注:
-s 为安装服务(installation services) 在这里对应安装包路径
-c 为配置和身份验证服务(configuration services) 在这里对应sysidcfg文件所在目录
-p 为确认服务(identification services) 在这里对应rules.ok及相关文件所在目录
unix0 sun4u 分别为客户端主机名与主机板类型,在应用中通常要执行多次
-----------------------------------------------------------------------------------------------------------------
老师总结:
-------------unix6为server-----------unix3为client--------------------------
1 /config/sysidcfg
2 /config/rules(prlfile1,finish)
3 check ------> rules.OK
4 CD1: setup_install_server /install
5 CD2: add_to_install_server /install
6 /etc/hosts 192.168.0.33 unix3
7 /etc/dfs/dftab
share -F nfs -o ro,anon=0 /install
share -F nfs -o ro /config
8 /etc/init.d/nfs.server stop -------->start
9 unshareall--------->shareall
10 /install/solaris_9/Misc/Jumpstart/add_install_client -s unix6:/install -c unix6:/config \
-p unix6:/config unix3 sun4u
-----------------------------------------------------------------------------------------------------------------
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3435/showart_105072.html |
|