1 / 9

Linux 的多种安装方式

Linux 的多种安装方式. 刘西洋. 大纲. 安装物理计算机: CD/DVD 安装 FTP/HTTP/NFS 安装 PXE 安装 安装 KVM 虚拟实例 CD/DVD 或 ISO 安装 FTP/HTTP/NFS 安装 PXE 安装 预配置内核引导安装. 课件说明: 本次课分两部分:讲解和演示 讲授过程: 讲解课件内容 学员提问 提出演示内容 根据现有条件演示。. 1.1 CD/DVD 方式. 基本步骤为: 下载 CD/DVD 光盘 ISO 映像和 MD5 校验码 校验,然后刻录 ISO 文件 用刻录后的光盘引导计算机 图形(字符)界面安装

rinah-hicks
Download Presentation

Linux 的多种安装方式

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linux 的多种安装方式 刘西洋

  2. 大纲 • 安装物理计算机: • CD/DVD安装 • FTP/HTTP/NFS安装 • PXE安装 • 安装KVM虚拟实例 • CD/DVD或ISO安装 • FTP/HTTP/NFS安装 • PXE安装 • 预配置内核引导安装 • 课件说明: • 本次课分两部分:讲解和演示 • 讲授过程: • 讲解课件内容 • 学员提问 • 提出演示内容 • 根据现有条件演示。

  3. 1.1 CD/DVD方式 • 基本步骤为: • 下载CD/DVD光盘ISO映像和MD5校验码 • 校验,然后刻录ISO文件 • 用刻录后的光盘引导计算机 • 图形(字符)界面安装 • 安装完成重启系统 • 设置防火墙,SELinux。

  4. 1.2 FTP/HTTP/NFS方式 • 基本步骤为: • 下载引导介质 • http://mirrors.sohu.com/centos/6.2/isos/i386/CentOS-6.2-i386-minimal.iso • http://mirrors.sohu.com/centos/6.2/os/i386/images/install.img • 制作引导盘(U盘或光盘) • 刻录iso或者写img文件到U盘 • 配置网络地址 • 输入路径 • 网站:http://mirrors.sohu.com路径:/centos/6.2/os/i386/ • 开始安装

  5. 1.3 PXE方式 • 基本步骤为 • 安装配置PXE服务器 • 配置 tftp dhcp nfs kickstart服务器 • 本部分详细内容此处不做讲解,当另形成文档 • 以PXE方式启动计算机 • 引导后,以nfs方式安装

  6. 2.1 ISO • KVM最常用安装方式:ISO安装 • 这种安装方式最快,但是需要下载4G左右的DVD ISO镜像。 • 建议:迅雷下载,然后SFTP复制到管理机(ISO库),以NFS获取ISO镜像的方式安装。

  7. 2.2 HTTP/NFS/FTP • 新建虚拟机 • 选择安装方式为HTTP/NFS/FTP,下一步 • 输入系统路径 • 例如:CentOS 6.2 i386 • http://mirrors.sohu.com/centos/6.2/os/i386 • 检测OS类型。 • 选择硬盘,开始安装

  8. 2.3 PXE和导入磁盘文件 • PXE方式安装: • 创建虚拟机 • 选择PXE方式安装Linux • 以下方法如同 1.3 • 导入现有磁盘文件: • 创建虚拟机 • 选择导入现有磁盘文件 • 检测系统类型 • 下一步开始安装

  9. 2.4 内核方式 • 下载内核文件 • http://mirrors.sohu.com/centos/6.2/os/i386/images/pxeboot/vmlinuz • http://mirrors.sohu.com/centos/6.2/os/i386/images/pxeboot/initrd.img • 新建虚拟机 • 任意选择任何一种安装方式(建议PXE) • 配置硬盘文件,下一步 • 最后一页 • 勾选 Customize configuration before install • Boot options >> direct kernel boot • 配置kernel path为vmlinuz路径;initrd path为initrd.img路径。 • 保存,然后begin installation

More Related