SOLARIS10系统配置文件

上传人:s9****2 文档编号:574244236 上传时间:2024-08-16 格式:PDF 页数:10 大小:333.83KB
返回 下载 相关 举报
SOLARIS10系统配置文件_第1页
第1页 / 共10页
SOLARIS10系统配置文件_第2页
第2页 / 共10页
SOLARIS10系统配置文件_第3页
第3页 / 共10页
SOLARIS10系统配置文件_第4页
第4页 / 共10页
SOLARIS10系统配置文件_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《SOLARIS10系统配置文件》由会员分享,可在线阅读,更多相关《SOLARIS10系统配置文件(10页珍藏版)》请在金锄头文库上搜索。

1、 1 梯调系统配置文件 一、Solaris 10 安装说明 将 Solaris 10 操作系统安装光盘(DVD 版)放入光驱,在 OK 提示符下(# halt , 或按 stop+A 出现) ,键入 boot cdrom。 1、在“Select a Language”窗口下,选择 6:Simplified Chinese 2、在“欢迎”窗口下,点击“下一步” 3、在“网络连接”窗口下,选择“联网的” ,点击“下一步” 4、在“配置多个网络接口”窗口下,选择 ce0、ce1,点击“下一步” 5、在“主网络接口” 窗口下,选择 ce0,点击“下一步” 6、在“ce0 的 DHCP” 窗口下,选择“

2、否” ,点击“下一步” 7、在“ce0 的主机名” 窗口下,输入主机名,点击“下一步” 8、在“ce0 的 IP 地址” 窗口下,输入 IP 地址,点击“下一步” 9、在“ce0 的网络掩码”窗口下,输入 255.255.255.0,点击“下一步” 10、在“ce0 的 IPV6” 窗口下,选择“否” ,点击“下一步” 11、在“ce0 的缺省路由”窗口下,选择“无” ,点击“下一步” 12、在“ce1 的 DHCP” 窗口下,选择“否” ,点击“下一步” 13、在“ce1 的主机名” 窗口下,输入主机名,点击“下一步” 14、在“ce1 的 IP 地址” 窗口下,输入 IP 地址,点击“下一

3、步” 15、在“ce1 的网络掩码”窗口下,输入 255.255.255.0,点击“下一步” 16、在“ce1 的 IPV6” 窗口下,选择“否” ,点击“下一步” 17、在“ce1 的缺省路由”窗口下,选择“无” ,点击“下一步” 18、在“Kerberos”窗口下,选择“否” ,点击“下一步” 19、在“名称服务”窗口下,选择“无” ,点击“下一步” 20、在“时区”窗口下,选择“地区性的洲/国家/地区”, 点击“下一步” 21、在“洲与国家”窗口下,点击“亚洲”选择“中国” ,点击“下一步” 22、在“日期和时间”窗口下,输入正确时间,点击“下一步” 23、在“超级用户(root)口令”

4、窗口下,输入超级用户口令 点击“下一步” 24、在“确认信息”窗口下,选择“确认” 25、在“欢迎”窗口下,点击“下一步” 2 26、在“安装选项”窗口下,点击“下一步” 27、在“指定媒体”窗口下,选择“CD/DVD” ,点击“下一步” 28、正在初始化 29、在“许可证”窗口下,选择“接受” ,击“下一步” 30、在“选择升级安装或初始安装”窗口下,选择“初始安装” ,击“下一步” 31、在“选择安装类型”窗口下,选择“自定义安装” ,点击“下一步” 32、在“选择软件语言环境”窗口下,选择“亚洲,中文(zh) ”点击“下一步” 33、在“选择系统语言环境”窗口下,选择“亚洲,中文(zh)

5、 ”点击“下一步” 34、 在 “选择附带软件” 窗口下, 选择 “Solaris 10 Extra Value Software 87.3MB” ,点击“下一步” 35、在“附加产品”窗口下,选择“无” ,点击“下一步” 36、在“选择 Solaris 软件组”窗口下,选择“整个郡组以及 OEM”的“缺省包” ,点击“下一步” 37、在“选择磁盘”窗口下,点击“下一步” 38、在“保存数据”窗口下,选择“否” ,点击“下一步” 39、在“分布文件系统”窗口下,选择“修改” Untra 45 Sun Fire V240 Sun Fire V490 0 / 10240 MB 10240 MB 1

6、6384 MB 1 swap 4096 MB 4096 MB 16384 MB 2 3 4 /svm 1024MB 1024MB 1024MB 5 /opt 4096 MB 4096 MB 16384 MB 6 /usr 8192 MB 8192 MB 20480 MB 7 /export/home 211440 MB 43000 MB 70100 MB 选择“确定” ,点击“下一步” 31、在“准备安装”窗口下,点击“立即安装” 32、重新引导后,出现“Do you need to override the system s default NFS version 4 domain name

7、 (yes/no)?no:输入“no” , 回车 3 33、输入用户名:root 34、输入密码:xxxx 35、选择其中一个:选择“公用桌面环境” 36、安装完毕 二、Sun Fire V240 磁盘镜像 在安装系统时,到划分硬盘分区那一步时,给硬盘预留一部分的空间,可以是 200MB。 系统安装完之后,给接下来将要建的数据库新划分一个区,具体如下: # format 0、c1t0d0 /pci1c,600000/scsi2/sd0,0 1、c1t1d0 /pci1c,600000/scsi2/sd1,0 Specify disk(enter its number):0 formatpart

8、ition partitionprint Part Tag Flag Cylinder Size Blocks 0 root wm 0-2060 1 swap wu 2061-2885 2 backup wm 0-14086 3 unassigned wm 0 4 unassigned wm 0 5 unassigned wm 2886-3710 6 usr wm 3711-5359 7 home wm 5360-14014 partition3 Enter partition id tag unassiged: “回车” Enter partition permission flags wm

9、: “回车” Enter new starting cyl 0:14015 Enter partition size 0b 0c 14015e 0.00mb 0.00gb:200mb Partitionlabel (注:红色字符为要键如的命令) 1、 首先规划需要镜像的硬盘 本机硬盘分区信息如下: 0 / 1 swap 2 4 3 4 5 /opt 6 /usr 7 /export/home 规划如下: d0 d10 c1t0d0s0 / d20 c1t1d0s0 d1 d11 c1t0d0s1 swap d21 c1t1d0s1 d5 d15 c1t0d0s5 /opt d25 c1t1d0

10、s5 d6 d16 c1t0d0s6 /usr d26 c1t1d0s6 d7 d17 c1t0d0s7 /export/home d27 c1t1d0s7 2、 硬盘分区同步 # prtvtoc /dev/rdsk/ c1t0d0s2 | fmthard -s - /dev/rdsk/ c1t1d0s7 3、 制作 metadb # metadb a f c c1t0d0s3 c1t1d0s3 4、 制作各个分区的子镜像 # metainit f d10 1 1 c1t0d0s0 # metainit f d20 1 1 c1t1d0s0 # metainit f d11 1 1 c1t0d

11、0s1 # metainit f d21 1 1 c1t1d0s1 # metainit f d15 1 1 c1t0d0s5 # metainit f d25 1 1 c1t1d0s5 # metainit f d16 1 1 c1t0d0s6 # metainit f d26 1 1 c1t1d0s6 # metainit f d17 1 1 c1t0d0s7 # metainit f d27 1 1 c1t1d0s7 5、 制作各个分区的镜像盘 # metainit d0 m d10 # metainit d1 m d11 # metainit d5 m d15 # metainit d

12、6 m d16 5 # metainit d7 m d17 6、 备份 vfstab # cp /etc/vfstab /etc/vfstab.backup 7、 修改 vfstab 文件中关于各个分区的项目 # vi /etc/vfstab 将原来: #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c1t0d0s1 - - swap - no

13、 - /dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no - /dev/dsk/c1t0d0s6 /dev/rdsk/c1t0d0s6 /usr ufs 1 no - /dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes - /dev/dsk/c1t0d0s5 /dev/rdsk/c1t0d0s5 /opt ufs 2 yes - swap - /tmp tmpfs - yes - 修改为: #device device mount FS fsck mount mount #to mo

14、unt to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/md/dsk/d1 - - swap - no - /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no - /dev/md/dsk/d6 /dev/md/rdsk/d6 /usr ufs 1 no - /dev/md/dsk/d7 /dev/md/rdsk/d7 /export/home ufs 2 yes - /dev/md/dsk/d5 /dev/md/rdsk

15、/d5 /opt ufs 2 yes - swap - /tmp tmpfs - yes - 修改后保存退出,并重启系统。 # lockfs # reboot 8、 将另外各个子镜像盘加入到镜像盘中 # metattach d0 d20 # metattach d1 d21 # metattach d5 d25 # metattach d6 d26 # metattach d7 d27 6 10、查看镜像百分比 # metastat | grep % 11、修改/etc/vfstab 文件中关于其他分区的项目 # vi /etc/vfstab 在文件的末尾加上: set md:mirrored

16、_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-0

17、3.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 是对应的系统

18、识别的两块物理硬盘的别名。 ) ok reset-all 14、磁盘镜像、启动设置完成 15、试验磁盘镜像是否成功 关闭电源, 拔掉 HD0, 重新启动机器, 如果磁盘镜像无误, 则应能启动直接进入 Solaris 10系统。 16、恢复 重新将 HD0 插上,启动机器,进入 Solaris 10 系统,重新同步分区 7 # metareplace e d0 c1t0d0s0 # metareplace e d1 c1t0d0s1 # metareplace e d5 c1t0d0s5 # metareplace e d6 c1t0d0s6 # metareplace e d7 c1t0d0s

19、7 (注意: “t0”对应试验时的“HD0” ) 17、完成 三、Solaris 10下 NC2000的安装 1、将 NC2000 的安装文件考到根目录下 # cp /cdrom/cdrom0/nc_insta.sh / 2、执行安装 #cd / # ./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) Cont

20、inue 2) Skip #? 2 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 dont need update this JAVA Version - java 1.5.0_06 - Step 3: Add narigrp group,nari user - Please Select 1 Continue

21、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 8 add NARI group . narigrp . add NARI user . nari . Please Input a Pa

22、ssword 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) Ski

23、p #? 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) Conti

24、nue 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

25、parameter 9 - 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 buil

26、ting 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,则需要在安

27、装之前进行以下更改(记住原来的连接路径,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 10 6、Sun Studio 11 安装向导 (1)“欢迎” ,点击“下一步” (2)“正在初始化.” (3)“软件许可协议” ,选择“Accept” ,点击“下一步” (4)“语言环境选择” ,选择“英文en”和“中文zh” ,点击“下一步” (5)“选择组件” ,选择“缺省安装” ,点击“下一步” (6)“选择安装目录” /opt (7)“准备安装” ,点击“下一步” (8)“正在安装.” (9)“安装总汇” ,点击“下一步” (10)“注册” ,点击“下一步” (11)“安装完成之后” ,点击“退出” 7、安装完毕

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号