SUN-Solaris10网络安装
安装solaris10补丁
1.1.1 安装Solaris 10补丁系统安装完毕后,可以通过网络安装补丁,也可以通过netterm等软件来登陆进去安装补丁。
以root身份进入系统,插入补丁光盘,即EIS第1张光盘。
1.# cd /cdrom/cdrom0/sun/install2.# ./setup-standard.sh开始安装,在安装过程中提出的问题:Sun keyboard Power button to be disabled? [y/n]: yAre the buttons & dials to be disabled? [y/n]: yAre remote root logins to be allowed? [y/n]: yDo you wish to add the SFS packages? [y/n]: yDo you want to continue with the installation of <SUNWsan> [y,n,?]y随后的问题问是否安装包、是否继续安装,都回答yDo you wish to ENABLE the alternate break sequence? [E/n]: 回答nDo you want to install the ACT package? [y/n]: 回答yenter base directory for install (Default /opt/CTEact) [?,q] 直接回车Do you wish to enable the email of panic facility [y] [y,n,?] 回答n所选择的基本目录</opt/CTEact>必须存在于开始安装之前,Do you want this directory created now [y,n,?,q] [y,n,?,q]yDo you want to continue with the installation of <CTEact> [y,n,?]yDo you want to continue with the installation of <SUNWexplo> [y,n,?]yDo you want to continue with the installation of <SUNWexplu> [y,n,?]yAgree to these terms? [y,n] yAbsolute path name for Explorer defaults file? [/etc/opt/SUNWexplo/default/explorer]:以下问题都直接回车。
SUN服务器Solaris10安装步骤
SUN服务器Solaris10安装步骤1.开机加电,等待显示器亮后,按Ctrl+Break键。
2.服务器进入OK监控状态:OK将Solaris10系统盘插入光驱,并在OK提示符下输入以下命令:OK boot cdrom。
3.等待系统出现如下提示:Select a Language0. English1. French2. German3. Italian4. Japanese5. Korean6. Simplified Chinese7. Spanish8. Swedish9. Traditional ChinesePlease make a choice (0 - 9), or press h or ? for help:安装语言选择0.English,输入0后按F-2;4.出现如下提示:Select a Locale0. 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. Brazil (UTF-8)8. Bulgaria (ISO8859-5)9. Canada-English (ISO8859-1)10. Catalan, Spain (ISO8859-1)11. Catalan, Spain (ISO8859-15 - Euro)12. Croatia (ISO8859-2)13. Czech Republic (ISO8859-2)14. Denmark (ISO8859-1)15. Denmark (ISO8859-15 - Euro)16. Egypt (ISO8859-6)17. Egypt (UTF-8)18. Estonia (ISO8859-15)Press Return to show more choices.Please make a choice (0 - 59), or press h or ? for help:本地语言选择0. English (C - 7-bit ASCII),输入0后按F-2;5.在终端上安装Solaris10,这时会出现如下提示:What type of terminal are you using?1) ANSI Standard CRT2) DEC VT523) DEC VT1004) Heathkit 195) Lear Siegler ADM316) PC Console7) Sun Command Tool8) Sun Workstation9) Televideo 91010) Televideo 92511) Wyse Model 5012) X Terminal Emulator (xterms)13) CDE Terminal Emulator (dtterm)14) OtherType the number of your choice and press Return:终端类型选择3)DEC VT100,输入3后按F-2;6.出现如下提示:q The Solaris Installation Program qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqThe Solaris installation program is divided into a series of short sectionswhere you'll be prompted to provide information for the installation. Atthe end of each section, you'll be able to change the selections you'vemade before continuing.About navigation...- The mouse cannot be used- If your keyboard does not have function keys, or they do notrespond, press F; the legend at the bottom of the screenwill change to show the F keys to use for navigation. qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqF2_Continue F6_HelpSolaris的安装分为好几部分,每一部分后面都需要进行确认,如果发现有错,可以更改先前输入的信息,按F-2继续安装;7.出现如下提示:q Identify This System qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqOn the next screens, you must identify this system as networked ornon-networked, and set the default time zone and date/time.If this system is networked, the software will try to find the informationit needs to identify your system; you will be prompted to supply anyinformation it cannot find.> To begin identifying this system, press F2.qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqF2_Continue F6_Help开始定义系统的名字、网络、及掩码,时区及时间,按F-2继续安装;- Network Connectivity ---------------------------------------------------------Specify Yes if the system is connected to the network by one of the Solarisor vendor network/communication Ethernet cards that are supported on theSolaris CD. See your hardware documentation for the current list ofsupported cards.Specify No if the system is connected to a network/communication card thatis not supported on the Solaris CD, and follow the instructions listed underHelp.Networked---------[X] Yes[ ] No--------------------------------------------------------------------------------F-2_Continue F-6_Help提示系统是否连接了网络,选YES,按F-2继续安装;- Configure Multiple Network Interfaces ----------------------------------------Multiple network interfaces have been detected on this system. Specify allof the network interfaces you want to configure.Note: You must choose at least one interface to configure.Network interfaces------------------[X] bge0[ ] bge1[ ] bge2[ ] bge3--------------------------------------------------------------------------------F-2_Continue F-6_Help选择主网卡接口,选bge0,按F-2继续安装;DHCP for bge0----------------------------------------------------------------Specify whether or not this network interface should use DHCP to configure itself. Choose Yes if DHCP is to be used, or No if the network interface is to be configured manually.NOTE: DHCP support will not be enabled, if selected, until after the system reboots.Use DHCP for bge0-----------------[ ] Yes[X] No--------------------------------------------------------------------------------F-2_Continue F-6_Help提示是否需要使用DHCP来配置主机的IP地址,选NO,按F-2继续安装;Host Name for bge0 -----------------------------------------------------------Enter the host name which identifies this system on the network. The namemust be unique within your domain; creating a duplicate host name will causeproblems on the network after you install Solaris.A host name must have at least one character; it can contain letters,digits, and minus signs (-).Host name for bge0 SUN_M5000--------------------------------------------------------------------------------F-2_Continue F-6_Help输入主机名:SUN_M5000,按F-2继续安装;IP Address for bge0 ----------------------------------------------------------Enter the Internet Protocol (IP) address for this network interface. Itmust be unique and follow your site's address conventions, or asystem/network failure could result.IP addresses contain four sets of numbers separated by periods (for example129.200.9.1).IP address for bge0 XXX.XXX.XXX.XXX--------------------------------------------------------------------------------F-2_Continue F-6_Help输入主机IP地址,XXX.XXX.XXX.XXX,按F-2继续安装;- Subnet for bge0--------------------------------------------------------------On this screen you must specify whether this system is part of a subnet. Ifyou specify incorrectly, the system will have problems communicating on thenetwork after you reboot.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].System part of a subnet-----------------------[X] Yes[ ] No--------------------------------------------------------------------------------F-2_Continue F-6_Help提示主机的网络是否采用子网掩码的方法,选YES,按F-2继续安装;- Netmask for bge0 -------------------------------------------------------------On this screen you must specify the netmask of your subnet. A defaultnetmask is shown; do not accept the default unless you are sure it iscorrect for your subnet. A netmask must contain four sets of numbers separated by periods (for example 255.255.255.0).Netmask for bge0 255.255.255.0--------------------------------------------------------------------------------F-2_Continue F-6_Help提示输入子网掩码,输入255.255.255.0,按F-2继续安装;- IPv6 for bge0 ----------------------------------------------------------------Specify whether or not you want to enable IPv6, the next generation Internet Protocol, on this network interface. Enabling IPv6 will have no effect ifthis machine is not on a network that provides IPv6 service. IPv4 servicewill not be affected if IPv6 is enabled.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Enable IPv6 for bge0--------------------[ ] Yes[X] No--------------------------------------------------------------------------------F-2_Continue F-6_Help不使用IPv6技术,选NO,按F-2继续安装;- Set the Default Route for bge0 -----------------------------------------------To specify the default route, you can let the software try to detect oneupon reboot, you can specify the IP address of the router, or you can choose None. Choose None if you do not have a router on your subnet.> To make a selection, use the arrow keys to select your choice and press Return to mark it [X].Default Route for bge0--------------------------[ ] Detect one upon reboot[X] Specify one[ ] None----------------------------------------------------------------------F-2_Continue F-6_Help提示设置缺省网关,选择Specify one,按F-2继续安装;- Default Route IP Address for bge0 ----------------------------------Enter the IP address of the default route. This entry will be placed in the/etc/defaultrouter file and will be the default route after you reboot (example 129.146.89.225).Router IP Address for bge0 XXX.XXX.XXX.XXX----------------------------------------------------------------------F-2_Continue F-6_Help提示输入主机的缺省网关,输入XXX.XXX.XXX.XXX,按F-2继续安装;- Confirm Information for bge0 -------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Networked: YesUse DHCP: NoHost name: SUN_M5000IP address: XXX.XXX.XXX.XXXSystem part of a subnet: YesNetmask: 255.255.255.0Enable IPv6: NoDefault Route: Specify oneRouter IP Address: XXX.XXX.XXX.XXX----------------------------------------------------------------------F-2_Continue F-4_Change F-6_Help提示确认上面输入的信息,如果上面的输入信息有错,可以按F-4后重新输入,如果正确,按F-2继续安装;- Configure Security Policy: ---------------------------------------------------Specify Yes if the system will use the Kerberos security mechanism.Specify No if this system will use standard UNIX security.Configure Kerberos Security---------------------------[ ] Yes[X] No----------------------------------------------------------------------F-2_Continue F-6_Help提示配置安全策略,选NO,按F-2继续安装;- Confirm Information ----------------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Configure Kerberos Security: No---------------------------------------------------------------------F-2_Continue F-4_Change F-6_Help确认刚才输入的信息,如果刚才输入的信息有错,按F-2重新输入;如果正确,按F-2继续安装;- Name Service -------------------------------------------------------On this screen you must provide name service information. Select the nameservice that will be used by this system, or None if your system will eithernot use a name service at all, or if it will use a name service not listedhere.> To make a selection, use the arrow keys to highlight the optionand press Return to mark it [X].Name service------------[ ] NIS+[ ] NIS[ ] DNS[ ] LDAP[X] None----------------------------------------------------------------------F-2_Continue F-6_Help配置名字服务,选择None(不采用任何名字服务),按F-2继续安装;- Confirm Information ------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Name service: None----------------------------------------------------------------------F-2_Continue F-4_Change F-6_Help确认刚才输入的信息,如果刚才输入的信息有错,按F-4重新输入;如果正确,按F-2继续安装;- Time Zone ----------------------------------------------------------On this screen you must specify your default time zone. You can specify atime zone in three ways: select one of the continents or oceans from thelist, select other - offset from GMT, or other - specify time zone file.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Continents and Oceans----------------------------------- [ ] Africa| [ ] Americas| [ ] Antarctica| [ ] Arctic Ocean| [X] Asia| [ ] Atlantic Ocean| [ ] Australia| [] Europev [ ] Indian Ocean----------------------------------------------------------------------F-2_Continue F-6_Help设置时区,选择Asia,按F-2继续安装;- Country or Region --------------------------------------------------> To make a selection, use the arrow keys to highlight the option and press Return to mark it [X].Countries and Regions-------------------------^ [ ] France| [ ] Germany| [ ] Gibraltar| [ ] Greece| [ ] Hungary| [ ] Ireland| [ ] Italy| [ ] Latvia| [ ] Liechtenstein| [ ] Lithuania| [ ] Luxembourg| [ ] Macedoniav [X] China----------------------------------------------------------------------F-2_Continue F-6_Help选择国家或地区,选择China,按F-2继续安装;- Date and Time -----------------------------------------------------> Accept the default date and time or enternew values.Date and time: 2010—XX--XX 10:48Year (4 digits) : 2010Month (1-12) : XXDay (1-31) : XXHour (0-23) : 10Minute (0-59) : 48----------------------------------------------------------------------F-2_Continue F-6_Help设置时间,按照当地时间,按F-2继续安装;Root Password ------------------------------------------------------Please enter the root password for this system.The root password may contain alphanumeric and special characters. For security, the password will not be displayed on the screen as you type it.> If you do not want a root password, leave both entries blank.Root password: *****Root password: *****----------------------------------------------------------------------F-2_Continue F-6_Help设置root用户密码,设置为root,按F-2继续安装;- Identify This System -----------------------------------------------On the next screens, you must identify this system as networked ornon-networked, and set the default time zone and date/time.If this system is networked, the software will try to find the informationit needs to identify your system; you will be prompted to supply any information it cannot find.> To begin identifying this system, press F2.----------------------------------------------------------------------F-2_Continue F-6_Help系统鉴别系统信息,直接按F-2继续安装;- Solaris Interactive Installation -----------------------------------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- Selecting unbundled products to be installed with Solaris- Specifying how file systems are laid out on the disksAfter 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.Selecting "Standard" allows you to choose between initial installand upgrade, if your system is upgradable.- "Flash" installs your system from one or more Flash Archives---------------------------------------------------------------------F2_Standard F4_Flash F5_Exit F6_Help- Eject a CD/DVD Automatically? --------------------------------------During the installation of Solaris software, you may be using one or moreCDs/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.[ ] Automatically eject CD/DVD[X] Manually eject CD/DVD----------------------------------------------------------------------F2_Continue F3_Go Back F5_Exit- 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_Continue F3_Go Back F5_Exit- 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, savingas 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 ofSolaris 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 ofyour actions will be displayed.----------------------------------------------------------------------F2_Upgrade F3_Go Back F4_Initial F5_Exit F6_Help- Initializing -------------------------------------------------------The system is being initialized.Loading install media, please wait...- License ------------------------------------------------------------- Sun Microsystems, Inc. ("Sun")| SOFTWARE LICENSE AGREEMENT|| READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE | OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA| PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE| ACCESSING SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF | THESE TERMS BY SELECTING THE "ACCEPT"(OR EQUIVALENT) BUTTON AT| THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE| TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF| PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY, | SELECT THE "DECLINE" (OR EQUIVALENT) BUTTON AT THE END OF THIS| AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS| ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS | 1-6 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL| SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS | SOFTWARE.|v 1. Definitions.----------------------------------------------------------------------F-2_Accept License F5_Exit-- Select Geographic Regions -----------------------------------------Select the geographic regions for which support should be installed.> [ ] Australasia> [ ] Asia> [ ] Eastern Europe> [ ] Northern Europe> [ ] Northern Africa> [ ] Middle EastV [/] Southern Europe[ ] Catalan, Spain (ISO8859-1)[ ] Cyprus (Greek) (UTF-8)[ ] Greece (ISO8859-7)[X] Italian[X] Italy (ISO8859-1)[ ] Malta (English) (UTF-8)[ ] Malta (UTF-8)[ ] Portugal (ISO8859-1)[ ] Spain (ISO8859-1)Press Return to hide components-------------------------------------------------------------------------------- F-2_Continue F3_Go Back F5_Exit F6_Help- Select System Locale ---------------------------------------------------------Select the initial locale to be used after the system has been installed.[ ] POSIX C ( C )Western Europe[ ] Great Britain (ISO8859-1) ( en_GB.ISO8859-1 )[ ] Great Britain (ISO8859-15 - Euro) ( en_GB.ISO8859-15 )[X] Great Britain (UTF-8) ( en_GB.UTF-8 )----------------------------------------------------------------------F-2_Continue F3_Go Back F5_Exit F6_Help- Select Products ----------------------------------------------------Select the products you would like to install.V [X] Solaris 10 Extra Value Software................. 69.92 MB[X] Sun Validation Test Suite 6.3................... 69.92 MBProduct is selected. Press Return to deselect----------------------------------------------------------------------F-2_Continue F3_Go Back F-4_Product Info F5_Exit F6_Help- Additional Products ------------------------------------------------To scan for additional products, select the location you wish to scan. Products found at the selected location that are in a Web Start Ready install form will be added to the Products list.Web Start Ready product scan location:[X] None[ ] CD/DVD[ ] Network File System----------------------------------------------------------------------F-2_Continue F3_Go Back F5_Exit- Select Software ----------------------------------------------------Select the Solaris software to install on the system.NOTE: After selecting a software group, you can add or remove software bycustomizing it. However, this requires understanding of softwaredependencies and how Solaris software is packaged.[X] Entire Distribution plus OEM support ....... 5617.00 MB[ ] Entire Distribution ........................ 5573.00 MB[ ] Developer System Support ................... 5460.00 MB[ ] End User System Support .................... 4444.00 MB[ ] Core System Support ........................ 971.00 MB[ ] Reduced Networking Core System Support ..... 920.00 MB---------------------------------------------------------------------F-2_Continue F3_Go Back F4_Customize F5_Exit F6_Help- Select Disks -------------------------------------------------------On this screen you must select the disks for installing Solaris software.Start by looking at the Suggested Minimum field; this value is theapproximate space needed to install the software you've selected. Keepselecting disks until the Total Selected value exceeds the Suggested Minimum value.NOTE: ** denotes current boot diskDisk Device Available Space====================================================================== [X] c1t0d0 69994 MB (F4 to edit)[ ] c1t1d0 69994 MBTotal Selected: 69994 MBSuggested Minimum: 4372 MB----------------------------------------------------------------------F-2_Continue F3_Go Back F4_Edit F5_Exit F6_Help- Preserve Data? -----------------------------------------------------Do you want to preserve existing data? At least one of the disks you'veselected for installing Solaris software has file systems or unnamed slicesthat you may want to save.----------------------------------------------------------------------F-2_Continue F3_Go Back F4_Preserve F5_Exit F6_Help- Automatically Layout File Systems? ---------------------------------Do you want to use auto-layout to automatically layout file systems?Manually laying out file systems requires advanced system administrationskills.----------------------------------------------------------------------F2_Auto Layout F3_Go Back F4_Manual Layout F5_Exit F6_Help- File System and Disk Layout ----------------------------------------The summary below is your current file system and disk layout, based on the information you've supplied.NOTE: If you choose to customize, you should understand file systems, theirintended purpose on the disk, and how changing them may affect the operationof the system.File sys/Mnt point Disk/Slice Size====================================================================== overlap c1t0d0s2 69994 MB----------------------------------------------------------------------F-2_Continue F3_Go Back F4_Customize F5_Exit F6_Help- Customize Disk: c1t0d0 ---------------------------------------------Boot Disk: c1t0d0Entry: Recommended: MB Minimum: MB====================================================================== Slice Mount Point Size (MB)0 01 02 overlap 699943 04 05 06 07 0====================================================================== Capacity: 69994 MBAllocated: 0 MBFree: 69994 MB--------------------------------------------------------------------------------F-2_OK F-4_Options F5_Cancel F6_Help- Customize Disk: c1t0d0 -------------------------------------------------------Boot Disk: c1t0d0Entry: swap Recommended: 0 MB Minimum: 0 MB====================================================================== Slice Mount Point Size (MB)0 / 143391 swap 81932 overlap 699943 /opt 266274 05 06 /export/home 204817 0====================================================================== Capacity: 69994 MBAllocated: 69640 MBRounding Error: 2 MBFree: 352 MB----------------------------------------------------------------------F-2_OK F-4_Options F5_Cancel F6_Help- File System and Disk Layout ----------------------------------------The summary below is your current file system and disk layout, based on the information you've supplied.NOTE: If you choose to customize, you should understand file systems, theirintended purpose on the disk, and how changing them may affect the operationof the system.File sys/Mnt point Disk/Slice Size====================================================================== / c1t0d0s0 14339 MBswap c1t0d0s1 8193 MBoverlap c1t0d0s2 69994 MB/opt c1t0d0s3 26627 MB/export/home c1t0d0s6 20481 MB----------------------------------------------------------------------F-2_Continue F3_Go Back F4_Customize F5_Exit F6_Help- Mount Remote File Systems? -----------------------------------------Do you want to mount software from a remote file server? This may benecessary if you had to remove software because of disk space problems.----------------------------------------------------------------------F-2_Continue F3_Go Back F4_Remote Mounts F5_Exit F6_Help- 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: Great Britain (ISO8859-1)| System Locale: Great Britain (UTF-8) ( en_GB.UTF-8|| Software: Solaris 10, Entire Distribution plus OEM su|| File System and Disk Layout: / c1t0d0s0 14339 MB| swap c1t0d0s1 8193 MB| /opt c1t0d0s3 26627 MB| /export/home c1t0d0s6 20481 MBv----------------------------------------------------------------------F-2_Begin Installation F4_Change F5_Exit F6_Help- Warning ------------------------------------------------------------The following disk configuration condition(s) have beendetected. Errors must be fixed to ensure a successfulinstallation. Warnings can be ignored without causing theinstallation to fail.WARNING: Unused disk space (c1t0d0)WARNING: CHANGING DEFAULT BOOT DEVICEYou have either explicitly changed the default boot device, oraccepted the default to "Reconfigure EEPROM". In either case,the system's EEPROM will be changed so it will always bootSolaris from the device that you've specified. If this is notwhat you had in mind, go back to the disk selection screens andchange the "Reconfigure EEPROM" setting.----------------------------------------------------------------------F-2_OK F5_Cancel。
Solaris网络安装
Solaris网络安装通过本地网络安装solaris 10 10/08(sparc)安装环境:服务器端:PC机安装的solaris 10 10/08$ uname -aSunOS sol1 5.10 Generic_137138-09 i86pc i386 i86pc客户机:SUN E450服务器端配置:1、建立网络共享目录mkdir /export/home/cuug2、将solaris 10 for sparc cdrom上的文件拷贝到共享目录下cd /cdrom/solaris_10/Solaris_10/Tools./setup_install_server /export/home/cuug3、在服务器上配置客户机网络信息1)查看需要安装系统的客户机的mac地址,在客户机上的OK下,OK》banner ,得到mac地址2)vi /etc/ethers客户mac 主机名3)vi /etc/hosts分配给客户端的ip地址主机名4、设置客户机启动bootromcd /export/home/sol10/Solaris_10/Tools./add_install_client -s 服务器IP地址: /export/home/cuug -e 客户机mac地址客户器主机名sun4u5、通过nfs共享安装目录vi /etc/dfs/dfstab# shareall# share 查看share# ps -ef| grep nfs6、开启tftp 服务在/etc/inetd.conf 下将tftp前的“#”,去掉。
1)把下面的内容前面的#去掉/etc/inetd.conftftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot2)执行下面的命令把服务添加到svc的控制列表中inetconv -i /etc/inetd.conf 1>/dev/null 2>&13)使用svcadm命令开启svcadm enable svc:/network/tftp/udp6:default4)验证bash-3.00# netstat -a |grep tftp*.tftp Idle*.tftp Idle客户机通过网络启动,并进行网络安装ok状态下:boot net -v - install在客户机获得IP:192.168.3.123时,正常该IP是可以ping通,但本次安装则ping不通,该过程需要很长一段时间,-v参数可以看到详细输出,以免在3a000后没有耐心等待就中断安装,教训啊。
Solaris 10 6 06 网络安装指南说明书
Solaris106/06安装指南:基于网络的安装Sun Microsystems,Inc.4150Network CircleSanta Clara,CA95054U.S.A.文件号码819–6278–102006年5月版权所有2006Sun Microsystems,Inc.4150Network Circle,Santa Clara,CA95054U.S.A.保留所有权利。
对于本文档中介绍的产品,Sun Microsystems,Inc.对其所涉及的技术拥有相关的知识产权。
需特别指出的是(但不局限于此),这些知识产权可能包含一项或多项美国专利,或在美国和其他国家/地区申请的待批专利。
美国政府权利-商业软件。
政府用户应遵循Sun Microsystems,Inc.的标准许可协议,以及FAR(Federal Acquisition Regulations,即“联邦政府采购法规”)的适用条款及其补充条款。
本发行版可能包含由第三方开发的内容。
本产品的某些部分可能是从Berkeley BSD系统衍生出来的,并获得了加利福尼亚大学的许可。
UNIX是X/Open Company,Ltd.在美国和其他国家/地区独家许可的注册商标。
Sun、Sun Microsystems、Sun徽标、Solaris徽标、Java咖啡杯徽标、、Java和Solaris是Sun Microsystems,Inc.在美国和其他国家/地区的商标或注册商标。
所有SPARC商标的使用均已获得许可,它们是SPARC International,Inc.在美国和其他国家/地区的商标或注册商标。
标有SPARC商标的产品均基于由Sun Microsystems,Inc.开发的体系结构。
OPEN LOOK和Sun TM图形用户界面是Sun Microsystems,Inc.为其用户和许可证持有者开发的。
Sun感谢Xerox在研究和开发可视或图形用户界面的概念方面为计算机行业所做的开拓性贡献。
Solaris 10 应用软件的安装载方法
在我们顺利安装完成solaris 10操作环境和作了一些基本的配置以后,并不是马上就万事大吉了。
尽管sun microsystem公司费尽心思的为用户收罗各种软件包,让这些随系统安装,但在实际的应用中,有好些是我们并不需要的(比如telnet服务),而我们需要的软件包不是没有就是不符合要求。
基于这样的情形,我们不得已需要手工安装某些软件包来完成我们的工作。
一、软件包的主要来源1、网站:sun软件包最主要的网站是,其次是各开源网站如 ,还有其他一些(如apache 的网站)。
如果不知道某个软件的下载地址,可以在里搜索。
2、购买光盘介质:这个应该不难理解通常而言,网站是软件包的主要来源,原因很简单:开源嘛!网站收集了常用的一些solaris软件包,并且符合solaris 软件安装标准。
用solaris的软件包安装真的很容易,后面我们会做介绍。
二、安装包下载到本地磁盘上一步我们知道从什么地方得到安装包,接下来,必须把这些包存放到运行solaris10的机器上。
wget似乎是一个很受欢迎的下载工具,情况也是如此。
不巧的是,solaris10本身不带wget这个工具,所以初始安装的系统还不能使用这个便利。
怎么办呢?先把文件下载到windows,然后用ssh secure file transfer把它传输到solaris 10的某个目录。
等到把wget安装好了以后,就不必绕这个弯子了。
笔者的习惯是先把文件下载到windows机器,然后用ssh secure file transfer工具传输到远程solaris10服务器。
下面总结一下这两种下载方法:1、wget下载。
例如下载apache到当前目录的命令为:wget ftp://ftp.sunfreeware.co m/pub/freeware/intel/10/apache-2.2.0-sol10-x86-local.gz 。
下载完成后,用命令# ls -al查看当前目录是否有刚才现在的文件存在。
【详细】SUN Solaris 10虚拟机安装手册
1.新建虚拟机,选择镜像文件,设置基本的信息后,进入系统初始化界面1.表示执行GUI安装,使用图形用户界面安装(下面使用此种安装方式)2.表示执行自动的自定义JumpStart 安装3.表示执行文本安装程序进行安装,会改写缺省的GUI 安装程序并运行文本安装程序。
4.表示执行文本安装程序在控制台会话中进行安装2.选择1后,系统检测安装组件3.选择安装语言:6(简体中文),按Enter4.显示将要安装的项目,点击’下一步’5.选择网络连接’联网的’,点击’下一步’6.选择是否用于DHCP,选择’否’,点击’下一步’7.设置主机名,任意输入,这里输入:solaris,点击’下一步’8.设置IP,输入:172.18.4.*.点击’下一步’[IP设置可以任意选择可用的IP即可]9.设置网络掩码’255.255.255.0’,点击’下一步’[默认为255.255.255.0]10.设置IPV6,选择’否’,点击’下一步’11.设置缺省路由,选择’无’,点击’下一步’[依情况而定,可以指定路由器]12.设置Kerberos,选择‘否’,点击‘下一步’13.设置服务,选择‘无’,点击‘下一步’【可以设置相应的服务】14.设置时区,选择‘地域性的洲、国家、地区’,点击‘下一步’15.选择‘亚洲---中国’,点击‘下一步’16.设置日期和时间,默认自动获取,点击‘下一步’17.设置超级用户的密码,输入密码并确认后点击‘下一步’18.确认安装信息,点击‘确认’19.开始安装系统,点击‘下一步’20.设置安装选项,均选择‘是’,在通知窗口点击‘确定’21.选择系统的介质,选择‘CD/DVD’22.接受许可证并点击‘下一步’23.选择安装类型,选择‘缺省安装’,点击‘下一步’24.立即安装25.正在安装系统,等待安装100%。
solaris10安装
Solaris 10 系统安装安装步骤如下:1.已经运行的系统或者重新安装的系统里面键入stop +a,中断操作系统的运行(stop键为SUN键盘专有的键,两个键同时按住)进入ok状态。
2.键入boot cdrom插入Unix第一张安装盘,自动重起,开始安装系统;直到出现Detecting locale会有很长的一段时间在检测网络等设备3.出现选择语言的界面,为整个系统选择语言,此步选择6,即简体中文。
Please make a choice (0-9),or press h or ? for help 6 cr出现solaris 安装控制台4、在下一步时,选择网络连续:选:非联网的。
否则将导致smc服务不能工作5、在下一步时,要求输入主机名:scada10805版本会有一步是否使用系统自动派分的DFSv4域,选择是,再下一步6、时区选择:选择中国,下一步,日期和时间默认后下一步。
7、输入超级用户root的口令。
11118、正在启用远程服务选项,选择:是;务必选“是”否则FTP网络服务不可用9、确认之后,solaris开始安装。
这之后两步按默认的来。
开始初始化安装。
10、选择安装程序的安装方式:升级或者初始(即重新安装)并确认继续安装11、选择安装类型为自定义12、选择语言环境,中文的全选,英文的北美13、选择系统语言环境为中文(ZH)。
附加产品选择无14、选择solaris软件组,为缺省的整个群组以及OEM下面会提示是否保留已有数据,选择否15、磁盘的分配、可以根据实际情况,分配,主要注意:第一项:/―――2000,/为根目录,要求不小于200MB;第二项:swap―――交换区,2000或4000,两倍内存 (例如:1G内存配置为2000,2G内存配置为4000);/export/home―――56981或54979 (剩余的空间,与第二项相关),此项是一般用户的家目录。
对大硬盘可以根据实际来。
Sun-Solaris10SPARC网络安装操作系统-虚拟机
虚拟机网络安装Solaris10 Sparc 系统1.概述在安装Solaris 操作系统时,如果设备光驱故障,又无法从别的设备进行网络安装,通过装有Solaris系统的虚拟机引导安装系统是最方便的办法。
主要讲述Oracle VM VirtualBox虚拟机引导安装Solaris Sparc 平台操作系统。
2.安装准备1.下载Oracle VM VirtualBox虚拟机软件;2.下载Solaris10 X86和Sparc平台ISO文件;3.安装3.1.1.安装Oracle VM VirtualBox虚拟机Oracle VM VirtualBox虚拟机软件的安装不做详细说明,一直【下一步】即可;3.1.2.安装Solaris_X86虚拟机Solaris虚拟机的安装我们也不做详细说明,可参考《VirtualBox虚拟机安装Solaris10 X86系统》;3.1.3.Solaris配置和安装3.1.3.1.设置虚拟机:【网络】设置:连接到物理网卡(物理PC上配置上网IP为10.233.23.142的网卡)【存储】设置:光盘加载Solaris 10 sparc的ISO文件,显示如下:点击【启动】启动Solaris x86系统查看光盘文件:系统启动后,可以看到已经挂在的Solaris 10 for sparc的系统盘;3.1.3.2.检查个人电脑和网络个人电脑ip地址的配置需要跟虚拟机Solaris系统在同一网段,并且保证通信;虚拟机ip地址:个人电脑地址:连通性:注意:只有个人电脑网卡UP的时候,虚拟机才能ping通个人电脑IP地址;3.1.3.3.确定Blade2500安装网口和MAC地址个人电脑网口与Sun Blade 2500网口直连或在同一VLAN;ok show-nets //查看系统网卡列表a) /pci@1e,600000/pci@4/network@3b) /pci@1e,600000/pci@4/network@2c) /pci@1e,600000/pci@4/network@1d) /pci@1e,600000/pci@4/network@0e) /pci@1c,600000/network@3q) NO SELECTIONEnter Selection, q to quit: qok select /pci@1e,600000/pci@4/network@0/pci@1e,600000/pci@4/network@0: 1000 Mbps full duplex link up//用select 或watch-net-all查看Sun Blade 2500 UP状态的网卡ok watch-net-all/pci@1e,600000/pci@4/network@3/pci@1e,600000/pci@4/network@3: link down/pci@1e,600000/pci@4/network@2/pci@1e,600000/pci@4/network@2: link down/pci@1e,600000/pci@4/network@1/pci@1e,600000/pci@4/network@1: link down/pci@1e,600000/pci@4/network@0/pci@1e,600000/pci@4/network@0: 1000 Mbps full duplex link upWatch ethernet packets'.' is a good packet and 'X' is a bad packetPress any key to stop...../pci@1c,600000/network@31000 Mbps FDX Link upLooking for Ethernet Packets.'.' is a Good Packet. 'X' is a Bad Packet.Type any key to stop.okok选择Sun Blade 2500 安装网口并确认MAC地址;这里我们选择用PCI网卡板上的第一个网口(即/pci@1e,600000/pci@4/network@0)安装,确定该网卡MAC地址(00:14:4f:69:8e:00)ok cd /pci@1e,600000/pci@4/network@0 //进入网卡路径ok .properties //查看.properties文件确认该网卡MACmac-address 00 14 4f 69 8e 00link-clock autoduplex autospeed autoassigned-addresses 82020010 00000000 03200000 00000000 0020000082020030 00000000 03100000 00000000 00100000d-fru-len 00000000d-fru-off 0000e800d-fru-dev eeproms-fru-len 00000800s-fru-off 0000e000s-fru-dev eepromcompatible pci100b,35.30pci100b,35pciclass,020000pciclass,0200pci108e,abbareg 00020000 00000000 00000000 00000000 0000000002020010 00000000 00000000 00000000 0020000002020030 00000000 00000000 00000000 00100000address-bits 00000030max-frame-size 00004000network-interface-type ethernetdevice_type networkname networklocal-mac-address 00 14 4f 69 8e 00version Sun Quad Gigaswift PCI-X adapter FCode 2.13 04/11/09phy-type mifboard-model 501-6738model SUNW,pci-x-qgeok3.1.3.4.配置Server服务器◆在虚拟机创建存放镜像文件的共享目录bash-3.2# mkdir –p /quan/iso◆进入光盘系统目录,安装Server启动程序bash-3.2# cd /cdrom/Sol_10_113_sparc/Solaris_10/Tools/bash-3.2# lsBoot add_install_client rm_install_clientInstallers dial setup_install_serverbash-3.2# ./setup_install_server /quan/iso/Verifying target directory...Calculating the required disk space for the Solaris_10 productCalculating space required for the installation boot imageCopying the CD image to disk...Copying Install Boot Image hierarchy...Copying /boot netboot hierarchy...Install Server setup completebash-3.2#cd /quan/isobash-3.2# du -sh * //查看文件及大小4K Copyright2K Offer_to_Provide_Source_Code.txt1.9G Solaris_10226M boot1K installer10K platformbash-3.2#◆共享安装文件存放的目录bash-3.2# share -F nfs -o ro,anon=0 -d "install server directory" /quan/iso //临时共享/quan/iso也可把上命令添加到/etc/dfs/dfstab中运行shareall永久共享bash-3.2# share //查看共享文件- /quan/iso ro,anon=0 " install server directory "bash-3.2#bash-3.2# showmount -e localhostlocalhost 的导出列表:/quan/iso (每一个)bash-3.2#◆启动tftp服务bash-3.2# vi /etc/inet/inetd.conf## Copyright 2004 Sun Microsystems, Inc. All rights reserved.# Use is subject to license terms.##ident "@(#)inetd.conf 1.56 04/10/21 SMI"## Legacy configuration file for inetd(1M). See inetd.conf(4).## This file is no longer directly used to configure inetd.# The Solaris services which were formerly configured using this file# are now configured in the Service Management Facility (see smf(5))# using inetadm(1M).## Any records remaining in this file after installation or upgrade,# or later created by installing additional software, must be converted# to smf(5) services and imported into the smf repository using# inetconv(1M), otherwise the service will not be available. Once# a service has been converted using inetconv, further changes made to# its entry here are not reflected in the service.### CacheFS daemon. Provided only as a basis for conversion by inetconv(1M).#100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd# TFTPD - tftp server (primarily used for booting)tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot bash-3.2# //删除最后一行前面的#注释bash-3.2# svcadm enable svc:/network/tftp/udp6:defaultsvcadm: 模式 'svc:/network/tftp/udp6:default' 与所有实例都不匹配//开启tftp服务报错bash-3.2# inetconv -i /etc/inet/inetd.conf 1>/dev/null 2>&1//将 /etc/inet/inetd.conf 项转换为 SMF 服务清单bash-3.2# svcadm enable svc:/network/tftp/udp6:default//重新开启tftp服务bash-3.2# svcs -a|grep tftp //查看tftp服务状态online 11:08:51 svc:/network/tftp/udp6:defaultbash-3.2# netstat -a | grep tftp*.tftp Idle*.tftp Idle bash-3.2#bash-3.2#3.1.3.5.添加客户端配置信息◆修改/etc/hosts 文件添加Sun Blade 2500系统的IP地址和主机名bash-3.2# vi /etc/hosts## Internet host table#::1 localhost127.0.0.1 localhost10.233.23.159 Solaris10-test loghost10.233.23.144 quan-test02bash-3.2#注意:网络引导的Server和Client的IP地址必须在同一网段;◆修改/etc/ether,添加网口MAC地址和主机名bash-3.2# vi /etc/ethers00:14:4f:69:8e:00 quan-test02bash-3.2#3.1.3.6.生成客户端启动文件bash-3.2# cd /quan/isobash-3.2# lsCopyright Solaris_10 installerOffer_to_Provide_Source_Code.txt boot platformbash-3.2# cd ./Solaris_10/Tools/bash-3.2# lsBoot add_install_client rm_install_clientInstallers dial setup_install_serverbash-3.2# ./add_install_client -e 00:14:4f:69:8e:00 quan-test02 sun4usaving original /etc/dfs/dfstab in /etc/dfs/dfstab.origAdding "share -F nfs -o ro,anon=0 /quan/iso" to /etc/dfs/dfstabmaking /tftpbootenabling network/rarp serviceenabling network/rpc/bootparams serviceupdating /etc/bootparamscopying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1bash-3.2# //生成客户端启动文件bash-3.2#bash-3.2#bash-3.2# more /etc/bootparams //查看生成的配置文件信息quan-test01 root=Solaris10-test:/quan/iso/Solaris_10/Tools/Boot install=Solaris10-test:/quan/iso boottype=:in rootopts=:rsize=8192bash-3.2# pwd/quan/iso/Solaris_10/Toolsbash-3.2# ls /tftpboot/0AE9178F 0AE91791.SUN4U rm.10.233.23.1440AE9178F.SUN4U 0AE91792 rm.10.233.23.1450AE91790 0AE91792.SUN4U rm.10.233.23.1460AE91790.SUN4U inetboot.SUN4U.Solaris_10-1 tftpboot0AE91791 rm.10.233.23.143bash-3.2#bash-3.2#注意: IP和MAC对应的主机名必须唯一一致,否则可能安装失败;3.1.3.7.安装操作系统okok boot /pci@1e,600000/pci@4/network@0Sun Blade 2500, No KeyboardCopyright 1998-2003 Sun Microsystems, Inc. All rights reserved.OpenBoot 4.9.7, 4096 MB memory installed, Serial #60984762.Ethernet address 0:3:ba:a2:8d:ba, Host ID: 83a28dba.Rebooting with command: boot /pci@1e,600000/pci@4/network@0Boot device: /pci@1e,600000/pci@4/network@0 File and args:/pci@1e,600000/pci@4/network@0: 1000 Mbps full duplex link upTimeout waiting for ARP/RARP packetTimeout waiting for ARP/RARP packetTimeout waiting for ARP/RARP packetTimeout waiting for ARP/RARP packetTimeout waiting for ARP/RARP packet3a000 /pci@1e,600000/pci@4/network@0: 1000 Mbps full duplex link upRequesting Internet address for 0:14:4f:69:8e:0SunOS Release 5.10 Version Generic_147147-26 64-bitCopyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved. Configuring devices.Using RPC Bootparams for network configuration information.Attempting to configure interface bge0...Skipped interface bge0Attempting to configure interface ce3...Skipped interface ce3Attempting to configure interface ce2...Skipped interface ce2Attempting to configure interface ce1...Skipped interface ce1Attempting to configure interface ce0...Configured interface ce0svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mountSetting up Java. Please wait...Serial console, reverting to text installBeginning system identification...Searching for configuration file(s)...Search complete.Discovering additional network configuration...注意:上面黄色部分会出现网口闪断,属于正常状态;Select a Language0. English1. Brazilian Portuguese2. French3. German4. Italian5. Japanese6. Korean7. Simplified Chinese8. Spanish9. Swedish10. Traditional ChinesePlease make a choice (0 - 10), or press h or ? for help: 0What type of terminal are you using?1) ANSI Standard CRT2) DEC VT523) DEC VT1004) Heathkit 195) Lear Siegler ADM316) PC Console7) Sun Command Tool8) Sun Workstation9) Televideo 91010) Televideo 92511) Wyse Model 5012) X Terminal Emulator (xterms)13) CDE Terminal Emulator (dtterm)14) OtherType the number of your choice and press Return: 3- The Oracle Solaris Installation Program --------------------------------------The Solaris installation program is divided into a series of short sectionswhere you'll be prompted to provide information for the installation. Atthe end of each section, you'll be able to change the selections you'vemade before continuing.About navigation...- The mouse cannot be used- If your keyboard does not have function keys, or they do notrespond, press ESC; the legend at the bottom of the screenwill change to show the ESC keys to use for navigation.-------------------------------------------------------------------------------- F2_Continue F6_Help- Identify This System ---------------------------------------------------------On the next screens, you must identify this system as networked ornon-networked, and set the default time zone and date/time.If this system is networked, the software will try to find the informationit needs to identify your system; you will be prompted to supply anyinformation it cannot find.> To begin identifying this system, press F2.-------------------------------------------------------------------------------- F2_Continue F6_Help- Configure Multiple Network Interfaces ----------------------------------------Multiple network interfaces have been detected on this system. Specify allof the network interfaces you want to configure.Note: You must choose at least one interface to configure.Network interfaces------------------[X] bge0[ ] ce0[ ] ce1[ ] ce2[ ] ce3-------------------------------------------------------------------------------- F2_Continue F6_Help- Subnet for bge0 --------------------------------------------------------------On this screen you must specify whether this system is part of a subnet. If you specify incorrectly, the system will have problems communicating on thenetwork after you reboot.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].System part of a subnet-----------------------[X] Yes[ ] No-------------------------------------------------------------------------------- F2_Continue F6_Help- Netmask for bge0 -------------------------------------------------------------On this screen you must specify the netmask of your subnet. A defaultnetmask is shown; do not accept the default unless you are sure it iscorrect for your subnet. A netmask must contain four sets of numbersseparated by periods (for example 255.255.255.0).Netmask for bge0 255.255.255.128-------------------------------------------------------------------------------- F2_Continue F6_Help- IPv6 for bge0 ----------------------------------------------------------------Specify whether or not you want to enable IPv6, the next generation Internet Protocol, on this network interface. Enabling IPv6 will have no effect ifthis machine is not on a network that provides IPv6 service. IPv4 servicewill not be affected if IPv6 is enabled.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Enable IPv6 for bge0--------------------[ ] Yes[X] No-------------------------------------------------------------------------------- F2_Continue F6_Help- IPv6 for bge0 ----------------------------------------------------------------Specify whether or not you want to enable IPv6, the next generation Internet Protocol, on this network interface. Enabling IPv6 will have no effect ifthis machine is not on a network that provides IPv6 service. IPv4 servicewill not be affected if IPv6 is enabled.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Enable IPv6 for bge0--------------------[ ] Yes[X] NoPlease wait...-------------------------------------------------------------------------------- F2_Continue F6_Help- Set the Default Route for bge0 -----------------------------------------------To specify the default route, you can let the software try to detect oneupon reboot, you can specify the IP address of the router, or you can choose None. Choose None if you do not have a router on your subnet.> To make a selection, use the arrow keys to select your choice and pressReturn to mark it [X].Default Route for bge0--------------------------[ ] Detect one upon reboot[X] Specify one[ ] None-------------------------------------------------------------------------------- F2_Continue F6_Help- Default Route IP Address for bge0 --------------------------------------------Enter the IP address of the default route. This entry will be placed in the/etc/defaultrouter file and will be the default route after you reboot(example 129.146.89.225).Router IP Address for bge0 10.233.23.129-------------------------------------------------------------------------------- F2_Continue F6_Help- Confirm Information for bge0 -------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.System part of a subnet: YesNetmask: 255.255.255.128Enable IPv6: NoDefault Route: Specify oneRouter IP Address: 10.233.23.129-------------------------------------------------------------------------------- F2_Continue F4_Change F6_Help- Configure Security Policy: --------------------------------------------------- Specify Yes if the system will use the Kerberos security mechanism.Specify No if this system will use standard UNIX security.Configure Kerberos Security---------------------------[ ] Yes[X] No-------------------------------------------------------------------------------- F2_Continue F6_Help- Confirm Information ----------------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Configure Kerberos Security: No-------------------------------------------------------------------------------- F2_Continue F4_Change F6_Help- Name Service -----------------------------------------------------------------On this screen you must provide name service information. Select the nameservice that will be used by this system, or None if your system will either not use a name service at all, or if it will use a name service not listedhere.> To make a selection, use the arrow keys to highlight the optionand press Return to mark it [X].Name service------------[ ] NIS+[ ] NIS[ ] DNS[ ] LDAP[X] None-------------------------------------------------------------------------------- F2_Continue F6_Help- Confirm Information ----------------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Name service: None-------------------------------------------------------------------------------- F2_Continue F4_Change F6_Help- NFSv4 Domain Name ------------------------------------------------------------NFS version 4 uses a domain name that is automatically derived from thesystem's naming services. The derived domain name is sufficient for mostconfigurations. In a few cases, mounts that cross domain boundaries mightcause files to appear to be owned by "nobody" due to the lack of a commondomain name.The current NFSv4 default domain is: ""NFSv4 Domain Configuration----------------------------------------------[X] Use the NFSv4 domain derived by the system[ ] Specify a different NFSv4 domain-------------------------------------------------------------------------------- F2_Continue F6_Help- Confirm Information for NFSv4 Domain -----------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.NFSv4 Domain Name: << Value to be derived dynamically >>-------------------------------------------------------------------------------- F2_Continue F4_Change F6_Help- Time Zone --------------------------------------------------------------------On this screen you must specify your default time zone. You can specify atime zone in three ways: select one of the continents or oceans from thelist, select other - offset from GMT, or other - specify time zone file.> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Continents and Oceans----------------------------------- [ ] Africa| [ ] Americas| [ ] Antarctica| [ ] Arctic Ocean| [X] Asia| [ ] Atlantic Ocean| [ ] Australia| [ ] Europev [ ] Indian Ocean-------------------------------------------------------------------------------- F2_Continue F6_Help- Country or Region ------------------------------------------------------------> To make a selection, use the arrow keys to highlight the option andpress Return to mark it [X].Countries and Regions------------------------- [ ] Afghanistan| [ ] Armenia| [ ] Azerbaijan| [ ] Bahrain| [ ] Bangladesh| [ ] Bhutan| [ ] Brunei| [ ] Cambodia| [X] China| [ ] Cyprus| [ ] East Timor| [ ] Georgiav [ ] Hong Kong-------------------------------------------------------------------------------- F2_Continue F6_Help- Date and Time ----------------------------------------------------------------> Accept the default date and time or enternew values.Date and time: 2014-11-12 15:21Year (4 digits) : 2014Month (1-12) : 11Day (1-31) : 12Hour (0-23) : 15Minute (0-59) : 21-------------------------------------------------------------------------------- F2_Continue F6_Help- Confirm Information ----------------------------------------------------------> Confirm the following information. If it is correct, press F2;to change any information, press F4.Time zone: PRCDate and time: 2014-11-12 15:21:00-------------------------------------------------------------------------------- F2_Continue F4_Change F6_Help- Root Password ---------------------------------------------------------------- Please enter the root password for this system.The root password may contain alphanumeric and special characters. Forsecurity, the password will not be displayed on the screen as you type it.> If you do not want a root password, leave both entries blank.Root password: *******Root password: *******-------------------------------------------------------------------------------- F2_Continue F6_Help- Enabling remote services ----------------------------------------------------- Would you like to enable network services for use by remote clients?Selecting "No" provides a more secure configuration inwhich Secure Shell is the only network service provided toremote clients. Selecting "Yes" enables a larger set ofservices as in previous Solaris releases. If in doubt, it issafe to select "No" as any services can be individually enabledafter installation.Note: This choice only affects initial installs. It doesn't affect upgrades.Remote services enabled-----------------------[X] Yes[ ] No-------------------------------------------------------------------------------- F2_Continue F6_Help- Provide Oracle Configuration Manager Registration Information ----------------To improve products and services, Oracle Solaris communicates configurationdata to Oracle after rebooting.You can register your version of Oracle Solaris to capture this data foryour use, or the data is sent anonymously.For information about what configuration data is communicated and how tocontrol this facility, see the Release Notes or/goto/solarisautoreg> Use the arrow keys to select the option and press Return tomark it [X].-----------------------------------------------------------------[X] I would like to register using My Oracle Support information.-------------------------------------------------------------------------------- F2_Continue F6_Help- Provide Oracle Configuration Manager Registration Information ----------------To register, complete the following fields:- Confirm your existing My Oracle Support information.- If using a proxy server, provide the proxy settings.Provide your email address to be informed of security issues, install andinitiate Oracle Configuration Manager. Easier for you if you use your MyOracle Support Email Address/User Name.For information about what configuration data is communicated and how tocontrol this facility, see the Release Notes or/goto/solarisautoregProvide your My Oracle Support password to receive security updates via your My Oracle Support account.User Name/Email: My Oracle Support Password:Proxy Server Host Name:Proxy Server Port Number:HTTP Proxy User Name:-------------------------------------------------------------------------------- F2_Continue F6_HelpSystem identification is completed.System identification complete.Starting Solaris installation program...Executing JumpStart preinstall phase...Searching for SolStart directory...Checking rules.ok file...Using begin script: install_beginUsing finish script: patch_finishExecuting SolStart preinstall phase...Executing begin script "install_begin"...Begin script install_begin execution completed.- Solaris Interactive Installation ---------------------------------------------On the following screens, you can accept the defaults or you can customizehow Solaris software will be installed by:- Selecting the type of Solaris software to install- Selecting disks to hold software you've selected- Selecting unbundled products to be installed with Solaris- Specifying how file systems are laid out on the disksAfter completing these tasks, a summary of your selections (called aprofile) will be displayed.There are two ways to install your Solaris software:- "Standard" installs your system from a standard Solaris Distribution.Selecting "Standard" allows you to choose between initial installand upgrade, if your system is upgradable.- "Flash" installs your system from one or more Flash Archives.-------------------------------------------------------------------------------- F2_Standard F4_Flash F5_Exit F6_Help- iSCSI Installation ----------------------------------------------------------- Do you want to install Oracle Solaris 10 on an iSCSI target?NOTE: You must have created the iSCSI target before beginning the OSinstallation and the target system should be running Oracle Solaris 11 orSolaris 10 U5 or greater.If you choose to install the OS on a non-iSCSI target, you will be takendirectly to the Oracle Solaris 10 installation screens.[X] Install on non-iSCSI target[ ] Install on iSCSI target-------------------------------------------------------------------------------- F2_Continue F3_Go Back F5_Exit- Eject a CD/DVD Automatically? ------------------------------------------------During the installation of Solaris software, you may be using one or moreCDs/DVDs. You can choose to have the system eject each CD/DVD automaticallyafter it is installed or you can choose to manually eject each CD/DVD.[X] Automatically eject CD/DVD[ ] Manually eject CD/DVD-------------------------------------------------------------------------------- F2_Continue F3_Go Back F5_Exit- Reboot After Installation? ---------------------------------------------------After Solaris software is installed, the system must be rebooted. You canchoose to have the system automatically reboot, or you can choose tomanually reboot the system if you want to run scripts or do othercustomizations before the reboot. You can manually reboot a system by using the reboot(1M) command.[X] Auto Reboot[ ] Manual Reboot-------------------------------------------------------------------------------- F2_Continue F3_Go Back F5_Exit- Choose Media -----------------------------------------------------------------Please specify the media from which you will install the Solaris OperatingSystem.Media:[ ] CD/DVD[X] Network File System-------------------------------------------------------------------------------- F2_Continue F3_Go Back F5_Exit- Specify Network File System Path ---------------------------------------------Please specify the path to the network file system from which you willinstall the Solaris Operating System. Example:NFS Location: server:/path_to_Solaris_image============================================================================NFS Location: 10.233.23.159:/quan/iso-------------------------------------------------------------------------------- F2_Continue F3_Go Back- Solaris Interactive Installation ---------------------------------------------This system is upgradable, so there are two ways to install the Solarissoftware.The Upgrade option updates the Solaris software to the new release, savingas many modifications to the previous version of Solaris software aspossible. Back up the system before using the Upgrade option.The Initial option overwrites the system disks with the new version ofSolaris software. This option allows you to preserve any existing filesystems. Back up any modifications made to the previous version of Solarissoftware before starting the Initial option.After you select an option and complete the tasks that follow, a summary ofyour actions will be displayed.-------------------------------------------------------------------------------- F2_Upgrade F3_Go Back F4_Initial F5_Exit F6_Help由于硬盘中有原来的操作系统,选择初始化安装。
Solaris 10 操作系统安装-2
39
软件包管理
The pkginfo command
不加任何参数用于查看系统已经安装的软件包 # pkginfo | more <SOME&NBSP;OUTPUT&NBSP;OMITTED> application SUNWAxg Solaris XGL 3.3 AnswerBook application SUNWaadm Solaris 7 System Administrator Collection system SUNWab2m Solaris Documentation Server Lookup system SUNWab2r Solaris Documentation Server system SUNWab2s Solaris Documentation Server system SUNWab2u Solaris Documentation Server application SUNWabda Sun Ultra 5/10 Hardware AnswerBook application SUNWabe Solaris 7 User Collection application SUNWabsdk Solaris 7 Software Developer Collection .
1
操作系统安装 光盘安装操作系统 Ok boot cdrom
SunOS Release 5.10 Version Generic_137137-09 64-bit Copyright 1983-2008 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 e1000g3... Skipped interface e1000g3 Attempting to configure interface e1000g2... Skipped interface e1000g2 Attempting to configure interface e1000g1... Skipped interface e1000g1 Attempting to configure interface e1000g0... Skipped interface e1000g0 Reading ZFS config: done. Setting up Java. Please wait... Serial console, reverting to text install Beginning system identification... Searching for configuration file(s)... Search complete. Discovering additional network configuration...
网络安装Solaris 10
网络安装Solaris 10
——虚拟机配置部分1.打开虚拟机中Solaris 10 系统,输入用户名。
2.输入密码,Ok确认。
3.进入系统后,打开终端。
4.输入bash,后输入vi /etc/hosts,进入hosts。
并查看本虚拟机IP为192.168.1.1
5.将虚拟机网络连接改为“桥接模式”。
6.将笔记本电脑的以太网IP地址改为:192.168.1.2(与虚拟机IP为一个网段)
7.添加服务器IP地址及用户名。
(IP地址与虚拟机及本机IP为一个网段)
8.在虚拟机设置中,将Solaris 10 Sparc版本挂载到CD中。
9.关闭并重启虚拟机CD,使挂载生效。
10.转到CD目录下,输入ls命令,查看是否挂载成功。
11. 开启服务器root远程管理,输入vi /etc/ssh/sshd_config修改ssh配置文件,将PermitRootLogin参数改为yes。
(用vi修改文件前,需进行文件备份,以便恢复初始设置)
12.修改ftp配置,输入vi /etc/ftpd/ftpusers,在root前加#,开启root用户的ftp权限。
13.输入vi /etc/fault/login,将CONSOLE=/dev/console注释掉,关闭默认控制台为0号串口。
14.转到cdrom/cdrom0/Solaris_10/Tools目录,
输入指令./add_install_client –e 服务器网口mac地址-i 服务器IP地址用户名sun4u
15.打开CRT界面,在OK下输入boot net即可进入安装程序。
SOLARIS10安装步骤
SOLARIS10安装步骤SOLARIS 10 安装步骤sun 公司的solaris 操作系统,是当前主流的unix操作系统,对个人而言,熟练的掌握solaris 系统将有机会谋得一份待遇不错的工作。
以前,要学习和掌握solaris 系统(如solaris 9),还必须有sun公司的服务器,这些服务器都是基于sparc(scalable processor architecture-可伸缩处理器体系结构),如果没有这样的应用环境,学习和实践solaris是相当有局限的。
但自从sun 发布基于intel架构的版本solaris 10 for x86 (还有其他的版本)后,我们就可以在pc服务器或者pc上安装solaris 10作为操作平台,来体验或使用功能强大性能稳定的open unix---opensolaris.一、安装opensolaris 的一些基本条件。
按照本文提供的安装建议,将使你的安装变得容易一些。
1、硬件要求:内存256兆以上,如果低于256兆,在安装系统时将以文本方式来进行。
硬盘容量40g或更多(买不到更小容量的硬盘了),初学者尽量使用ide接口的硬盘,如果是scsi 硬盘,最好先查阅相关手册,确认solaris 10能够支持所使用的scsi控制器。
网络适配器(网卡)用当前最主流的,3com3c905系列最佳。
cpu使用intel 奔腾系列或amd,最好不要使用intel 赛扬的。
显卡没有什么特别要求,如果没有驱动,大不了不用桌面环境,要知道,真正的unix 管理员,大部分都是在命令行下进行操作的。
对了,另外还须一个读盘能力强的光盘驱动器。
2、下载最新版的solaris 10 for x86 映像。
愈新的版本支持的硬件就会越多。
笔者曾经下载过一个版本,居然只能识别scsi的硬盘容量为18g(实际容量为73g),换成别的服务器和硬盘也是这样,后来下了一个新的solaris 10版本就没有这个问题了。
手把手交你安装solaris10(图文并茂)
一、准备工作A.准备安装介质(CD/DVD)。
B.将系统的引导顺序改为CD/DVD优先。
C.如果Solaris要安装在有其它操作系统的硬盘上,请务必备份重要数据。
D.向SA申请网络资源备用(IP地址,网关地址,子网掩码,DNS等)。
E.在安装前阅读此文档,对安装过程有个大致的了解。
二、开始安装1.将安装介质装入,并重新启动计算机。
(先保证第一个引导为CD/DVD引导)从光盘开始引导界面。
选择的一项“Solaris”,回车继续。
选择“1”图形交互方式的安装。
选择安装提示语言,此处选择了6,即简体中文(请根据需要选择),回车继续。
欢迎页面,点击“下一步”继续。
需要联网则保持默认值,否则选择“非联网的”,点击“下一步”继续。
如果是动态分配IP地址,请选择“是”,需要设定一个IP地址则选择否,单击“下一步”继续。
给主机起一个响亮的名字,单击“下一步”继续。
设定网络地址,填写从系统管理员分配到的IP,点击“下一步”继续。
设定子网掩码(公SA那里获取),点击“下一步”继续。
如果需要IPv6则选择是,此处选择“否”,单击“下一步”继续。
指定缺省路由(LAN中一般都设置为网关),可以由系统检测,也可以指定一个。
此处选择“指定一个”,单击“下一步”继续。
输入默认路由地址,单击“下一步”继续。
保持默认选项,单击“下一步”继续。
设置名字服务方式,根据实际需要选择,此处选择了“无”,“下一步”继续。
时区的设置,此处以洲/国家/地区的方式设置,“下一步”继续。
选择洲和国家,点击“下一步”继续。
设定日期和时间,“下一步”继续。
设定root用户口令。
“下一步”继续。
前一部分设定信息的确认。
点击“确认”继续。
选择“下一步”继续。
根据需要选择,此处保持原有值,点击“下一步”继续。
选择安装介质,此处选择CD/DVD,“下一步”继续。
初始化中,等待进入下一个对话。
够选“接受”,“下一步”继续。
选择安装类型,此处选择了“自定义安装”,“下一步”继续。
Solaris10安装方法
插入第一张安装光盘,在系统自启动界面选择Solaris.选择3,采用交互式方式安装Solaris选择系统所使用的键盘布局,正常情况下系统会自动识别(US-English)按F2键继续点击“回车”继续安装点击回车选择操作系统语言:选择6 Simplified Chinese系统会提示一些安装过程中的注意事项,点击F2继续安装。
点击F2继续选择“是”,点击“F2”继续一般情况下系统要求固定IP地址,选择“否”,点击F2继续根据实际情况配置solaris的系统名,比如:iMC-Solaris,输入完系统名称后点击F2继续配置此Solaris服务器的IP地址,请根据实际情况配置,配置完后点击F2继续。
配置完IP地址后选择Yes,继续配置IP地址的掩码,如下图所示:根据实际情况配置IP地址对应的掩码,如下图所示,配置完成后点击F2继续选择“否”,不启用IPV6.点击F2继续选择手工配置该服务器的网关,如下图所示,点击F2继续。
根据实际情况配置服务器的网关IP地址,配置好后点击F2继续最终系统会给出之前设置的摘要信息,如果有配置错误的地方可以按F4进行修改,如果确认无误点击F2继续。
选择不启用Kerberos安全机制,点击F2继续系统会再确认一次,点击F2继续选择none,不配置名字服务,点击F2继续系统会进行确认,点击F2继续保持系统默认配置,点击F2继续。
系统会进行确认,点击F2继续按实际情况配置时区,国内局点选择亚洲,如下图所示,点击F2继续根据实际情况配置国家,一般情况下配置中国,如下图所示。
点击F2继续根据实际情况配置日期和时间,配置好后点击F2继续系统会对之前的配置进行确认,如果需要修改可以按F4,如果配置无误点击F2继续配置Root用户的密码。
注意这个密码一定要牢记,否则会出现无法登陆Solaris系统的问题。
配置完成后点击F2继续系统会弹出信息进行确认,点击F2继续选择Yes,启用远程服务,点击F2继续点击F2,选择标准安装。
Solaris 10网络安装手册(通过虚拟机)
Solaris 10网络安装手册(通过虚拟机)目录一、前言 (2)二、准备 (2)三、操作步骤 (2)四、修改配置文件 (5)一、前言我们经常遇到系统光驱坏了,不能用光驱装系统,就需要用到网络安装。
网络安装需要1个安装服务器,1个待安装客户机和1张soalris的光盘(iso也可,版本由安装需求决定)。
二、准备1) 虚拟机准备(保证虚拟机和笔记本电脑能相互ping通)2) 网络连接设备(网线)3) Console线4) 系统光盘5) SecureCRT(保存会话日志:文件→会话日志)6)收集explorer信息(如果是重装系统)【步骤1、cd /opt/SUNWexplo/bin 2、./explorer 3、cd /opt/SUNWexplo/output 4、将output 下的文件通过FTP复制到笔记本上】从客户参数获得以下参数:1)待安装机的hostname、IP 、子网掩码、缺省网关2)文件分区信息3)MAC地址(从OBP下取得,banner命令可查看)4)安装OS版本三、操作步骤安装服务器:VMware用于X86平台的Solaris 10系统主机名:actionIP:10.108.226.21待安装客户机:Sun Enterprise 250 Server主机名:action2IP:10.108.226.22MAC:8:0:20:cf:b3:57建立安装服务器1.先在action的/etc/hosts中加上待安装客户机的IP和主机名root@action # vi /etc/hosts## Internet host table#127.0.0.1 localhost10.108.226.21 action loghost10.108.226.22 action22.把光盘放到安装服务器中(也可挂载ISO,方法后面给出)。
root@action # cd /cdrom/Solaris_10/Tools/root@action # ./setup_install_server /install_serverVerifying target directory...Calculating the required disk space for the Solaris_10 productCalculating space required for the installation boot imageCopying the CD image to disk...Copying Install Boot Image hierarchy...Install Server setup complete这样安装服务器安装完了,我们把安装服务器安装到/install_server目录下了。
SOLARIS_10_安装步骤
SOLARIS_10_安装步骤Solaris 10 是美国甲骨文公司开发的一种类Unix操作系统,本文将介绍在计算机上安装Solaris 10 的详细步骤。
以下是Solaris 10 安装的步骤:步骤一:准备工作1. 确定计算机配置和系统要求:首先,确保计算机满足Solaris 10 的最低硬件要求。
要求包括最低处理器速度、内存容量和硬盘空间等。
3.准备安装介质:将ISO镜像文件刻录到光盘或者USB闪存驱动器上。
步骤二:启动计算机1.将安装介质插入计算机,并重启计算机。
2. 确保计算机的BIOS已设置为从光盘或USB设备启动。
根据计算机型号,按F2、F12或Del键进入BIOS设置界面,并选中光盘或USB设备作为启动设备。
3.保存BIOS设置并重启计算机。
步骤三:选择安装模式1. 在计算机启动时,将会弹出Solaris 10 的安装程序界面。
首先,选择安装语言。
2.接下来,选择“常规安装”或“自定义安装”模式。
常规安装模式适用于大多数用户,自定义安装模式提供更多的安装选项。
步骤四:对安装组件进行配置1. 在常规安装模式下,选择“整个磁盘”或“仅限一个分区”来确定Solaris 10 的安装位置。
在自定义安装模式下,可以手动选择安装位置和分区。
2.选择“快速安装”或自定义分区大小。
快速安装模式会根据默认设置自动分区,自定义分区则允许手动设置分区大小。
3.分配磁盘空间:确定文件系统的大小和类型。
可以选择ZFS、UFS 或者一种组合。
步骤五:选择安装软件包1.根据自己的需求和系统资源,选择安装软件包。
可以选择安装图形界面、服务器组件、开发工具和其他应用程序等。
2.点击“安装”或“下一步”开始安装所选择的软件包。
步骤六:设置系统配置1.配置网络连接:根据自己的需求,选择IP地址、子网掩码和网关等网络配置信息。
2.设置主机名和域名:给计算机设置一个唯一的主机名和域名。
3.配置时区:选择合适的时区。
4. 设置 root 密码:设置 root 用户的密码。
SOLARIS10安装步骤
SOLARIS10安装步骤Solaris 10是Solaris操作系统的一代产品,是在Sun Microsystems公司开发的UNIX操作系统中运行的一款商业版操作系统。
下面是Solaris 10安装步骤的详细介绍:2. 确认系统要求。
在安装Solaris 10之前,你需要先确认你的计算机是否满足系统要求。
你可以查看Solaris 10的官方文档中的硬件和软件要求来确认。
3. 启动计算机并选择引导设备。
将安装光盘插入计算机的光驱,或者加载ISO镜像文件。
启动计算机时,按下相应的键来选择引导设备。
这个步骤可能会因计算机硬件而有所不同,一般来说你可以通过按下"F2"、"F12"或者"Del"键来进入BIOS设置,并将光驱设备设置为首选引导。
4. 进入Solaris 10安装界面。
等待计算机启动并加载安装文件,然后会进入Solaris 10的安装界面。
这个界面可能会因不同版本而有所不同,但基本的操作步骤是相似的。
5. 选择适当的安装选项。
在安装界面中,你需要选择适当的安装选项。
一般来说,Solaris 10提供了几种安装选项,如图形安装、文本安装、自动安装等。
选择适合你的需求的选项,并按照界面中的提示进行操作。
6. 配置磁盘分区。
接下来,你需要配置磁盘分区。
在这个步骤中,你可以选择将整个磁盘用于Solaris 10,或者将其分成多个分区。
你还可以选择是否使用软件磁盘卷(SVM)来管理磁盘分区。
7.设置网络。
在安装过程中,你需要设置网络。
这包括配置网络接口、设置IP地址、子网掩码、网关等。
你也可以配置DNS、NFS、NIS等网络服务。
8.创建用户账户。
完成网络配置后,你需要创建一个用户账户。
输入一个用户名和密码,并根据需求设置其他用户属性,如家目录、用户组等。
9. 开始安装。
在完成以上配置后,你可以开始安装Solaris 10。
这个过程可能需要一段时间,取决于计算机性能和安装选项。
solaris 10 网络配置过程
solaris 10 网络配置过程、一、采用修改文件的方法。
能够永久进行网络设置。
文件修改完后需要重新启动1 找出每块网的名称:在/etc目录下的path_to_inst文件中找到network对应的项可使用命令:cat /etc/path_to_inst | grep network对应的网卡名称一般为eri hme bge ce等前面跟着网卡实例号,如:第一个千兆网卡bge0 例:# cat /etc/path_to_inst | grep network"/pci@8,700000/network@5,1" 0 "eri"2.配置网卡ip:在/etc目录下建立以hostname.网卡名命名的文件。
然后修改该文件,添入相应的ip ,如此则不需修改/etc/hosts文件。
如有一个千兆网卡bge0 :# touch hostname.bge0 #vi hostname.bge0 写入ip:192.168.0.13.配置子网掩码:修改/etc/inet/netmasks文件在文件末尾加入网卡ip和它的netmask 如:192.168.0.1 255.255.255.04。
配置默认网关:在/etc目录下,新建defaultrouter文件,修改文件内容为网关地址。
如:192.168.0.2545。
配置使用dns:在/etc目录下,新建resolv.conf文件,修改内容为nameserver dnsIP地址如:nameserver 202.97.224.68 最多可以配置3个dns的地址。
6。
将/etc/nsswitch.dns 复制为nsswitch.conf 或直接修改nsswitch.conf文件,将文件内:hosts 与nodes项的末尾加入dns ,该文件的作用是告诉主机在进行域名解析时先使用本机的hosts文件然后查询dns服务器。
6.若网卡采用dhcp的方式来获取网络配置的话,需在/etc目录建立dhcp.网卡名的文件。
Solaris_10安装指南
技术文件技术文件名称:Solaris 10安装指导技术文件编号:版本:V10文件质量等级:目录Solaris10 安装说明 (3)1.1. 系统启动 (3)1.2. 语言选择 (3)1.3. 是否联网 (4)1.4. 是否使用DHCP (4)1.5. 主机名称 (5)1.6. IP地址 (5)1.7. 子网掩网 (5)1.8. IPV6启用选择 (6)1.9. KERBROS启用选择 (7)1.10. 名字服务选择 (7)1.11. 时区选择 (8)1.12. 超级用户口令 (9)1.13. 重新引导系统 (9)1.14. 安装类型 (10)1.15. 编码类型 (10)1.16. 选择集合 (11)1.16.选择系统磁盘 (11)1.17.不保留数据 (12)1.18.自动布局 (13)1.19.定义文件系统 (13)1.20.远程安装文件系统 (14)1.21.开始安装 (14)1.22选择重新启动 (15)通过串口安装Solaris10步骤 (16)2.1. 在串口端输入# (16)2.2. 在ok状态执行: (16)2.3. 系统重新启动后,在ok状态下停下 (16)2.4. 开始装操作系统 (16)2.5. 安装成功后,查看如下solaris10的版本信息 (17)2.6. 安装过程中,可能会出现七个问题 (17)Solaris10 安装说明1.1. 系统启动插入光盘,键入stop + a组合键进入固件控制模式,再键入boot cdrom命令重新引导系统已进入cdrom引导模式。
系统刚上电或者用shutdown/reboot/boot等命令重新启动时的状态1.2. 语言选择选择 6 Simplified Chinese1.3. 是否联网选择“联网的”1.4. 是否使用DHCP 注意选择“否”1.5. 主机名称根据需求填写1.6. IP地址根据需求填写1.7. 子网掩网根据需求填写1.8. IPV6启用选择选择“否”1.9.1缺省路由选择 “无”1.9. KERBROS启用选择选择“否”1.10. 名字服务选择选择“无”1.11. 时区选择选择“地域性的洲/国家/地区”选项,与图中不一样!选择“亚洲”和“中国”1.12. 超级用户口令根据需要填写1.13. 重新引导系统都选择“是”1.14. 安装类型选择“自定义安装“类型1.15. 编码编码类型选择选择“. Simplified Chinese GBK”,注明,这里用的是SOLARIS9图例.SOLARIS10 可根据提示操作1.16. 选择集合选择“完整的oem制造支持及配置”,第一项,与图中不一样!“注明,这里用的是SOLARIS9图例.SOLARIS10可根据提示操作1.16.选择系统磁盘把左边的列表框中的所有磁盘都选中,全部移到右边的列表框中去注明,这里用的是SOLARIS9图例.SOLARIS10可根据提示操作1.17.不保留数据此时选择“继续”不保留数据1.18.自动布局选择“自动布局”1.19.定义文件系统选中全部的文件系统/目录确认注意注意::在文件系统和磁盘格式窗口中不要使用安装程序缺省的文件系统大小设置,请选择请选择““用户化…”按钮修改文件系统部分分区的大小按钮修改文件系统部分分区的大小,,一般来说一般来说,,根分区应该根据系统硬盘大小情况尽量设置大一些区应该根据系统硬盘大小情况尽量设置大一些;;swap 分区一般应为系统内存的两倍两倍;;其他文件系统最好比下面的最小数值的设置大一些其他文件系统最好比下面的最小数值的设置大一些,,以防止以后系统运行过程中出问题行过程中出问题。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
网络安装solaris10操作系统1、安装环境:要求:Sun Blade 2500做服务器端,通过网络安装的方式给Sun Ultra 45 重新安装操作系统,安装以后ip地址和主机名不变。
、安装步骤:2、安装步骤:2.1、收集客户端信息:客户机进入OK模式:通过相应的命令查询信息2.1.1、查询网络连接:在ok模式下查询网卡的信息,查看连接交换机的网卡的连接状态,图中标红所示的网卡连接状态正常,显示为Link UP状态:ok show-netsa) /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@3b) /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@2c) /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@1d) /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0e) /pci@1e,600000/pci@0/pci@2/pci@0/network@4,1f) /pci@1e,600000/pci@0/pci@2/pci@0/network@4q) NO SELECTIONvalid choice: a...f, q to quit qok quitok select /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@3/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@3: link down/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@3: link downCan't open deviceok select /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@2/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@2: link down/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@2: link downCan't open deviceok select /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@1/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@1: link down/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@1: link downCan't open deviceok select /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0: 1000 Mbps full duplex link up2.1.2、获取网卡MAC地址:当网卡连接正常时,通过图中标红的命令查看相应网口的Mak地址:ok select /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0: 1000 Mbps full duplex link upok cd /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0ok .propertiesmac-address 00 14 4f d7 4f b4link-clock autoduplex autospeed autoassigned-addresses 820d0010 00000000 00e00000 00000000 00200000820d0030 00000000 00d00000 00000000 00100000d-fru-len 00000000d-fru-off 0000e800d-fru-dev eeproms-fru-len 00000800s-fru-off 0000e000s-fru-dev eepromcompatible pci100b,35.30pci100b,35pciclass,020000pciclass,0200pci108e,abbareg 000d0000 00000000 00000000 00000000 00000000020d0010 00000000 00000000 00000000 00200000020d0030 00000000 00000000 00000000 00100000address-bits 00000030max-frame-size 00004000network-interface-type2.2、服务器端的配置:2.2.1、上传并挂载镜像:1.将要安装的系统镜像上传至/export/home/manager目录下2.挂载镜像到新建的目录/mnt/iso上:bash-3.2# lofiadm -a /export/home/manager/sol-10-u6-1008-sparc-dvd.iso /dev/lofi/1bash-3.2# mount -F hsfs -o ro /dev/lofi/1 /mnt/iso/2.2.2、创建安装目录并共享:通过如下方式创建安装服务并通过修改/etc/dfs/dfstab文件共享安装目录bash-3.2# cd /mnt/iso/Solaris_10/Tools/bash-3.2# ./setup_install_server /export/Solaris_install/Verifying target directory...Calculating the required disk space for the Solaris_10 productCalculating space required for the installation boot imageCopying the CD image to disk...Copying Install Boot Image hierarchy...Install Server setup completebash-3.2# vi /etc/dfs/dfstab"/etc/dfs/dfstab" 13 lines, 512 characters# Place share(1M) commands here for automatic execution# on entering init state 3.# Issue the command 'svcadm enable network/nfs/server' to# run the NFS daemon processes and the share commands, after adding# the very first entry to this file.## share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]# .e.g,# share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o ro,anon=0 -d "install server directory" /export/Solaris_install"/etc/dfs/dfstab" 13 lines, 512 charactersbash-3.2#bash-3.2# shareallbash-3.2# share-/export/Solaris_install ro,anon=0 "install server directory" 2.2.3.、修改配置文件:1.修改/etc/hosts文件,在文件中加入客户机需要配置的的主机名和IP:bash-3.2# cat /etc/hosts## Internet host table#::1 localhost127.0.0.1 localhost10.233.23.145 test-jumps loghost10.233.23.143 xz-test12.修改/etc/ethers文件,没有则创建,在文件中添加客户机网口的Mac 地址和主机名:bash-3.2# cat /etc/ethers0:14:4f:f:db:50 xz-test1bash-3.2#2.2.4、启动tftp 服务:1.修改配置文件/etc/inet/inetd.conf件去掉如图标红行的注释:bash-3.2# cat /etc/inet/inetd.conf## Copyright 2004 Sun Microsystems, Inc. All rights reserved.# Use is subject to license terms.##ident "@(#)inetd.conf 1.56 04/10/21 SMI"## Legacy configuration file for inetd(1M). See inetd.conf(4).## This file is no longer directly used to configure inetd.# The Solaris services which were formerly configured using this file# are now configured in the Service Management Facility (see smf(5))# using inetadm(1M).## Any records remaining in this file after installation or upgrade,# or later created by installing additional software, must be converted# to smf(5) services and imported into the smf repository using# inetconv(1M), otherwise the service will not be available. Once# a service has been converted using inetconv, further changes made to# its entry here are not reflected in the service.### CacheFS daemon. Provided only as a basis for conversion by inetconv(1M).#100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd# TFTPD - tftp server (primarily used for booting)tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot2.然后将tftp服务加入svcs管理中,并启动tftp服务bash-3.2# inetconv -i /etc/inet/inetd.conf 1>/dev/null 2>&1bash-3.2# svcadm enable svc:/network/tftp/udp6:defaultbash-3.2# netstat -a | grep tftp*.tftp Idle*.tftp Idlebash-3.2#2.2.5、添加客户机启动参数、1.添加客户机启动文件bash-3.2# cd /export/Solaris_install/Solaris_10/Tools/bash-3.2# ./add_install_client -e 0:14:4f:f:db:50 xz-test1 sun4usaving original /etc/dfs/dfstab in /etc/dfs/dfstab.origAdding "share -F nfs -o ro,anon=0 /mnt/iso" to /etc/dfs/dfstabmaking /tftpbootenabling network/rarp serviceenabling network/rpc/bootparams serviceupdating /etc/bootparamscopying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1bash-3.2#./add_install_client -i ip地址 -e mac地址-s10.233.23.45:/export/s10dvdsparc 主机名 sun4u主机名为自定义,但必须添加在安装服务器的/etc/hosts文件中2.检测生成的启动文件/etc/bootparams和/tftpboot/信息bash-3.2# cd /etcbash-3.2# more bootparamsxz-test1 root=test-jumps:/mnt/iso/Solaris_10/Tools/Boot install=test-jumps:/mnt/iso boottype=:in rootopts=:rsize=8192bash-3.2# cd /tftpboot/bash-3.2# ls0AE9178F inetboot.SUN4U.Solaris_10-1 tftpboot0AE9178F.SUN4U rm.10.233.23.1432.3、客户机网络启动安装系统ok boot /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0Boot device: /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0 File and args:/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0: 1000 Mbps full duplex link upRequesting Internet Address for 0:14:4f:d7:4f:b4Requesting Internet Address for 0:14:4f:d7:4f:b4Requesting Internet Address for 0:14:4f:d7:4f:b4Requesting Internet Address for 0:14:4f:d7:4f:b4Requesting Internet Address for 0:14:4f:d7:4f:b4Requesting Internet Address for 0:14:4f:d7:4f:b4/pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/network@0: 1000 Mbps full duplex link upRequesting Internet address for 0:14:4f:d7:4f:b4SunOS Release 5.10 Version Generic_147147-26 64-bitCopyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved. WARNING: i2c_0 failed to add interrupt.WARNING: i2c_0 operating in POLL MODE onlyWARNING: i2c_1 failed to add interrupt.WARNING: i2c_1 operating in POLL MODE onlyWARNING: i2c_0 failed to add interruptWARNING: Failed to open device(/pci@1f,700000:devctl), rv(19)WARNING: ppm_init_cb: ppm domain domain_pciegfx will be offline.Configuring devices.Using RPC Bootparams for network configuration information.Attempting to configure interface bge1...Skipped interface bge1Attempting to configure interface bge0...Skipped interface bge0Attempting to configure interface ce3...Skipped interface ce3Attempting to configure interface ce2...Skipped interface ce2Attempting to configure interface ce1...Skipped interface ce1Attempting to configure interface ce0...Configured interface ce0svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mountSetting up Java. Please wait...Serial console, reverting to text installBeginning system identification...Searching for configuration file(s)...Search complete.Discovering additional network configuration...Select a Language0. English1. Brazilian Portuguese2. French3. German4. Italian5. Japanese6. Korean7. Simplified Chinese8. Spanish9. Swedish10. Traditional ChinesePlease make a choice (0 - 10), or press h or ? for help: 7。