3、键入以下命令利用网络安装操作系统:
ok boot net - install
附录1:例子文件及相关解释:
sysidcfg 文件内容
name_service=NONE#指定名服务为NONE
network_interface=primary {netmask=255.255.252.0 protocol_ipv6=no}#设置网络相关参数
security_policy=NONE#设置安全策略为NONE
terminal=dtterm#设置终端类型为dtterm
timezone=PRC#设置时区信息为PRC
system_locale=zh#设置本地信息为zh(中文)
timeserver=localhost#设置时钟信息为localhost(本机)
rules 文件内容
# rule keyWords and rule valuess begin script profile finish script
# ----------------------------- ------------ -------- -------------
disksize c0t0d0 15000-20000- test_prof_18G-
disksize c0t0d0 30000-40000- test_prof_36G-
第一行设置磁盘大小在15G-20G(18G硬盘)的用 test_prof_18G 配置文件
第一行设置磁盘大小在30G-40G(36G硬盘)的用 test_prof_36G 配置文件
test_prof_18G 文件内容
install_type initial_install#指定安装类型为 initial
usedisk c0t0d0#指定系统选择的硬盘为 c0t0d0
boot_device c0t0d0s0 update#设置root文件系统及引导设备位置,并更新EEPROM 中的参数 。
root_device c0t0d0s0#设置root文件系统位置为 c0t0d0s0
cluster SUNWCXall#设置系统软件安装类别为Entire Distribution Plus OEM Support
system_type standalone#设置系统类型为 standalone
partitioning explicit#指定硬盘分区方式(explicit 表示使用filesys 定义的结构)
filesys c0t0d0s0 2000 / -
filesys c0t0d0s1 1500 /var - |
filesys c0t0d0s3 2500 swap |
filesys c0t0d0s5 3000 /opt - }-> 具体每一个分区的信息(大小为兆字节)
filesys c0t0d0s6 2000 /usr - |
filesys c0t0d0s4 15 unnamed |
filesys c0t0d0s7 free /export/home -/
geo Asia#指定地理区域
locale zh#指定本地化语言包
isa_bits 64#计算位长(64 或32)
配置注意事项:
1、install_type 必须写在第1行
2、标记为容量为“free”的分区如“filesys c0t0d0s7 free /export/home -”
必须写在所有“filesys”定义的最后一个
test_prof_36G 文件内容
相应的解释与test_prof_18G 文件相同
区别只在“filesys”的分区大小定义不同
install_type initial_install
usedisk c0t0d0
boot_device c0t0d0s0 update
root_device c0t0d0s0
cluster SUNWCXall
system_type standalone
partitioning explicit
filesys c0t0d0s0 3000 / -
filesys c0t0d0s1 3000 /var -
filesys c0t0d0s3 3000 swap
filesys c0t0d0s5 5000 /opt -
filesys c0t0d0s6 3000 /usr -
filesys c0t0d0s4 15 unnamed
filesys c0t0d0s7 free /export/home -
geo Asia
locale zh
isa_bits 64
如果有其他特殊需求请参照:“Solaris 8 Advanced Installation Guide”
(Part Number:806–0957–10)
附例:JumpStart Install Server 安装过程:
附录1:实例安装记录
此例中:
JumpStart Install_Server的信息如下:
Hostame: jumptest
IP: 10.11.147.60
2个Install Client信息如下
Client1:
Hostame: test-1
IP: 10.11.147.38
Ethernet: 8:0:20:ce:ec:d6
c0t0d0: 18G
Client2:
Hostame: test-2
IP: 10.11.147.39
Ethernet: 8:0:20:ce:ec:ae
c0t0d0: 18G
root@jumptest # cd /cdrom/sol_8_sparc/s0/Solaris_8/Tools
root@jumptest # ./setup_install_server /export/home/install
Verifying target Directory...
Calculating the required disk space for the Solaris_8 product
Copying the CD image to disk...
Install Server setup complete
root@jumptest # cd /
root@jumptest # eject
root@jumptest # cd /cdrom/sol_8_sparc_2/Solaris_8/Tools
root@jumptest # ./add_to_install_server /export/home/install
The following Products will be copied to /export/home/install/Solaris_8/Product:
Solaris_2_of_2
If only a subset of products is needed enter Control-C
and invoke ./add_to_install_server with the -s option.
推荐阅读
- 小米5X怎么装卡/插卡?小米5X手机SIM卡安装教程
- 华为p30中安装软件的操作教程
- Solaris 8.0 +Oracle 9.2.0 +VRTSvcs 双机安装文档
- 安装Solaris 9 OS 的 x86用户的切身体验
- solaris raid 制作大集合
- 如何重新安装Windows 10系统 怎么给win10重装系统
- 洗脸盆水龙头应该怎么安装
- 用DVD制作9的网络安装服务器以及遇到问题的解决
- solaris系统panics故障实例与解决
- 魅族pro7怎么装卡/插卡?魅族pro7手机SIM卡安装教程
