Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

31.3. 新​​​​​​​增​​​​​​​ PXE 主​​​​​​​機​​​​​​​

After configuring the network server, the interface as shown in 圖形 31.1, “Add Hosts” is displayed.
Add Hosts

圖形 31.1. Add Hosts

The next step is to configure which hosts are allowed to connect to the PXE boot server. For the command line version of this step, refer to 節 31.3.1, “指​​​​​​​令​​​​​​​列​​​​​​​設​​​​​​​定​​​​​​​”.
新​​​​​​​增​​​​​​​ 主​​​​​​​機​​​​​​​請​​​​​​​點​​​​​​​選​​​​​​​ 新​​​​​​​增​​​​​​​ 按​​​​​​​鈕​​​​​​​。​​​​​​​
Add a Host

圖形 31.2. Add a Host

請​​​​​​​輸​​​​​​​入​​​​​​​下​​​​​​​列​​​​​​​資​​​​​​​訊​​​​​​​:
  • 主​​​​​​​機​​​​​​​名​​​​​​​稱​​​​​​​或​​​​​​​ IP 位​​​​​​​置​​​​​​​/子​​​​​​​網​​​​​​​路​​​​​​​ — IP 位​​​​​​​置​​​​​​​、​​​​​​​合​​​​​​​條​​​​​​​件​​​​​​​的​​​​​​​主​​​​​​​機​​​​​​​名​​​​​​​稱​​​​​​​或​​​​​​​系​​​​​​​統​​​​​​​子​​​​​​​網​​​​​​​路​​​​​​​可​​​​​​​以​​​​​​​連​​​​​​​接​​​​​​​到​​​​​​​ PXE 伺​​​​​​​服​​​​​​​器​​​​​​​進​​​​​​​行​​​​​​​安​​​​​​​裝​​​​​​​。​​​​​​​
  • 作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​ — 安​​​​​​​裝​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​識​​​​​​​別​​​​​​​器​​​​​​​至​​​​​​​用​​​​​​​戶​​​​​​​端​​​​​​​。​​​​​​​這​​​​​​​個​​​​​​​列​​​​​​​表​​​​​​​植​​​​​​​於​​​​​​​由​​​​​​​ 網​​​​​​​路​​​​​​​安​​​​​​​裝​​​​​​​對​​​​​​​話​​​​​​​ 所​​​​​​​建​​​​​​​立​​​​​​​的​​​​​​​網​​​​​​​路​​​​​​​安​​​​​​​裝​​​​​​​實​​​​​​​體​​​​​​​中​​​​​​​。​​​​​​​
  • 序​​​​​​​列​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​ — 這​​​​​​​個​​​​​​​選​​​​​​​項​​​​​​​啟​​​​​​​用​​​​​​​序​​​​​​​列​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​。​​​​​​​
  • Kickstart File — The location of a kickstart file to use, such as http://server.example.com/kickstart/ks.cfg. This file can be created with the Kickstart Configurator. Refer to 章 29, Kickstart Configurator for details.
忽​​​​​​​略​​​​​​​ Snapshot 名​​​​​​​稱​​​​​​​ 與​​​​​​​ 乙​​​​​​​太​​​​​​​網​​​​​​​ 選​​​​​​​項​​​​​​​。​​​​​​​這​​​​​​​些​​​​​​​選​​​​​​​項​​​​​​​只​​​​​​​用​​​​​​​在​​​​​​​無​​​​​​​磁​​​​​​​碟​​​​​​​環​​​​​​​境​​​​​​​。​​​​​​​

31.3.1. 指​​​​​​​令​​​​​​​列​​​​​​​設​​​​​​​定​​​​​​​

如​​​​​​​果​​​​​​​網​​​​​​​路​​​​​​​伺​​​​​​​服​​​​​​​器​​​​​​​未​​​​​​​執​​​​​​​行​​​​​​​ X,使​​​​​​​用​​​​​​​ system-config-netboot 套​​​​​​​件​​​​​​​中​​​​​​​的​​​​​​​ pxeboot 工​​​​​​​具​​​​​​​,來​​​​​​​新​​​​​​​增​​​​​​​聯​​​​​​​接​​​​​​​到​​​​​​​ PEX 伺​​​​​​​服​​​​​​​器​​​​​​​的​​​​​​​主​​​​​​​機​​​​​​​。​​​​​​​
pxeboot -a -K <kickstart> -O <os-identifier> -r <value> <host>
以​​​​​​​下​​​​​​​的​​​​​​​清​​​​​​​單​​​​​​​解​​​​​​​釋​​​​​​​了​​​​​​​可​​​​​​​使​​​​​​​用​​​​​​​的​​​​​​​選​​​​​​​項​​​​​​​:
  • -a — 指​​​​​​​定​​​​​​​要​​​​​​​新​​​​​​​增​​​​​​​的​​​​​​​一​​​​​​​個​​​​​​​主​​​​​​​機​​​​​​​。​​​​​​​
  • -K <kickstart> — The location of the kickstart file, if available.
  • -O <os-identifier> — Specifies the operating system identifier as defined in 節 31.2, “PXE 開​​​​​​​機​​​​​​​設​​​​​​​定​​​​​​​”.
  • -r <value> — Specifies the ram disk size.
  • <host> — Specifies the IP address or hostname of the host to add.
更​​​​​​​多​​​​​​​相​​​​​​​關​​​​​​​可​​​​​​​用​​​​​​​的​​​​​​​ pxeboot 指​​​​​​​令​​​​​​​列​​​​​​​選​​​​​​​項​​​​​​​,請​​​​​​​參​​​​​​​照​​​​​​​ pxeboot man page。​​​​​​​