source: chapter07/hostname.xml@ 835892c

Last change on this file since 835892c was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[a811dff0]2<!DOCTYPE section [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[a811dff0]6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-scripts-hostname">
[6a0e6f3]8<title>Configuring the localnet script</title>
[673b0d8]9<?dbhtml filename="hostname.html"?>
10
11<indexterm zone="ch-scripts-hostname">
12<primary sortas="d-localnet">localnet</primary>
13<secondary>configuring</secondary></indexterm>
[8d18f3d]14
15<para>Part of the localnet script is setting up the system's hostname. This
[f67f5cf]16needs to be configured in the <filename>/etc/sysconfig/network</filename>.</para>
[8d18f3d]17
[f67f5cf]18<para>Create the <filename>/etc/sysconfig/network</filename> file and enter a hostname by
[8d18f3d]19running:</para>
20
[f67f5cf]21<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
[8d18f3d]22
[f67f5cf]23<para><replaceable>[lfs]</replaceable> needs to be replaced with the name the computer is
[2c094d6]24to be called. You should not enter the FQDN (Fully Qualified Domain
[8d18f3d]25Name) here. That information will be put in the
26<filename>/etc/hosts</filename> file later on.</para>
27
[a811dff0]28</section>
Note: See TracBrowser for help on using the repository browser.