本过程介绍了如何从本地或远程介质安装 Oracle Linux 操作系统。 该过程假定您从以下介质源之一引导 Oracle Linux 安装介质:
如果要从 PXE 环境中引导安装介质,请参阅使用 PXE 网络引导安装 Oracle Linux 6.7 和 7.2 OS了解相关说明。
对于分发 DVD,请将 Oracle Linux 6.7 分发介质引导光盘 (DVD) 插入到本地或远程 DVD-ROM 驱动器中。
对于 ISO 映像,请确保 Oracle Linux 6.7 ISO 映像可用,并且已使用 KVMS 菜单在 Oracle ILOM Remote System Console Plus 应用程序中挂载了该 ISO 映像。
有关如何设置安装介质的其他信息,请参见选择引导介质选项。
在本地服务器中,按服务器前面板上的电源按钮(大约 1 秒钟)关闭服务器电源,然后再次按电源按钮打开服务器电源。
在 Oracle ILOM Web 界面中,单击 "Host Management" -> "Power Control",从 "Select Action" 列表框中选择 "Reset"。
从 Oracle ILOM CLI 中,键入:reset /System
服务器将开始引导过程并显示 BIOS 屏幕。
[Boot Pop Up Menu Selected] 将显示在 BIOS 屏幕底部,然后将显示 "Please select boot device" 菜单。根据是否为 Legacy BIOS 或 UEFI 配置了 UEFI/BIOS 引导模式,显示的屏幕会有所不同。
对于 Legacy BIOS 引导模式,将显示类似于下图的屏幕:
对于 UEFI 引导模式,将显示类似于下图的屏幕:
例如:
如果选择了 Legacy BIOS 引导模式,会显示 "Welcome to Oracle Linux Server" 引导屏幕。例如,对于 Oracle Linux 6.7:
如果选择了 UEFI 引导模式,会显示 "Booting Oracle Linux Server" 引导屏幕。例如,对于 Oracle Linux 6.7:
要在 Legacy BIOS 引导模式下安装,请接受默认设置并按 Enter 键。
要在 UEFI 引导模式下安装,请按 Enter 键,或者让屏幕超时。
此时将显示 "Disc Found" 屏幕。
此时将显示 Oracle Linux 6 过渡屏幕。
此时将显示 "What language would you like to use during the installation process?" 屏幕。
此时将显示 "Select the appropriate keyboard for the system" 屏幕。
此时将显示 "What type of devices will your installation involve?" 屏幕。
此时将显示 "Please select the drive you'd like to install the operating system on" 屏幕。
此时将显示 "Please name this computer" 屏幕。
此时将显示 "Select Time Zone" 屏幕。
此时将显示 "Root Password" 屏幕。
此时将显示 "What type of installation would you like?" 屏幕。
例如,如果要安装操作系统的存储驱动器是空的,并且您选择了 "Create Custom Layout",则将出现 "Please Select a Device" 屏幕。
此时将显示 "Create Storage" 对话框。
此时将显示 "Add Partition" 对话框。
此时将显示更新的 "Add Partition" 对话框。
此时将创建分区。
|
此时将显示更新后的分区屏幕。
此时将显示以下对话框。
如果没有磁盘分区错误,则将出现安装引导装载程序屏幕,您应继续执行Step 21。如果有磁盘分区错误,则继续执行Step 20。
如果显示了上面的屏幕,则说明您尝试在其中安装 Oracle Linux 的磁盘未正确格式化,因此需要重新格式化。
要恢复并重新格式化磁盘而不中断安装,请多次单击安装屏幕上的键盘 "Back" 按钮,以返回到Step 7 中所示的初始 Oracle Linux 过渡屏幕,并执行以下步骤:
此时将显示 shell。
anaconda root@localhost /]# parted /dev/sda GNU Parted 2.1 Using /dev/sda Welcome to GNU Parted! Type ???help' to view a list of commands. (parted) p Model: HITACHI H101860SFSUN600G (scsi) Disk /dev/sda: 600GB Sector size (logical/physical): 512B/512B Partition Table: msdos (or gpt for Legacy BIOS Boot Mode) Number Start End Size Type File system Flags 1 1049kB 21.5GB 21.5GB primary ext2 (parted) mklabel New disk label type? gpt (or msdos for Legacy BIOS Boot Mode) Warning: The existing disk label on /dev/sda will be destroyed and all data will be lost. Do you want to continue? Yes/No? yes (parted) p Model: HITACHI H101860SFSUN600G (scsi) Disk /dev/sda: 600GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags (parted) g Information: You may need to update /etc/fstab. anaconda root@localhost /]#
此时将显示 "Select server software to install" 屏幕。
虽然 "Basic Server" 是默认的服务器软件安装,但您可根据需要选择一套不同的软件。此外,在该屏幕底部,可以选择 "Customize Now" 对所选软件执行自定义安装。
此时将显示 "Starting installation process" 屏幕。
安装完成时,将出现以下屏幕。
服务器重新引导并显示 BIOS 屏幕。
此时将显示 BIOS 设置实用程序屏幕,并且 "Boot" 菜单处于选中状态。 此时将显示 BIOS 屏幕并且需要执行操作才能继续安装,具体取决于为 OS 安装选择的 UEFI/BIOS 引导模式。
此时将显示 "Boot Option #1" 对话框。
"[SAS:PCIE6:E02S0C-2F0247C9 H101860SFSUN60]" 移到顶部位置。
此时将显示 GNU GRUB 屏幕。
此时将显示更新屏幕:
服务器将启动新的 Oracle Unbreakable Enterprise Kernel。