BCLinux 6 PXE安装

本文介绍如何在BCLinux 6中搭建PXE安装环境。

PXE安装需要在局域网内开启如下服务:

  1. DHCP服务
    为待安装机器分配IP地址,以及提供PXE安装所需要的其他信息。
  2. TFTP服务
    用于提供PXE安装所需要的bootloader,内核镜像等文件。
  3. HTTP(S)、NFS、FTP服务
    提供安装过程中所使用的安装源,支持HTTP(S)、NFS和FTP多种协议,本文以HTTP服务为例。

DHCP服务搭建

  1. 安装dhcp软件包
    `
    [root@promote ~]# yum install dhcp
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package dhcp.x86_64 12:4.1.1-38.P1.el6.centos will be installed
    --> Processing Dependency: portreserve for package: 12:dhcp-4.1.1-38.P1.el6.centos.x86_64
    --> Running transaction check
    ---> Package portreserve.x86_64 0:0.0.4-9.el6 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================
Installing:
dhcp x86_64 12:4.1.1-38.P1.el6.centos base 817 k
Installing for dependencies:
portreserve x86_64 0.0.4-9.el6 base 23 k

Transaction Summary

Install 2 Package(s)

Total download size: 840 k
Installed size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): dhcp-4.1.1-38.P1.el6.centos.x86_64.rpm | 817 kB 00:00
(2/2): portreserve-0.0.4-9.el6.x86_64.rpm | 23 kB 00:00


Total 1.3 MB/s | 840 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : portreserve-0.0.4-9.el6.x86_64 1/2
Installing : 12:dhcp-4.1.1-38.P1.el6.centos.x86_64 2/2
Verifying : 12:dhcp-4.1.1-38.P1.el6.centos.x86_64 1/2
Verifying : portreserve-0.0.4-9.el6.x86_64 2/2

Installed:
dhcp.x86_64 12:4.1.1-38.P1.el6.centos

Dependency Installed:
portreserve.x86_64 0:0.0.4-9.el6

Complete!
`

TFTP服务搭建

HTTP服务搭建

你可能感兴趣的:(BCLinux 6 PXE安装)