Changeset 4f8a3af9
- Timestamp:
- 01/28/2003 01:17:02 AM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6853131
- Parents:
- 7bfad05
- Location:
- chapter06
- Files:
-
- 1 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/config-glibc.xml
r7bfad05 r4f8a3af9 56 56 </sect2> 57 57 58 <sect2><title> </title><para> </para></sect2> 59 60 <sect2> 61 <title>Configuring Dynamic Loader</title> 62 63 <para>By default, the dynamic loader 64 (<filename>/lib/ld-linux.so.2</filename>) searches through <filename 65 class="directory">/lib</filename> and <filename 66 class="directory">/usr/lib</filename> for dynamic libraries that are needed 67 by programs when you run them. However, if there are libraries in 68 directories other than <filename class="directory">/lib</filename> and 69 <filename class="directory">/usr/lib</filename>, you need to add them to 70 the <filename>/etc/ld.so.conf</filename> file for the dynamic 71 loader to find them. Two directories that are commonly known to contain 72 additional libraries are <filename 73 class="directory">/usr/local/lib</filename> and <filename 74 class="directory">/opt/lib</filename>, so we add those directories to the 75 dynamic loader's search path.</para> 76 77 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the 78 following:</para> 79 80 <para><screen><userinput>cat > /etc/ld.so.conf << "EOF"</userinput> 81 # Begin /etc/ld.so.conf 82 83 /usr/local/lib 84 /opt/lib 85 86 # End /etc/ld.so.conf 87 <userinput>EOF</userinput></screen></para> 88 89 </sect2> 90 -
chapter06/config-shadowpwd.xml
r7bfad05 r4f8a3af9 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2><title>Configuring Shadow Password Suite</title> 2 4 -
chapter06/config-sysklogd.xml
r7bfad05 r4f8a3af9 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2><title>Configuring Sysklogd</title> 2 4 -
chapter06/config-sysvinit.xml
r7bfad05 r4f8a3af9 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2><title>Configuring Sysvinit</title> 2 4 -
chapter06/config-vim.xml
r7bfad05 r4f8a3af9 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2><title>Configuring Vim</title> 2 4 -
chapter06/configure.xml
r7bfad05 r4f8a3af9 1 1 <sect1 id="ch06-configure"> 2 <title>Configuring essential software</title>2 <title>Configuring system components</title> 3 3 <?dbhtml filename="configure.html" dir="chapter06"?> 4 4 5 <para>Now that all software is installed, all that we need to do to get a few6 programs running properly is to create their configuration files.</para>5 <para>Now that all software is installed, all that we need to do is perform 6 a few configuration tasks.</para> 7 7 8 &c6-cf-vim;9 &c6-cf-glibc;10 &c6-cf-ldso;11 &c6-cf-sysklogd;12 &c6-cf-shadowpwd;13 &c6-cf-sysvinit;14 8 &c6-cf-keyboard; 15 9 &c6-cf-utmp; -
chapter06/e2fsprogs-inst.xml
r7bfad05 r4f8a3af9 5 5 6 6 <para>It is recommended to build E2fsprogs outside of the 7 source tree . Create the build directory:</para>7 source tree:</para> 8 8 9 9 <para><screen><userinput>mkdir ../e2fsprogs-build && … … 19 19 <itemizedlist> 20 20 21 <listitem><para><userinput>--with-root-prefix="":</userinput> This option 22 is used because of the e2fsprogs Makefile. Some programs are essential for 23 system use when, for example, <filename class="directory">/usr</filename> 24 isn't mounted (like the e2fsck program). These programs and libraries, 25 therefore, belong in directories like <filename 26 class="directory">/lib</filename> and <filename 27 class="directory">/sbin</filename>. If this option isn't passed to 28 E2fsprogs's configure, the programs are placed in the <filename 29 class="directory">/usr</filename> directory, which is not what we 21 <listitem><para><userinput>--with-root-prefix="":</userinput> Certain 22 programs (such as the e2fsck program) are considered essential programs. 23 When, for example, <filename class="directory">/usr</filename> isn't 24 mounted, these essential program have to be available. They belong in 25 directories like <filename class="directory">/lib</filename> and 26 <filename class="directory">/sbin</filename>. If this option isn't passed 27 to E2fsprogs's configure, the programs are placed in the 28 <filename class="directory">/usr</filename> directory, which is not what we 30 29 want.</para></listitem> 31 30 -
chapter06/lilo-inst.xml
r7bfad05 r4f8a3af9 16 16 <para><screen><userinput>make install</userinput></screen></para> 17 17 18 <para>It appears that compilation of this package fails on certain machines19 when the <emphasis>-g</emphasis> compiler flag is used. If you can't compile20 Lilo at all, you should try to remove the <emphasis>-g</emphasis> value from21 the CFLAGS variable in the <filename>Makefile</filename> file.</para>22 23 18 <para>At the end of the installation, a message will appear stating that 24 19 <filename>/sbin/lilo</filename> has to be executed. This is pointless because -
chapter06/patch-inst.xml
r7bfad05 r4f8a3af9 6 6 <para>Prepare Patch to be compiled:</para> 7 7 8 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \ 9 ./configure --prefix=/usr</userinput></screen></para> 8 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para> 10 9 11 10 <para>Continue with compiling the package:</para> -
chapter06/shadowpwd-inst.xml
r7bfad05 r4f8a3af9 12 12 <para>Prepare Shadow to be compiled:</para> 13 13 14 <para><screen><userinput>./configure --prefix=/usr \15 -- libdir=/usr/lib --enable-shared</userinput></screen></para>14 <para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \ 15 --enable-shared</userinput></screen></para> 16 16 17 17 <para>Continue with compiling the package:</para> -
chapter06/shadowpwd.xml
r7bfad05 r4f8a3af9 9 9 &aa-shadowpwd-dep; 10 10 &c6-shadowpwd-inst; 11 &c6-cf-shadowpwd; 11 12 12 13 </sect1> -
chapter06/sysklogd.xml
r7bfad05 r4f8a3af9 9 9 &aa-sysklogd-dep; 10 10 &c6-sysklogd-inst; 11 &c6-cf-sysklogd; 11 12 12 13 </sect1> -
chapter06/sysvinit.xml
r7bfad05 r4f8a3af9 9 9 &aa-sysvinit-dep; 10 10 &c6-sysvinit-inst; 11 &c6-cf-sysvinit; 11 12 12 13 </sect1> -
chapter06/tar-inst.xml
r7bfad05 r4f8a3af9 15 15 <para>Prepare Tar to be compiled:</para> 16 16 17 <para><screen><userinput>./configure --prefix=/usr \18 --libexecdir=/usr/bin --bindir=/bin</userinput></screen></para>17 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ 18 --libexecdir=/usr/bin</userinput></screen></para> 19 19 20 20 <para>Continue with compiling the package:</para> -
chapter06/vim.xml
r7bfad05 r4f8a3af9 10 10 &aa-vim-dep; 11 11 &c6-vim-inst; 12 &c6-cf-vim; 12 13 13 14 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.