mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 06:14:13 +01:00
Cleaning up basic-net and some entities.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2976 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a6505d97a1
commit
c5194aac19
@ -97,7 +97,7 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>October 11h, 2003 [alex]: Adapted the required disk space
|
<listitem><para>October 11h, 2003 [alex]: Adapted the required disk space
|
||||||
values, as posted by Bruce Dubbs.</para></listitem>
|
values and SBUs, as posted by Bruce Dubbs.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>October 11h, 2003 [alex]: Chapter 5 - Toolchain technical
|
<listitem><para>October 11h, 2003 [alex]: Chapter 5 - Toolchain technical
|
||||||
notes: Added and changed some markup.</para></listitem>
|
notes: Added and changed some markup.</para></listitem>
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
<sect1 id="ch06-basic-net">
|
|
||||||
<title>Setting up Basic Networking</title>
|
|
||||||
<?dbhtml filename="basic-net.html" dir="chapter06"?>
|
|
||||||
|
|
||||||
<!-- Will clean this up later. -->
|
|
||||||
|
|
||||||
<para>Here will be set up basic networking now that all the necessary
|
|
||||||
software has been installed. There isn't all that much to do, really,
|
|
||||||
just creating a basic <filename>/etc/hosts</filename> file, and downloading
|
|
||||||
some high-quality network information files.</para>
|
|
||||||
|
|
||||||
<para>The first step is to create <filename>/etc/hosts</filename>. This file
|
|
||||||
contains information allowing resolution of host names to IP addresses.
|
|
||||||
Create a very basic one (we'll make a better one later, but Perl needs it now
|
|
||||||
for doing some tests) with the following command:</para>
|
|
||||||
|
|
||||||
<screen><userinput>echo "127.0.0.1 $(hostname) localhost" > /etc/hosts</userinput></screen>
|
|
||||||
|
|
||||||
<para>Now unpack the Lfs-Utils tarball again, as we're going to copy two
|
|
||||||
necessary files from it. One is <filename>/etc/services</filename>, which is
|
|
||||||
used to resolve service numbers to human-readable names, and the other is
|
|
||||||
<filename>/etc/protocols</filename>, which does the same for protocol numbers.
|
|
||||||
Copy them with the following command after you have entered the Lfs-Utils
|
|
||||||
directory:</para>
|
|
||||||
|
|
||||||
<screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen>
|
|
||||||
|
|
||||||
</sect1>
|
|
||||||
|
|
@ -37,7 +37,6 @@
|
|||||||
<!ENTITY chapter06 SYSTEM "../chapter06/chapter06.xml">
|
<!ENTITY chapter06 SYSTEM "../chapter06/chapter06.xml">
|
||||||
<!ENTITY c6-introduction SYSTEM "../chapter06/introduction.xml">
|
<!ENTITY c6-introduction SYSTEM "../chapter06/introduction.xml">
|
||||||
<!ENTITY c6-aboutdebug SYSTEM "../chapter06/aboutdebug.xml">
|
<!ENTITY c6-aboutdebug SYSTEM "../chapter06/aboutdebug.xml">
|
||||||
<!ENTITY c6-chrootcmd SYSTEM "../chapter06/chrootcmd.xml">
|
|
||||||
<!ENTITY c6-chroot SYSTEM "../chapter06/chroot.xml">
|
<!ENTITY c6-chroot SYSTEM "../chapter06/chroot.xml">
|
||||||
<!ENTITY c6-changingowner SYSTEM "../chapter06/changingowner.xml">
|
<!ENTITY c6-changingowner SYSTEM "../chapter06/changingowner.xml">
|
||||||
<!ENTITY c6-creatingdirs SYSTEM "../chapter06/creatingdirs.xml">
|
<!ENTITY c6-creatingdirs SYSTEM "../chapter06/creatingdirs.xml">
|
||||||
@ -45,10 +44,8 @@
|
|||||||
<!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml">
|
<!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml">
|
||||||
<!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml">
|
<!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml">
|
||||||
<!ENTITY c6-adjustingtoolchain SYSTEM "../chapter06/adjustingtoolchain.xml">
|
<!ENTITY c6-adjustingtoolchain SYSTEM "../chapter06/adjustingtoolchain.xml">
|
||||||
<!ENTITY c6-basic-net SYSTEM "../chapter06/basic-net.xml">
|
|
||||||
<!ENTITY c6-revisedchroot SYSTEM "../chapter06/revisedchroot.xml">
|
<!ENTITY c6-revisedchroot SYSTEM "../chapter06/revisedchroot.xml">
|
||||||
<!ENTITY c6-configure SYSTEM "../chapter06/configure.xml">
|
<!ENTITY c6-configure SYSTEM "../chapter06/configure.xml">
|
||||||
<!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml">
|
|
||||||
<!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml">
|
<!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml">
|
||||||
<!ENTITY c6-cf-password SYSTEM "../chapter06/create-password.xml">
|
<!ENTITY c6-cf-password SYSTEM "../chapter06/create-password.xml">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user