Chinaunix首页 | 论坛 | 博客
  • 博客访问: 283376
  • 博文数量: 121
  • 博客积分: 3050
  • 博客等级: 中校
  • 技术积分: 1262
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-25 12:18
文章分类

全部博文(121)

文章存档

2016年(3)

2011年(17)

2010年(34)

2009年(16)

2008年(40)

2007年(2)

2006年(9)

我的朋友

分类:

2008-08-02 12:22:36

由于测试期间对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
itsm001  root=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安装区别不大
阅读(1233) | 评论(1) | 转发(0) |
0

上一篇:solaris 10 qfe 网卡使用

下一篇:SHH 认证配置

给主人留下些什么吧!~~

chinaunix网友2008-09-18 02:47:23

如果用pxe方式的话,是不是这样就可以不用dhcp服务器了呢?