我申请这个blog是为了督促自己,把自己平时的一些想法和思考结果保留下来。 本博客所有内容均为原创,如有转载请注明作者和出处

Solaris8安装笔记

上一篇 / 下一篇  2007-02-14 00:00:00 / 个人分类:操作系统

最近成天和操作系统打交道。今天在一台机器上安装了一下Solaris8,发现整个安装过程还是很容易的。

第一次安装Solaris系统,简单记录一下安装步骤。

ITPUB个人空间:h l'n8Bz9T;vXF

首先,从使用STOP + A启动到OK状态,然后boot cdrom,准备安装:

{0} ok boot cdromITPUB个人空间O5h/ii1d_+h
Resetting ...

系统从光盘启动,检测硬件后,进入交互安装过程,首先是语言选择:

Select a Language

0. EnglishITPUB个人空间*B(m1n ] ^?
1. French
u6dfj%uF P75904222. GermanITPUB个人空间4Nm~!Y3U%X`
3. Italian
1]0@k:H/x)nXF,N:E5xPeU75904224. JapaneseITPUB个人空间1gJj h&QC$rI7}"@
5. KoreanITPUB个人空间-wbz-Y!k
6. Simplified ChineseITPUB个人空间2swa.jh,k1D
7. SpanishITPUB个人空间 ^e SF8K
8. Swedish
8UjVQ9?ep75904229. Traditional Chinese

Please make a choice (0 - 9), or press h or ? for help: 0

Select a Locale

0. English (C - 7-bit ASCII)
0?0S+n,qT`uqy75904221. Albania (ISO8859-2)
R)p!C8L]S c4dA7}75904222. Australia (ISO8859-1)ITPUB个人空间vdzNf
3. Belgium-Flemish (ISO8859-1)
qe3e/t!o@x75904224. Belgium-Flemish (ISO8859-15 - Euro)
M2b3H B4z.yh75904225. Bosnia (ISO8859-2)ITPUB个人空间4TZG-K$X2] P3o
6. Brazil (ISO8859-1)
|9R;p]g @Nu75904227. Bulgaria (ISO8859-5)ITPUB个人空间(N{#j Nb W
8. Canada-English (ISO8859-1)
;ZOK} ?x6l9e75904229. Catalan,Spain (ISO8859-1)
*bjK[hb.X4\5qg X759042210. Catalan,Spain (ISO8859-15 - Euro)
S(kFi!r9Cja759042211. Croatia (ISO8859-2)ITPUB个人空间,w H|fx(z)U
12. Czech Republic (ISO8859-2)ITPUB个人空间W*p$kg o
13. Denmark (ISO8859-1)
s Z2r$DiJX759042214. Denmark (ISO8859-15 - Euro)ITPUB个人空间)WHen C G
15. Egypt (ISO8859-8)ITPUB个人空间| ]2M U H&f2n+u6ZBT
16. Estonia (ISO8859-15)ITPUB个人空间\[ {W_cG
17. Finland (ISO8859-1)
| ]{A!e @*u759042218. Finland (ISO8859-15 - Euro)

Press Return to show more choices.ITPUB个人空间9yi)Wz2o{? zH'[
Please make a choice (0 - 51), or press h or ? for help: 0

这些选择了英文,ASCII7编码。

What type of terminal are you using?
;r8v0W!g] MJX n75904221) ANSI Standard CRTITPUB个人空间S!t0A.[YXCR._
2) DEC VT52ITPUB个人空间9wUYj/n` n
3) DEC VT100ITPUB个人空间%U Z6r~ r F'w
4) Heathkit 19
"r~1Y Huq;\Xls8Y75904225) Lear Siegler ADM31
^4w{|Tb75904226) PC Console
U&Zf^t{9e1D75904227) Sun Command ToolITPUB个人空间V^W$[,Mu%o)h
8) Sun Workstation
[8k1]-hNQ:wg0]}Y75904229) Televideo 910ITPUB个人空间cQ"^&wzM f;y
10) Televideo 925ITPUB个人空间y:iiru$C E
11) Wyse Model 50ITPUB个人空间8v8KP[@/d3p!V \
12) X Terminal Emulator (xterms)ITPUB个人空间 J2P{ N3O#t
13) Other
4Mh GLt{%p{-s7590422Type the number of your choice and press Return: 3

然后是选择终端方式,由于使用了串口,这里选择VT100。然后系统进入安装阶段:

首先是网络选择,根据系统提示的信息进行选择,并在主机名称、IP地址和子网掩码等地方填入相应的值,当网络部分配置完成,会出现一个确认信息,如果确认无误,按F2继续,如果需要修改部分内容按F4进行修改。

Confirm Information

> Confirm the following information. If it is correct, press F2;ITPUB个人空间k V.V ?4V}+IX5J+@
to change any information, press F4.

ITPUB个人空间KvPU)q P {VvN
Networked: YesITPUB个人空间n'u9t z!t}7Y+{8G
Use DHCP: No
)Jj:Pq6Y(E,uJc8W7590422Primary network interface: ce0
)})["^6k`;XO;Z7590422Host name: racnode2ITPUB个人空间6O.b dM FE6a#r
IP address: 172.25.13.144
BV2W,~3k}6??'K7590422System part of a subnet: YesITPUB个人空间"XN6`i n/K*_~
Netmask: 255.255.0.0ITPUB个人空间1? ~-J]_2[r
Enable IPv6: No

下面是安全策略的选择,这里选择采用UNIX系统本身的安全策略:

Confirm Information

> Confirm the following information. If it is correct, press F2;ITPUB个人空间{(V S;y/KF]
to change any information, press F4.

ITPUB个人空间0B |q@2d)r3{
Configure Kerberos Security: No

接着是网络服务的配置,这里没有进行配置:

Confirm Information

> Confirm the following information. If it is correct, press F2;
KF"| }c#rl;G7590422to change any information, press F4.


&~9w&hf? d kR+U!RS0_"N7590422Name service: None

然后是设置时区和时间:

Confirm Information

> Confirm the following information. If it is correct, press F2;ITPUB个人空间:p&uMC I/D
to change any information, press F4.

ITPUB个人空间o5JLqbd%_ K
Time zone: PRC
6{ FB-~ne$@a7590422Date and time: 2007-02-12 17:05:00

系统开始进行安装:

System identification is completed.
|1X!uD6O-P@3M:d g7590422Starting Solaris installation program...ITPUB个人空间s/P+DD"kg
Executing JumpStart preinstall phase...
2{#OZ/\+~JS7590422Searching for SolStart directory...
\d%cDs.Y2P7590422Checking rules.ok file...
"@ {!{$MybeBN(a:d7590422Using begin script: install_begin
7POi,LM7590422Using finish script: patch_finish
cx;d1^k#I@ \7590422Executing SolStart preinstall phase...ITPUB个人空间da,J/{|7Cy
Executing begin script "install_begin"...
} K|A/do?r6A%C)]?7590422Begin script install_begin execution completed.

提示软件安装类型,F2选择升级安装,F4选择初始安装:

Solaris Interactive Installation

This system is upgradable, so there are two ways to install the SolarisITPUB个人空间|EW&d"?Y8hU
software.

The Upgrade option updates the Solaris software to the new release, savingITPUB个人空间"W)eAE_ ?$r
as many modifications to the previous version of Solaris software as
5x0a,q8f&F;\6_7590422possible. Back up the system before using the Upgrade option.

The Initial option overwrites the system disks with the new version ofITPUB个人空间f)OF^#w
Solaris software. This option allows you to preserve any existing file
)MU Y7Z `1QV F7590422systems. Back up any modifications made to the previous version of SolarisITPUB个人空间].g? aE\ `&z
software before starting the Initial option.

After you select an option and complete the tasks that follow, a summary ofITPUB个人空间pw(S7Z&Psc"n
your actions will be displayed. If you want to install the system with a
1L8BM_%V ~7590422Flash archive, select Initial.

然后是软件安装方法,这里选择标准安装:

Solaris Interactive Installation

You'll be using the initial option for installing Solaris software on theITPUB个人空间deeRT
system. The initial option overwrites the system disks when the new Solaris
D ^F]RY!V];A7590422software is installed.

On the following screens, you can accept the defaults or you can customizeITPUB个人空间"?I!x |o QJ
how Solaris software will be installed by:

- Selecting the type of Solaris software to installITPUB个人空间$g7e6n:D ar-G3Z;c
- Selecting disks to hold software you've selected
?`1m[)[(UX7590422- Specifying how file systems are laid out on the disks

After completing these tasks, a summary of your selections (called aITPUB个人空间'J lC'k,Z+RCz5Hl8T
profile) will be displayed.

There are two ways to install your Solaris software:

- "Standard" installs your system from a standard Solaris Distribution.ITPUB个人空间5h:tiqv yw?
- "Flash" installs your system from one or more Flash Archives.

然后选择语言支持:

Select Geographic Regions

Select the geographic regions for which support should be installed.

> [ ] Australasia ITPUB个人空间/JQ3S-l_)?O
> [ ] Northern EuropeITPUB个人空间 qV&JVeY JV i*k0J
> [ ] Western Europe ITPUB个人空间:c&\%d#v_sr.c%N}
> [ ] Central Europe ITPUB个人空间b/q L5V$t9L)Vbkn
> [ ] North America
+^+m8K$qB}5`p7590422V [/] Asia
5X T+\/l3w Q7590422[ ] Japanese EUC (ja)ITPUB个人空间-J'q%W!tblWIs
[ ] Japanese PC Kanji (ja_JP.PCK)ITPUB个人空间'Bo)DS]0cZ{B8U
[ ] Japanese UTF-8 (ja_JP.UTF-8) ITPUB个人空间;]y:dxg
[ ] Korean EUCITPUB个人空间'K1S| e&^[O4Z;G
[ ] Korean UTF-8ITPUB个人空间 K edb,j-@L
[ ] Simplified Chinese EUCITPUB个人空间fv@ b1{
[X] Simplified Chinese GB18030/GBK
h/`2CowK.a7590422[ ] Simplified Chinese UTF-8ITPUB个人空间#W,F\#P(Q-Pej
[ ] ThaiITPUB个人空间#s0J \\:NbM7s`T9R
[ ] Traditional Chinese BIG5

下面是安装软件的选择:

Select Software

Select the Solaris software to install on the system.

NOTE: After selecting a software group, you can add or remove software byITPUB个人空间/O}1Ts ]6?
customizing it. However, this requires understanding of software
*Q3l:e-[{0B py7590422dependencies and how Solaris software is packaged. The software groupsITPUB个人空间0`Tg!b;E$i!G/D
displaying 64-bit contain 64-bit support.

[X] Entire Distribution plus OEM support 64-bit 1523.00 MB (F4 to Custom
&`@c:? o&Sq7590422ize [ ] Entire Distribution 64-bit ................. 1489.00 MB
+z H n}+g7590422[ ] Developer System Support 64-bit ............ 1439.00 MB
*|$v&dfA&V7590422[ ] End User System Support 64-bit ............. 1014.

下面一个关键步骤是磁盘空间分配,根据Oracle的提示完成磁盘划分后,Solaris会给出一个汇总信息,确定按F2,修改按F4

Profile

The information shown below is your profile for installing Solaris software.
+Wngemx1b'`!j7590422It reflects the choices you've made on previous screens.

============================================================================

Installation Option: InitialITPUB个人空间e#a$yd-C` lc
Boot Device: c1t0d0ITPUB个人空间g'wdWS"mMM
Client Services: None

Locales: Simplified Chinese GB18030/GBK

Software: Solaris 8, Entire Distribution plus OEM sup

File System and Disk Layout: / c1t0d0s0 15271 MBITPUB个人空间!p%N,I;y.FOh%N-F;L
/var c1t0d0s1 1024 MBITPUB个人空间PA6cc8i9i;R
swap c1t0d0s3 8193 MBITPUB个人空间9]2G,]6mR
/export/home c1t0d0s7 10241 MB

最后选择启动方式,交互部分告一段落:

Reboot After Installation?

After Solaris software is installed, the system must be rebooted. You canITPUB个人空间8vAD IgA$]
choose to have the system automatically reboot, or you can choose toITPUB个人空间A ?"cS7zn'a:E
manually reboot the system if you want to run scripts or do otherITPUB个人空间S#D{d4J/QQ&b
customizations before the reboot. You can manually reboot a system by using
*U%T |v$p0Bo7590422the reboot(1M) command.


_$W!HtK^3\+K:?7590422[X] Auto RebootITPUB个人空间/R&x'{,D#R"G0H^1n
[ ] Manual Reboot

F2开始进行安装过程:

Preparing system for Solaris install

Configuring disk (c1t0d0)
$p@bu%l7590422- Creating Solaris disk label (VTOC)

Creating and checking UFS file systemsITPUB个人空间x L/uGY
- Creating / (c1t0d0s0)
P#xY)FCK7590422- Creating /var (c1t0d0s1)ITPUB个人空间 p)e[2\&|@8M
- Creating /export/home (c1t0d0s7)

Beginning Solaris software installation

安装过程中会提示输入root密码:

You will be prompted to type the root password twice; for security, the password
!E J*K/sx7590422will not be displayed on the screen as you type it.

