10、查看镜像百分比
# metastat | grep %
11、修改/etc/vfstab文件中关于其他分区的项目 # vi /etc/vfstab 在文件的末尾加上:
set md:mirrored_root_flag=1
(注意:此处,在添加的字符中不要有空格,以免硬盘故障后系统不能自启。)
11、查看当前Solaris 10的版本,如果是118822-25,则需要安装补丁包。
12、给Solaris 10安装补丁包
1) 首先修改Sun Fire V240上的文件/etc/ftpd/ftpusers,删除root 2) 将补丁包压缩文件118822-30.zip、119578-15.zip、120254-03.zip考到Sun Fire
V240的/var/tmp中
3) 解压缩118822-30.zip、119578-15.zip、120254-03.zip # cd /var/tmp
# unzip 118822-30.zip # unzip 119578-15.zip # unzip 120254-03.zip 4) 安装补丁包
# cd /var/tmp
# patchadd 118822-30 # patchadd 119578-15 # patchadd 120254-03 5) 完成安装补丁包
13、在OBP模式下修改启动设备 # init 0
重启,进入OBP模式 ok devalias
查看当前设备的别名。
ok setenv boot-device disk disk1
(注:disk disk1是对应的系统识别的两块物理硬盘的别名。) ok reset-all
14、磁盘镜像、启动设置完成
15、试验磁盘镜像是否成功 关闭电源,拔掉HD0,重新启动机器,如果磁盘镜像无误,则应能启动直接进入Solaris 10系统。
16、恢复
重新将HD0插上,启动机器,进入Solaris 10系统,重新同步分区
# metareplace –e d0 c1t0d0s0 # metareplace –e d1 c1t0d0s1 # metareplace –e d5 c1t0d0s5 # metareplace –e d6 c1t0d0s6 # metareplace –e d7 c1t0d0s7 (注意:“t0”对应试验时的“HD0”)
17、完成
三、Solaris 10下NC2000的安装
1、将NC2000的安装文件考到根目录下 # cp /cdrom/cdrom0/nc_insta.sh / 2、执行安装
# ./nc_insta.sh
copying the NC2000 Install File, Please wait ...... //NARI_Install
--------------------------------------------------------- Step 1: Update operation System Patches --------------------------------------------------------- Please Select 1 [Continue] this step or 2 [Skip] it 1) Continue 2) Skip #? 1
The Step 1 Is Done.
---------------------------------------------------------
Step 2: Update the Java(TM) 2 Runtime Environment --------------------------------------------------------- Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 1
Solaris 5.10 sparc don't need update this JAVA Version - java 1.5.0_06 --------------------------------------------------------- Step 3: Add narigrp group,nari user
--------------------------------------------------------- Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 1
Please Input The NARI Home Directory
[Example:/export/home/nari] :/export/home/nari
NARI User Will Be Created In Directory /export/home/nari. Please Confirm What You Typed_In [ yes/no ]:y add NARI group ...... narigrp ......
add NARI user ...... nari ......
Please Input a Password for User NARI 新口令:xxxx
请重新输入新口令:xxxx
passwd:nari 的口令已成功更改
The Step 3 Is Done.
--------------------------------------------------------- Step 4: History Database Installation
--------------------------------------------------------- Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 2
--------------------------------------------------------- Step 5: Dispose nc2000 system
--------------------------------------------------------- Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 1
prepare the NC2000 package , this will take a few minutes ......
unzipping the NC2000 files into /export/home/nari, please wait ...... Please Select The Datebase Type [Oracle/Mysql] : 1) Oracle 2) Mysql #? 1
Now Config Muli-Screen Monitor
Please Select [Continue] continue this step or [Skip] skip it 1) Continue 2) Skip #? 1
Please Input The Screen Number: 1) Single 2) Double 3) Triple #? 1
Single screen will be configured in the computer.
Please Input Monitor Device Filename [/dev/fb?]/dev/fb Monitor Device is /dev/fb
Please Confirm What You Typed_In [ yes/no ]:y The Step 5 Is Done.
--------------------------------------------------------- Step 6: Config system parameter
---------------------------------------------------------
Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 1
Adjusting the hosts file ...... Adjusting the power file ...... Adjusting system parameter...... The Step 6 is done.
--------------------------------------------------------- Step 7: Config nari autologin
--------------------------------------------------------- Please Select 1 [Continue] This Step Or 2 [Skip] It 1) Continue 2) Skip #? 1
builting nari autostart environment...... The Step 7 is done.
Clear temporary install directory ...
--------------------------------------------------
NC2000 Ver2.0 Is Installed Thanks very much for your using this software Please reboot to start it NariAcc 2006年09月13日 星期三 16时53分22秒 CST -------------------------------------------------- 3、安装完毕 # reboot
四、SUN Studio 11开发系统安装
注意:如果已安装了NC2000,则需要在安装之前进行以下更改(记住原来的连接路径,STUDIO安装完后需改回,因此建议先安装STUDIO,再安装NC2000): # cd /usr/bin # rm java
# ln -s ../java/jre/bin/java java
1、在root用户下,将SUN studio 11光盘放入光驱,系统自动mount光盘 2、# cp /cdrom/cdrom0/studio11.bz2 /software 3、# bunzip2 /software/studio11.bz2 4、# tar xvf /software/studio11 5、执行安装
# cd /software/CD1 # ./installer
6、Sun Studio 11安装向导
(1)“欢迎”,点击“下一步” (2)“正在初始化...” (3)“软件许可协议”,选择“Accept”,点击“下一步” (4)“语言环境选择”,选择“英文[en]”和“中文[zh]”,点击“下一步” (5)“选择组件”,选择“缺省安装”,点击“下一步” (6)“选择安装目录” /opt (7)“准备安装”,点击“下一步” (8)“正在安装...” (9)“安装总汇”,点击“下一步” (10)“注册”,点击“下一步” (11)“安装完成之后”,点击“退出” 7、安装完毕