Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
31.2. PXE 開機設定
下一步,請複製啟始安裝所需的檔案至
tftp
伺服器,因此在客戶端要求這些檔案時能夠在伺服器上找到。tftp
伺服器通常與輸出安裝程式樹的網路伺服器相同。
在 NFS、FTP 或 HTTP 伺服器上執行 網路啟動工具 來複製這些檔案。不需要分開的 PXE 伺服器。
31.2.1. 指令列設定
If the network server is not running X, the
pxeos
command line utility, which is part of the system-config-netboot
package, can be used to configure the tftp
server files as described in 節 31.4, “TFTPD”:
pxeos -a -i "<description>" -p <NFS|HTTP|FTP> -D 0 -s client.example.com \ -L <net-location> -k <kernel> -K <kickstart> <os-identifer>
以下的清單解釋了可使用的選項:
-a
— 指定一個 OS 實體已經被加入到 PXE 設定中。-i
"<description>" — Replace "<description>" with a description of the OS instance.-p
<NFS|HTTP|FTP> — Specify which of the NFS, FTP, or HTTP protocols to use for installation. Only one may be specified.-D
<0|1> — Specify "0
" which indicates that it is not a diskless configuration sincepxeos
can be used to configure a diskless environment as well.-s
client.example.com — 在-s
選項後提供了 NFS、 FTP 或 HTTP 伺服器名稱。-L
<net-location> — Provide the location of the installation tree on that server after the-L
option.-k
<kernel> — Provide the specific kernel version of the server installation tree for booting.-K
<kickstart> — Provide the location of the kickstart file, if available.- <os-identifer> — Specify the OS identifier, which is used as the directory name in the
/tftpboot/linux-install/
directory.
If FTP is selected as the installation protocol and anonymous login is not available, specify a username and password for login, with the following options before <os-identifer> in the previous command:
-A 0 -u <username> -p <password>
更多相關
pxeos
的指令列的資訊,請參照 pxeos
man page。