solaris 10 net install
由于测试期间对OS安装次数要求比较高,把刚搞到的CD装坏了一张,想想,干脆做一个网络安装环境算了,去SUN网站上找了个文档“Solaris 10 Installation Guide:Network-Based Installations”,人家写的还真挺全的,看着自己的环境,就照猫画虎吧!1,建安装目录
mkdir /opt/sol10
2.先把第一张CD 放入光驱
bash-2.05# cd /cdrom/cdrom0/s0/Solaris_10/Tools/
bash-2.05# ls
Boot dial rm_install_client
add_install_client miniroot_extra setup_install_server
bash-2.05# ./setup_install_server /opt/sol10/
其它CD则使用add_install_client/opt/sol10命令
比较特别的是LANG CD,路径与其它CD不一样
LANG CD
/cdrom/cdrom0/Tools
3,配置NFS SERVER
NFS server
# share-F nfs-o rw=engineering-d "home dirs"/export/home2
share -F nfs -o ro,anon=0-d "install server directory " /opt/sol10
/etc/dfs/dfstab" 12 lines, 461 characters
建立BOOT SERVER
. Mount the Solaris 10 Software - 1 CDimage from the install server.
# mount -F nfs -o ro itsm006:/opt/sol10 /mnt
server_name:path Is the install server name and absolute path to the disc image
. Create a directory for the boot image.
# mkdir -p boot_dir_path
boot_dir_path Specifies the directory where the boot software is to be copied
. Change to the Tools directory on the Solaris 10 Software - 1 CDimage.
# cd /mnt/Solaris_10/Tools
. Copy the boot software to the boot server.
# ./setup_install_server -b boot_dir_path
-b Specifies to set up the system as a boot server
boot_dir_path Specifies the directory where the boot software is to be copied
./add_install_client -e 0:3:ba:17:fb:f9 itsm001 sun4u
其中加入安装客户端的MAC地址,主机名和平台。
bash-2.05#more /etc/bootparams
itsm001root=itsm006:/opt/sol10/Solaris_10/Tools/Boot install=itsm006:/opt/sol10 boottype=:in roo
topts=:rsize=8192
bash-2.05# more /etc/ethers
0:3:ba:17:fb:f9 itsm001
0:3:ba:29:a7:2b itsm006
bash-2.05#
安装:
OK>boot net
稍等一会儿,即可以出现启动安装介面,其它的与用CD安装区别不大
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18055/showart_1101381.html
页:
[1]