commit 212479f936eb57805a42834ceec4b1c78904c6a1
Author: Pete Travis <immanetize(a)fedoraproject.org>
Date: Sat Sep 6 15:10:50 2014 -0600
Basic instructions to install and turn on tftpd.
Note: build is still broken here.
en-US/Network_based_Installations.xml | 77 +++++++++++----------------------
1 files changed, 26 insertions(+), 51 deletions(-)
---
diff --git a/en-US/Network_based_Installations.xml
b/en-US/Network_based_Installations.xml
index 3c4e54d..21a7ee6 100644
--- a/en-US/Network_based_Installations.xml
+++ b/en-US/Network_based_Installations.xml
@@ -129,19 +129,29 @@
</step>
</procedure>
</section>
- <step>
- <para>
- Install the <package>tftp</package> package. To
do this, run the following command as <systemitem
class="username">root</systemitem>:
- </para>
- <screen>
-<prompt>#</prompt> <command>yum install tftp-server</command>
- </screen>
- </step>
- <step>
- <para>
- In the <filename>/etc/xinetd.d/tftp</filename>
configuration file, change the <parameter>disabled</parameter> parameter from
<literal>yes</literal> to <literal>no</literal>.
- </para>
- </step>
+ <section id="pxe-tftpd">
+ <procedure>
+ <title>Installing the tftp server</title>
+ <step>
+ <para>
+ Install the tftp server package.
+ </para>
+ <screen>
+ <command>yum install tftp-server</command>
+ </screen>
+ </step>
+ <step>
+ <para>
+ Start and enable the <systemitem class="resource">tftp
socket</systemitem>. <systemitem
class="daemon">systemd</systemitem> will automatically start the
<systemitem class="daemon">tftpd</systemitem> service when
required.
+ </para>
+ <screen>
+ <command>systemctl start tftp.socket</command>
+ <command>systemctl enable tftp.socket</command>
+ </screen>
+ </step>
+ </procedure>
+ </section>
+
<step>
<para>
Configure your <systemitem
class="protocol">DHCP</systemitem> server to use the boot images
packaged with SYSLINUX. If you do not have a DHCP server installed, see the
<citetitle>&PRODUCT; Networking Guide</citetitle>, available at the
<ulink
url="http://docs.fedoraproject.org/">Fedora Documentation
website</ulink>, for instructions.
@@ -223,18 +233,7 @@ label local
<prompt>#</prompt> <command>cp
/<replaceable>path/to</replaceable>/x86_64/os/images/pxeboot/{vmlinuz,initrd.img}
/var/lib/tftpboot/pxelinux/</command>
</screen>
</step>
- <step>
- <para>
- Enable and start the <systemitem
class="service">tftp</systemitem> and <systemitem
class="service">xinetd</systemitem> services using the
<command>systemctl</command> command.
- </para>
- <screen>
-<prompt>#</prompt> <command>systemctl enable xinetd.service
tftp.service</command>
- </screen>
- <screen>
-<prompt>#</prompt> <command>systemctl start xinetd.service
tftp.service</command>
- </screen>
- </step>
- </procedure>
+ </procedure>
<para>
After finishing this procedure, the PXE server is ready to start the
network installation. You can now start the system you want to install &PRODUCT; on,
select PXE Boot when prompted to specify a boot source, and start the network
installation.
</para>
@@ -247,20 +246,7 @@ label local
</para>
<procedure>
<title>Configuring PXE Boot for UEFI-based
Systems</title>
- <step>
- <para>
- Install the <package>tftp</package> package. To
do this, run the following command as <systemitem
class="username">root</systemitem>:
- </para>
- <screen>
-<prompt>#</prompt> <command>yum install tftp-server</command>
- </screen>
- </step>
- <step>
- <para>
- In the <filename>/etc/xinetd.d/tftp</filename>
configuration file, change the <parameter>disabled</parameter> parameter from
<literal>yes</literal> to <literal>no</literal>.
- </para>
- </step>
- <step>
+ <step>
<para>
You now need the <filename>shim.efi</filename>
file from the <package>shim</package> package and the
<filename>grubx64.efi</filename> file from the
<package>grub2-efi</package> package in the ISO image file. To access them,
run the following commands as root:
</para>
@@ -325,18 +311,7 @@ set timeout=1
<prompt>#</prompt> <command>cp
/<replaceable>path/to</replaceable>/x86_64/os/images/pxeboot/{vmlinuz,initrd.img}
/var/lib/tftpboot/uefi/</command>
</screen>
</step>
- <step>
- <para>
- Enable and start the <systemitem
class="service">tftp</systemitem> and <systemitem
class="service">xinetd</systemitem> services using the
<command>systemctl</command> command.
- </para>
- <screen>
-<prompt>#</prompt> <command>systemctl enable xinetd.service
tftp.service</command>
- </screen>
- <screen>
-<prompt>#</prompt> <command>systemctl start xinetd.service
tftp.service</command>
- </screen>
- </step>
- </procedure>
+ </procedure>
<para>
After finishing this procedure, the PXE server is ready to start the
network installation. You can now start the system you want to install &PRODUCT; on,
select PXE Boot when prompted to specify a boot source, and start the network
installation.
</para>