第一步:将Linux 的ISO 文件拷到本机,连接到本机的ISO镜像文件。
  打开VMware 控制台,在 我的计算机 下选中 Rhel6.4;在右边 设备 下,双击 CD/DVD(SATS) 自动检测

Rhel 6.4 安装教程

  出现 虚拟机设置 界面,在左边的 设备状态 ,选择 启动时连接;在左边的 连接,选择 使用ISO镜像文件,选择 浏览,选择镜像文件的位置;最后,点击 确定,回到上一张图中,点击 开启此虚拟机 ,进入Rhel6.4 的安装界面。

Rhel 6.4 安装教程

第二步:看到如下安装界面,选择 Install system with basic video driver
  Install or upgrade an existing system, 安装或升级现有系统 。这个选项是默认的,表示使用图形化界面安装。如果之前存在老的版本,需要更新、升级;或者安装一个新的系统,请选择此项。
  Install system with basic video driver, 安装过程中采用基本的显卡驱动。这个选项表示,在安装程序时,如果机器的显卡不能正常使用或者无法载入正确的驱动程序时,使用图形模式安装系统。
  Rescue installed system, 进入系统修复模式。这个选项用于修复已经安装但是无法正常引导的红帽企业版本系统的大部分问题。虽然红帽企业版本是非常稳定的计算机平台,但是偶尔也会引发引导的问题。
  Boot from local drive, 使用本地驱动器引导。
  Memory test, 内存检测。这个选项是安装前做RAM 检测,不属于安装选项。

Rhel 6.4 安装教程

第三步:磁盘检测,此处选择 Skip,不进行磁盘检查

Rhel 6.4 安装教程

Rhel 6.4 安装教程

  如果磁盘检测 Disc Found 处选择 OK, 则会出现磁盘检测成功后,系统无法继续安装下去的情况。截图如下:

Rhel 6.4 安装教程

  检测完Disk Found 后,会出现Media Check,选择Test

Rhel 6.4 安装教程

Rhel 6.4 安装教程

Rhel 6.4 安装教程

  上图点击OK 之后,一直在上图这个界面,无法出现下一步的安装界面。所以,一般建议此步骤的最开始的Disk Found 就选择Skip

第四步:欢迎界面,没有任何信息,直接“Next”。

Rhel 6.4 安装教程

第五步:选择安装时期的语言,建议English.

Rhel 6.4 安装教程

第六步:选择键盘布局,建议U.S.English.

Rhel 6.4 安装教程

第七步:选择存储设备,建议Basic Storage Devices.
  Basic Storage Devices, 基本存储设备,一般指连接本地磁盘;
  Specialized Storage Devices,指定的存储设备,例如存储区网络(SAN)、直接访问存储网络(DASD)、固件RAID设备、多路径设备。

Rhel 6.4 安装教程

  选择了Basic Storage Devices 后,弹出一个告警提示,因为这里是一个新的硬盘,选择Yes, discard any data, 丢弃硬盘上的任何数据。

Rhel 6.4 安装教程

第八步:设定主机名
  根据需要给Linux 主机起一个有意义的名字,此处为localhost.
  Configure Network, 网络配置。既可以提前对Linux 网络进行配置,也可以等系统安装完成后,再对网络进行配置。此处,我们先不配置Configure Network.

Rhel 6.4 安装教程

第九步:选择时区
  根据所在区域,选Shanghai ; 不选System clock uses UTC. 因为上海时区是UTC+8 时区。

Rhel 6.4 安装教程

第十步:设置root 账号的密码(123456)

Rhel 6.4 安装教程

  Weak Password 选择Use Anyway, 即使密码很弱,仍然使用。

Rhel 6.4 安装教程

第十一步:选择磁盘分区
  Use All Space:删除所有分区,系统自动帮你创建新的分区;
  Replace Existing Linux System(s):替换掉存在的Linux 系统,如果既安装了Windows 系统,又安装了Linux 系统,则保留Windows 分区,但把Linux 全部删掉;
  Shrink Cerrent System:跟逻辑卷有关,减少一个存在的分区;
  Use Free Space:使用剩余的空间;
  Create Custom Layout:自定义分区。

  选择最后一个Create Custom Layout, 默认勾选上下方的Review and Modify partitioning layout.

Rhel 6.4 安装教程

  在 Please Select A Device 页面,选择右下角的 create.

Rhel 6.4 安装教程

  在Create Storage 页面,选择Standard Partition, 点击Create.