> If you do not want a root password, press RETURN twice.

Root password:

ITPUB个人空间"Y'G-E/XI tj0BC2{
Re-enter your root password.


5W_g}D:n/`7590422Press Return to continue.

安装完第一张盘,会提示换盘,根据提示信息进行换盘,然后继续安装:

Please specify the media from which you will install Solaris 8 Software 2 of 2ITPUB个人空间2z1p.V H9I({QLf
(2/02 SPARC Platform Edition).

Alternatively, choose the selection for "Skip" to skip this disc and go on toITPUB个人空间x:a%v.O R D8k~ `
the next one.

Media:

1. CD/DVD
H`c'W9`$f5rsT J75904222. Network File System
|L/[ |QBY7Ly75904223. Skip

Media [1]: 1

Please insert the CD/DVD for Solaris 8 Software 2 of 2 (2/02 SPARC PlatformITPUB个人空间o~[1sC
Edition).

After you insert the disc, please press Enter.

重启后,安装完成,这是可以登陆到系统中了:

Rebooting with command: boot
X6w/])bA-n"sH7590422Boot device: /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w21000004cfd9e4b8,0:a File and args:
IQsl-k? Y7590422SunOS Release 5.8 Version Generic_108528-13 64-bitITPUB个人空间I#PCI1LZ
Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved.
rn$HvAW@T{;}7590422configuring IPv4 interfaces: ce0.
CIv$PB U(qn5U7590422Hostname: racnode2ITPUB个人空间opo)S%Lu6ZAs-^
Configuring /dev and /devicesITPUB个人空间[i;] a5f y U X+Gs
Configuring the /dev directory (compatibility devices)
e"s1O ]x0S9|*X;JJ9p7590422The system is coming up. Please wait.
+x5P!NteV2|7590422checking ufs filesystems
mK$~T ] s$x_)R;Y7590422/dev/rdsk/c1t0d0s7: is clean.
(d8Q#xJ4qc*@7590422mount: /tmp already mountedITPUB个人空间"K5tY~ LL Bn
rm: Unable to remove directory /tmp: File exists
Ltf}z7590422mkdir: Failed to make directory "/tmp"; File existsITPUB个人空间$t'k+n K5];}
Starting IPv4 routing daemon.
I6Pg+} Y6`7590422starting rpc services: rpcbind done.ITPUB个人空间#`t^;ns8n)X|
Setting netmask of ce0 to 255.255.0.0ITPUB个人空间T&~n }.d[Y:dC
Setting default IPv4 interface for multicast: add net 224.0/4: gateway racnode2ITPUB个人空间r!}Uc8mv
syslog service starting.ITPUB个人空间q_-F lW aWzi.D
Print services started.
q9g Z%F N^J!}8A7590422Feb 12 18:23:18 racnode2 sendmail[238]: My unqualified host name (racnode2) unknown; sleeping for retry
9_)~;fks7590422volume management starting.
c7[5Ago*SO;w*{7590422The system is ready.

racnode2 console login: Feb 12 18:24:18 racnode2 sendmail[238]: unable to qualify my own domain name (racnode2) -- using short name

racnode2 console login: rootITPUB个人空间Yn*{ SE
Password:
jI7gPMJ-c/o7590422Feb 12 18:29:50 racnode2 login: ROOT LOGIN /dev/consoleITPUB个人空间/H'a|8|2Y-vIF E
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
,y1u!Y{R7590422#


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar