LDP/LDP/retired/LFS/chapter07/hostname.xml

20 lines
698 B
XML
Raw Normal View History

2002-03-20 23:31:55 +00:00
<sect1 id="ch07-hostname">
<title>Configuring the localnet script</title>
<?dbhtml filename="hostname.html" dir="chapter07"?>
<para>Part of the localnet script is setting up the system's hostname. This
needs to be configured in the /etc/sysconfig/network.</para>
<para>Create the /etc/sysconfig/network file and enter a hostname by
running:</para>
2003-11-06 15:49:30 +00:00
<screen><userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput></screen>
2002-03-20 23:31:55 +00:00
<para><quote>lfs</quote> needs to be replaced with the name the computer is
2002-10-07 16:04:19 +00:00
to be called. You should not enter the FQDN (Fully Qualified Domain
2002-03-20 23:31:55 +00:00
Name) here. That information will be put in the
<filename>/etc/hosts</filename> file later on.</para>
</sect1>