免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1143 | 回复: 0
打印 上一主题 下一主题

Solaris下jumpstart安装 [复制链接]

论坛徽章:
1
巨蟹座
日期:2014-02-11 14:21:15
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-26 14:02 |只看该作者 |倒序浏览

----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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP