免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2939 | 回复: 0
打印 上一主题 下一主题

Installing Sun Solaris 10(part1) [复制链接]

论坛徽章:
1
巳蛇
日期:2013-10-14 12:55:01
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-09-30 13:34 |只看该作者 |倒序浏览
Contents

Overview
Using Serial Console Connection
Starting the Installation
Answering the Screen Prompts
Post-Installation Tasks



Overview
This article documents installing the 6/06 (June 2006) release of Solaris 10 from CD-ROM. For the purpose of this example, I will be installing Solaris 10 on a Sun Blade 150 with the following configuration:
Sun Blade 150 (UltraSPARC-IIe 650MHz), No Keyboard, OpenBoot 4.6
1,792 MB RAM Memory
Two - 40 GB IDE Western Digital Hard Drives - (/dev/dsk/c0t0d0 and /dev/dsk/c0t2d0)
Built-in Ethernet - (eri0)
CDROM - (/dev/dsk/c0t1d0)
Installing Solaris 10 will require 5 CDs found in the Solaris media kit labeled "Solaris 10 Software" or downloaded from http://www.sun.com/software/solaris/ - (Solaris 10 6/06). Before starting the installation process, ensure that you have noted the following items:
Determine the host name of the system you are installing
Determine the language and locales you intend to use on the system
If you intend to include the system in a network, gather the following information:
Host IP address
Subnet mask
Type of name service (DNS, NIS, or NIS+, for example)
Domain name
Host name of server
Host IP address of the name server
Using Serial / Console Connection
For a complete discussion of connecting to a Sun serial console from Linux, see my article "Using Serial Consoles - (Sun Sparcs)".  
For this particular installation, I will NOT be using a VGA monitor connected to the built-in frame-buffer (video card). The installation will be done using the serial port of the Sun Blade as a console. A serial cable (null modem) will be connected from the serial port of a Linux machine to the serial port of the Sun Blade. Keep in mind that you will not be able to make use of the serial console of the Sun Blade if it was booted with the keyboard/mouse plugged in. In order to make use of the serial console, you will need to disconnect the keyboard/mouse and reboot the Sun server. On the Sun Blade 100/150, if the keyboard/mouse are plugged in during the boot phase, all console output will be redirected to the VGA console.
From the Linux machine, you can use a program called minicom. Start it up with the command "minicom". Press "Ctrl-A Z" to get to the main menu. Press "o" to configure minicom. Go to "Serial port setup" and make sure that you are set to the correct "Serial Device" and that the speed on line E matches the speed of the serial console you are connecting to. (In most cases with Sun, this is 9600.) Here are the settings I made when using Serial A / COM1 port on the Linux machine:
+-----------------------------------------------------------------------+
| A -    Serial Device      : /dev/ttyS0                                |
| B - Lockfile Location     : /var/lock                                 |
| C -   Callin Program      :                                           |
| D -  Callout Program      :                                           |
| E -    Bps/Par/Bits       : 9600 8N1                                  |
| F - Hardware Flow Control : Yes                                       |
| G - Software Flow Control : No                                        |
|                                                                       |
|    Change which setting?                                              |
+-----------------------------------------------------------------------+
After making all necessary changes, hit the ESC key to go back to the "configurations" menu. Now go to "Modem and dialing". Change the "Init string" to "~^M~". Save the settings (as dflt), and then restart Minicom. You should now see a console login prompt.
[root@bertha1 root]# minicom

Welcome to minicom 2.00.0

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Feb 17 2004, 04:52:10.

Press CTRL-A Z for help on special keys

alex console login: root
Password:
Last login: Tue Nov  4 18:55:41 on console
Nov  7 12:17:24 alex login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
#
# init 0
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
Print services stopped.
Nov  7 12:17:38 alex syslogd: going down on signal 15
The system is down.
syncing file systems... done
Program terminated
ok
Starting the Installation
The installation process starts at the ok prompt. The previous section of this document provides the steps required to not only gain access to the console port of the Sun SPARC server, but also how to get the server to an ok prompt. If when logging on, the machine is already booted into the O/S, (you have a console login like the following: "alex console login:", you will need to bring the machine to its EEPROM (ok prompt) by initiating init 0 like in the Using Serial / Console Connection section above.
The first step in installing Solaris 10 is to boot the machine from Disk 1 of the Solaris 10 Software CDs. You will need to get the machine to the ok prompt. You can do this by shutting the system down using init 0. Once at the ok prompt, type in boot cdrom. (Or in some cases, you can use reboot cdrom). From here, the installation program prompts you for system configuration information that is needed to complete the installation.
        If you were performing a network installation, you would type:
ok boot net

In almost all cases, you will be installing the Solaris 10 software on a new system where it will not be necessary to preserve any data already on the hard drive. Using this assumption, I will partition the first single 40 GB IDE hard drive (/dev/dsk/c0t0d0) as the system disk.
Answering the Screen Prompts
Let's start the installation process! Put the Solaris 10 Software (Disk 1 of 5) in the CDROM tray and boot to it:
Solaris Installation Boot Screen
ok boot cdrom
Resetting ...


Sun Blade 150 (UltraSPARC-IIe 650MHz), No Keyboard
Copyright 1998-2002 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.6, 1792 MB memory installed, Serial #52928138.
Ethernet address 0:3:ba:27:9e:8a, Host ID: 83279e8a.


Rebooting with command: boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@1,0:f  File and args:
SunOS Release 5.10 Version Generic_118833-17 64-bit
Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface eri0...
SUNW,eri0 : 100 Mbps full duplex link up
Configured interface eri0
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...
The boot process may take several minutes to complete, but once done, you will start answering a series of prompts.
The following section will walk you through many of the screen prompts from the installation.
The first two prompts are from the command line interface (CLI) and are used to specify the language and terminal. Use English for the Language. As for a terminal setting, I commonly telnet to a Linux server (that is connected from the serial port of the Linux server to the serial port of the Sun machine). From the Linux server, I use "minicom" to connect from the Linux server to the Sun server. The best terminal for this type of installation is "DEC VT100":
  Language                             : English
  What type of terminal are you using? : 3) DEC VT100
        You should be able to use a terminal type of "DEC VT100" or "X Terminal Emulator (xterms)".


        Depending on the terminal being used for installation while using the command line interface, it may be required to precede any of the function key responses (i.e. F2_Continue) with the ESC key (i.e. ESC - F2_Continue). For the purpose of this installation, I am using minicom 2.0 and configured the installation to use a DEC VT100 terminal. Given this configuration I did not have to precede any of the function key responses with the ESC key.

Many of the screens to follow will ask you about networking information. When asked if the system will be connected to a network, answer Yes.
        Many of the screens should be easy to complete except for the "Names Services" section. In almost all cases, you will want to use DNS naming services, but if your machine is not currently configured within DNS, this section will fail and no information entered about Names Services will be stored and configured.
If this is the case, you will need to select None under the Names Services section. The network configuration will then need to be completed after the installation process by updating certain network files on the local hard drive. This will be documented in the "ost Installation Procedures" of this document.


Screen 1 : The Solaris Installation Program
This is the Solaris Installation Welcome screen.
Hit F2 to continue
Screen 2 : Identify This System
This screen informs you about how you will need to identify the computer as it applies to network connectivity.
Hit F2 to continue
Screen 3 : Network Connectivity
Networked
---------
[X] Yes
[ ] No
Hit F2 to continue
Screen 4 : DHCP
Use DHCP
--------
[ ] Yes
[X] No
Hit F2 to continue
Screen 5 : Host Name for eri0
Enter the host name which will identify this system on the network. For the purpose of this example, I will use the host name "alex".
Host name for eri0: alex
Hit F2 to continue
Screen 6 : IP Address for eri0
Enter the Internet Protocol (IP) address for this network interface.
IP address for eri0: 192.168.1.102
Hit F2 to continue
Screen 7 : Subnet for eri0
On this screen you must specify whether this system is part of a subnet. For the purpose of this example, this interface will be part of a subnet.
System part of a subnet
-----------------------
[X] Yes
[ ] No
Hit F2 to continue
Screen 8 : Netmask for eri0
Netmask for eri0: 255.255.255.0
Hit F2 to continue
Screen 9 : IPv6 for eri0
In this example, I will not be enabling IPv6.
Enable IPv6 for eri0
--------------------
[ ] Yes
[X] No
Hit F2 to continue
Screen 10 : Set the Default Route for eri0
I will manually specify the IP address of my router.
Default Route for eri0
----------------------
[ ] Detect one upon reboot
[X] Specify one
[ ] None
Hit F2 to continue
Screen 11 : Default Route IP Address for eri0
Router IP Address for eri0: 192.168.1.1
Hit F2 to continue
Screen 12 : Confirm Information for eri0
This is a confirmation screen. Verify all data is correct.
              Host name: alex
             IP address: 192.168.1.102
System part of a subnet: Yes
                Netmask: 255.255.255.0
            Enable IPv6: No
          Default Route: Specify one
      Router IP Address: 192.168.1.1
Hit F2 to continue
Screen 13 : Configure Security Policy
Configure Kerberos Security
---------------------------
[ ] Yes
[X] No
Hit F2 to continue
Screen 14 : Confirm Information
This is a confirmation screen. Verify all data is correct.
Configure Kerberos Security: No
Hit F2 to continue
Screen 15 : Name Service
Name service
------------
[ ] NIS+
[ ] NIS
[X] DNS
[ ] LDAP
[ ] None
Hit F2 to continue
Screen 16 : Domain Name
Host name: idevelopment.info
Hit F2 to continue
Screen 17 : DNS Server Addresses
Server's IP address: 63.67.120.23
Server's IP address: 63.67.120.14
Server's IP address:
Hit F2 to continue
Screen 18 : DNS Search List
Search domain:
Search domain:
Search domain:
Search domain:
Search domain:
Search domain:
Hit F2 to continue
Screen 19 : Confirm Information
This is a confirmation screen. Verify all data is correct.
      Name service: DNS
       Domain name: idevelopment.info
Server address(es): 63.67.120.23
                    63.67.120.14
Hit F2 to continue
Screen 20 : Time Zone
Continents and Oceans
---------------------
[ ] Africa
[X] Americas
[ ] Antarctica
[ ] Arctic Ocean
[ ] Asia
[ ] Atlantic Ocean
[ ] Australia
[ ] Europe
[ ] Indian Ocean
[ ] Pacific Ocean
[ ] other - offset from GMT
[ ] other - specify time zone file
Hit F2 to continue
Screen 21 : Country or Region
Countries and Regions
---------------------
[X] United States
[ ] Anguilla
[ ] Antigua & Barbuda
[ ] Argentina
[ ] Aruba
[ ] Bahamas
[ ] Barbados
[ ] Belize
[ ] Bolivia
[ ] Brazil
[ ] Canada
[ ] Cayman Islands
[ ] Chile
[ ] Colombia
[ ] Costa Rica
[ ] Cuba
[ ] Dominica
[ ] Dominican Republic
[ ] Ecuador
[ ] El Salvador
[ ] French Guiana
[ ] Greenland
[ ] Grenada
[ ] Guadeloupe
[ ] Guatemala
[ ] Guyana
[ ] Haiti
[ ] Honduras
[ ] Jamaica
[ ] Martinique
[ ] Mexico
[ ] Montserrat
[ ] Netherlands Antilles
[ ] Nicaragua
[ ] Panama
[ ] Paraguay
[ ] Peru
[ ] Puerto Rico
[ ] St Kitts & Nevis
[ ] St Lucia
[ ] St Pierre & Miquelon
[ ] St Vincent
[ ] Suriname
[ ] Trinidad & Tobago
[ ] Turks & Caicos Is
[ ] Uruguay
[ ] Venezuela
[ ] Virgin Islands (UK)
[ ] Virgin Islands (US)
Hit F2 to continue
Screen 22 : Time Zone
Time zones
----------
[X] Eastern Time
[ ] Eastern Time - Michigan - most locations
[ ] Eastern Time - Kentucky - Louisville area
[ ] Eastern Time - Kentucky - Wayne County
[ ] Eastern Standard Time - Indiana - most locations
[ ] Eastern Standard Time - Indiana - Crawford County
[ ] Eastern Standard Time - Indiana - Starke County
[ ] Eastern Standard Time - Indiana - Switzerland County
[ ] Central Time
[ ] Central Time - Michigan - Wisconsin border
[ ] Central Time - North Dakota - Oliver County
[ ] Mountain Time
[ ] Mountain Time - south Idaho & east Oregon
[ ] Mountain Time - Navajo
[ ] Mountain Standard Time - Arizona
[ ] Pacific Time
[ ] Alaska Time
[ ] Alaska Time - Alaska panhandle
[ ] Alaska Time - Alaska panhandle neck
[ ] Alaska Time - west Alaska
[ ] Aleutian Islands
[ ] Hawaii
Hit F2 to continue
Screen 23 : Date and Time
Date and time: YYYY-MM-DD HH:MM

  Year   (4 digits) : <enter year>
  Month  (1-12)     : <enter month>
  Day    (1-31)     : <enter day>
  Hour   (0-23)     : <enter hour>
  Minute (0-59)     : <enter minute>
Hit F2 to continue
Screen 24 : Confirm Information
This is a confirmation screen. Verify all data is correct.
    Time zone: Eastern Time
               (US/Eastern)
Date and time: 2006-11-26 15:11:00
Hit F2 to continue
Screen 25 : Solaris Interactive Installation
There are two ways to install your Solaris software: "Standard" or "Flash". Choose the "Standard" method (F2_Standard).
Hit F2 to continue
Screen 26 : Eject a CD/DVD Automatically?
During the installation of Solaris software, you may be using one or more CDs/DVDs. You can choose to have the system eject each CD/DVD automatically after it is installed or you can choose to manually eject each CD/DVD.
[X] Automatically eject CD/DVD
[ ] Manually eject CD/DVD
Hit F2 to continue
Screen 27 : 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
Hit F2 to continue
Screen 28 : Solaris Interactive Installation
This screen recognizes if a previous version of Solaris is installed and whether you would like to upgrade or not. Always select the install option (F4_Initial).
Hit F4 to continue
Screen 29 : Initializing
The system is being initialized.
Loading install media, please wait...
Screen 30 : License
Read through the software license agreement.
Hit F2 to accept the license and continue
Screen 31 : Select Geographic Regions
Select the geographic regions for which support should be installed.
--------------------------------------------------------------------
> [ ] Australasia
> [ ] Asia
> [ ] Eastern Europe
> [ ] Northern Europe
> [ ] Northern Africa
> [ ] Middle East
> [ ] Southern Europe
> [ ] South America
> [ ] Central America
> [ ] Central Europe
V [/] North America
    [ ]     Canada-English (ISO8859-1)
    [ ]     Canada-French (ISO8859-1)
    [ ]     French
    [ ]     Mexico (ISO8859-1)
    [ ]     Spanish
    [X]     U.S.A. (UTF-
    [X]     U.S.A. (en_US.ISO8859-1)
> [ ] Western Europe
Hit F2 to continue
Screen 32 : Select System Locale
Select the initial locale to be used after the system has been installed.
-------------------------------------------------------------------------
[X]     POSIX C ( C )
    North America
[ ]     U.S.A. (UTF- ( en_US.UTF-8 )
[ ]     U.S.A. (en_US.ISO8859-1) ( en_US.ISO8859-1 )
[ ]     U.S.A. (en_US.ISO8859-15) ( en_US.ISO8859-15 )
Hit F2 to continue
Screen 33 : Select Products
Select the products you would like to install.
----------------------------------------------
V [X] Solaris 10 Extra Value Software.................   87.26 MB
  [X]     Sun Validation Test Suite 6.2...................   69.92 MB
  [X]     Sun Install Check 2.0.2.........................   17.34 MB
> [ ] Java Enterprise System..........................    0.00 MB
Hit F2 to continue
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP