Solaris8安裝筆記

yangtingkun發表於2007-02-14

最近成天和作業系統打交道。今天在一臺機器上安裝了一下Solaris8,發現整個安裝過程還是很容易的。

第一次安裝Solaris系統,簡單記錄一下安裝步驟。


首先,從使用STOP + A啟動到OK狀態,然後boot cdrom,準備安裝:

{0} ok boot cdrom
Resetting ...

系統從光碟啟動,檢測硬體後,進入互動安裝過程,首先是語言選擇:

Select a Language

0. English
1. French
2. German
3. Italian
4. Japanese
5. Korean
6. Simplified Chinese
7. Spanish
8. Swedish
9. Traditional Chinese

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

Select a Locale

0. English (C - 7-bit ASCII)
1. Albania (ISO8859-2)
2. Australia (ISO8859-1)
3. Belgium-Flemish (ISO8859-1)
4. Belgium-Flemish (ISO8859-15 - Euro)
5. Bosnia (ISO8859-2)
6. Brazil (ISO8859-1)
7. Bulgaria (ISO8859-5)
8. Canada-English (ISO8859-1)
9. Catalan,Spain (ISO8859-1)
10. Catalan,Spain (ISO8859-15 - Euro)
11. Croatia (ISO8859-2)
12. Czech Republic (ISO8859-2)
13. Denmark (ISO8859-1)
14. Denmark (ISO8859-15 - Euro)
15. Egypt (ISO8859-8)
16. Estonia (ISO8859-15)
17. Finland (ISO8859-1)
18. Finland (ISO8859-15 - Euro)

Press Return to show more choices.
Please make a choice (0 - 51), or press h or ? for help: 0

這些選擇了英文,ASCII7編碼。

What type of terminal are you using?
1) ANSI Standard CRT
2) DEC VT52
3) DEC VT100
4) Heathkit 19
5) Lear Siegler ADM31
6) PC Console
7) Sun Command Tool
8) Sun Workstation
9) Televideo 910
10) Televideo 925
11) Wyse Model 50
12) X Terminal Emulator (xterms)
13) Other
Type 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;
to change any information, press F4.


Networked: Yes
Use DHCP: No
Primary network interface: ce0
Host name: racnode2
IP address: 172.25.13.144
System part of a subnet: Yes
Netmask: 255.255.0.0
Enable IPv6: No

下面是安全策略的選擇,這裡選擇採用UNIX系統本身的安全策略:

Confirm Information

> Confirm the following information. If it is correct, press F2;
to change any information, press F4.


Configure Kerberos Security: No

接著是網路服務的配置,這裡沒有進行配置:

Confirm Information

> Confirm the following information. If it is correct, press F2;
to change any information, press F4.


Name service: None

然後是設定時區和時間:

Confirm Information

> Confirm the following information. If it is correct, press F2;
to change any information, press F4.


Time zone: PRC
Date and time: 2007-02-12 17:05:00

系統開始進行安裝:

System identification is completed.
Starting Solaris installation program...
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file...
Using begin script: install_begin
Using finish script: patch_finish
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.

提示軟體安裝型別,F2選擇升級安裝,F4選擇初始安裝:

Solaris Interactive Installation

This system is upgradable, so there are two ways to install the Solaris
software.

The Upgrade option updates the Solaris software to the new release, saving
as many modifications to the previous version of Solaris software as
possible. Back up the system before using the Upgrade option.

The Initial option overwrites the system disks with the new version of
Solaris software. This option allows you to preserve any existing file
systems. Back up any modifications made to the previous version of Solaris
software before starting the Initial option.

After you select an option and complete the tasks that follow, a summary of
your actions will be displayed. If you want to install the system with a
Flash archive, select Initial.

然後是軟體安裝方法,這裡選擇標準安裝:

Solaris Interactive Installation

You'll be using the initial option for installing Solaris software on the
system. The initial option overwrites the system disks when the new Solaris
software is installed.

On the following screens, you can accept the defaults or you can customize
how Solaris software will be installed by:

- Selecting the type of Solaris software to install
- Selecting disks to hold software you've selected
- Specifying how file systems are laid out on the disks

After completing these tasks, a summary of your selections (called a
profile) will be displayed.

There are two ways to install your Solaris software:

- "Standard" installs your system from a standard Solaris Distribution.
- "Flash" installs your system from one or more Flash Archives.

然後選擇語言支援:

Select Geographic Regions

Select the geographic regions for which support should be installed.

> [ ] Australasia
> [ ] Northern Europe
> [ ] Western Europe
> [ ] Central Europe
> [ ] North America
V [/] Asia
[ ] Japanese EUC (ja)
[ ] Japanese PC Kanji (ja_JP.PCK)
[ ] Japanese UTF-8 (ja_JP.UTF-8)
[ ] Korean EUC
[ ] Korean UTF-8
[ ] Simplified Chinese EUC
[X] Simplified Chinese GB18030/GBK
[ ] Simplified Chinese UTF-8
[ ] Thai
[ ] 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 by
customizing it. However, this requires understanding of software
dependencies and how Solaris software is packaged. The software groups
displaying 64-bit contain 64-bit support.

[X] Entire Distribution plus OEM support 64-bit 1523.00 MB (F4 to Custom
ize [ ] Entire Distribution 64-bit ................. 1489.00 MB
[ ] Developer System Support 64-bit ............ 1439.00 MB
[ ] End User System Support 64-bit ............. 1014.

下面一個關鍵步驟是磁碟空間分配,根據Oracle的提示完成磁碟劃分後,Solaris會給出一個彙總資訊,確定按F2,修改按F4

Profile

The information shown below is your profile for installing Solaris software.
It reflects the choices you've made on previous screens.

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

Installation Option: Initial
Boot Device: c1t0d0
Client Services: None

Locales: Simplified Chinese GB18030/GBK

Software: Solaris 8, Entire Distribution plus OEM sup

File System and Disk Layout: / c1t0d0s0 15271 MB
/var c1t0d0s1 1024 MB
swap c1t0d0s3 8193 MB
/export/home c1t0d0s7 10241 MB

最後選擇啟動方式,互動部分告一段落:

Reboot After Installation?

After Solaris software is installed, the system must be rebooted. You can
choose to have the system automatically reboot, or you can choose to
manually reboot the system if you want to run scripts or do other
customizations before the reboot. You can manually reboot a system by using
the reboot(1M) command.


[X] Auto Reboot
[ ] Manual Reboot

F2開始進行安裝過程:

Preparing system for Solaris install

Configuring disk (c1t0d0)
- Creating Solaris disk label (VTOC)

Creating and checking UFS file systems
- Creating / (c1t0d0s0)
- Creating /var (c1t0d0s1)
- Creating /export/home (c1t0d0s7)

Beginning Solaris software installation

安裝過程中會提示輸入root密碼:

You will be prompted to type the root password twice; for security, the password
will not be displayed on the screen as you type it.

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

Root password:


Re-enter your root password.


Press Return to continue.

安裝完第一張盤,會提示換盤,根據提示資訊進行換盤,然後繼續安裝:

Please specify the media from which you will install Solaris 8 Software 2 of 2
(2/02 SPARC Platform Edition).

Alternatively, choose the selection for "Skip" to skip this disc and go on to
the next one.

Media:

1. CD/DVD
2. Network File System
3. Skip

Media [1]: 1

Please insert the CD/DVD for Solaris 8 Software 2 of 2 (2/02 SPARC Platform
Edition).

After you insert the disc, please press Enter.

重啟後,安裝完成,這是可以登陸到系統中了:

Rebooting with command: boot
Boot device: /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w21000004cfd9e4b8,0:a File and args:
SunOS Release 5.8 Version Generic_108528-13 64-bit
Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved.
configuring IPv4 interfaces: ce0.
Hostname: racnode2
Configuring /dev and /devices
Configuring the /dev directory (compatibility devices)
The system is coming up. Please wait.
checking ufs filesystems
/dev/rdsk/c1t0d0s7: is clean.
mount: /tmp already mounted
rm: Unable to remove directory /tmp: File exists
mkdir: Failed to make directory "/tmp"; File exists
Starting IPv4 routing daemon.
starting rpc services: rpcbind done.
Setting netmask of ce0 to 255.255.0.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway racnode2
syslog service starting.
Print services started.
Feb 12 18:23:18 racnode2 sendmail[238]: My unqualified host name (racnode2) unknown; sleeping for retry
volume management starting.
The 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: root
Password:
Feb 12 18:29:50 racnode2 login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-69170/,如需轉載,請註明出處,否則將追究法律責任。

相關文章