Rhel 6.4 安装教程

  此处,我们创建一个/boot 分区,一个swap 分区,剩余空间都分到/ 目录下。
  (1)/boot: 500M, 或者1G 即可,最多 2G;
  (2)swap 分区,本机物理内存为8G,根据业界规则,swap 也为8G,即8192M.
    业界规则:
      物理内存少于2G,swap 为物理内存的两倍;
      物理内存为2~8G,swap 与物理内存相同即可;
      物理内存超过8G,swap 为物理内存的四分之三。
    实际应用中:
      物理内存小于或等于16G,swap 为物理内存的两倍;
      物理内存超过32G时,swap 与物理内存大小相同即可。
  (3)/ : 根分区是必须的,因为所有分区都必须从它开始。剩下的空间全部给更分区,此处不分给home, usr, opt 等,后面需要什么分区,再在/ 下创建什么分区。

(1)创建/boot 分区
  Add Partition 界面如下图所示。

Rhel 6.4 安装教程

  Add Partition 界面上,选择Mount Point 行最右边的箭头,出现一些下拉选项。Mount Point 栏中不能输入自己想要的分区名,只能从下拉选项中选择。

Rhel 6.4 安装教程

Rhel 6.4 安装教程

Rhel 6.4 安装教程

(2)创建swap 分区
  Add Partition 界面上,选择File System Type 行最右边的箭头,出现一些下拉选项。File System Type 栏中不能输入自己想要的分区名,只能从下拉选项中选择。

Rhel 6.4 安装教程

Rhel 6.4 安装教程

(3)创建/ 分区,即根分区
  Additional Size Options 栏下面,选择Fill to maximum allowable size , 表示剩下的所有空间都给该分区。因此,Size 栏可以不用输入具体的大小。

Rhel 6.4 安装教程

Rhel 6.4 安装教程

  至此,三个分区都已经建完,选择Next。注意,Next 应该在页面右下角,此处因为屏幕分辨率的原因,没有显示出来。

Rhel 6.4 安装教程

  Format Warnings 页面上,选择Format.

Rhel 6.4 安装教程

  Writing storage configuration to disk 页面上,选择Write changes to disk.

Rhel 6.4 安装教程

  选择Install boot loader on /dev/sda,点击Next. 注意,Next 应该在页面右下角,此处因为屏幕分辨率的原因,没有显示出来。

Rhel 6.4 安装教程

第十二步:安装软件包
  首先,选中Basic Server;其次,在Please select any additional repositories that you want to use for software installation 中勾选全部选项;最后,选择customize now,定制软件。

Rhel 6.4 安装教程

  左边每一项里面都对应一些包要安装,把左边每一项所对应的右边的全部的包都选上,以防后面在使用操作系统的时候,因包缺失而报错。注:最后一项Languages 下需要安装的包只有Chinese Support .
  以Base System 下的 Legacy UNIX compatibility这个包为例。鼠标点击Legacy UNIX compatibility,右下角出现Optional packages selected: 1 of 21 ,表示在Legacy UNIX compatibility 的21个包中只有1个包被选中。

Rhel 6.4 安装教程

  要选中Legacy UNIX compatibility 中所有的包,在Legacy UNIX compatibility 上右键,选择Select all optional packages .

Rhel 6.4 安装教程

  所有包都选择之后,点击屏幕右下角的Next, 检查安装这些包所需的依赖。

Rhel 6.4 安装教程

  安装这些包

Rhel 6.4 安装教程

  安装成功

Rhel 6.4 安装教程

第十三步:Rhel6.4 安装后引导设置——Welcome

Rhel 6.4 安装教程

第十四步:Rhel6.4 安装后引导设置——License Information
  选择 Yes, I agree to the License Agreement.

Rhel 6.4 安装教程

第十五步:Rhel6.4 安装后引导设置——Set Up Software Updates

Rhel 6.4 安装教程

第十六步:Rhel6.4 安装后引导设置——Creater User
  此处不创建用户,直接跳过,点击 Forward .

Rhel 6.4 安装教程

第十七步:Rhel6.4 安装后引导设置——Date and Time
  不勾选Synchronize date and time over the network.

Rhel 6.4 安装教程

第十八步:Rhel6.4 安装后引导设置——Kdump
  Kdump 设置,防止意外crash 造成系统崩溃的工具。

Rhel 6.4 安装教程

  是否重启?选择Yes.

Rhel 6.4 安装教程

  重启后,Rhel6.4 系统安装全部完成。输入用户名和密码,可以进入系统。

Rhel 6.4 安装教程

相关文章: