- Timestamp:
- 08/24/2001 08:45:42 PM (23 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, v3_0, v3_1, v3_2, v3_3, v4_0, 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:
- 0659660
- Parents:
- 0a68a6c
- Location:
- chapter06
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ed-inst.xml
r0a68a6c rbccc288 4 4 <para>Install Ed by running the following commands:</para> 5 5 6 <para><screen><userinput>cp buf.c buf.c -temp &&</userinput>7 <userinput>sed 's/int u/int u, sfd/' buf.c -temp | \</userinput>6 <para><screen><userinput>cp buf.c buf.c.backup &&</userinput> 7 <userinput>sed 's/int u/int u, sfd/' buf.c.backup | \</userinput> 8 8 <userinput> sed '/.*\*mktemp.*/d' | \</userinput> 9 9 <userinput> sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\</userinput> -
chapter06/glibc-exp.xml
r0a68a6c rbccc288 13 13 right now).</para> 14 14 15 <para><userinput>sed 's |$(PERL)|/usr/bin/perl|'15 <para><userinput>sed 's%\$(PERL)%/usr/bin/perl%' 16 16 ../glibc-&glibc-version;/malloc/Makefile > tmp~:</userinput> This sed command 17 17 searches through <filename>../glibc-&glibc-version;/malloc/Makefile</filename> and -
chapter06/glibc-inst.xml
r0a68a6c rbccc288 13 13 <userinput>mkdir ../glibc-build &&</userinput> 14 14 <userinput>cd ../glibc-build &&</userinput> 15 <userinput>sed 's|$(PERL)|/usr/bin/perl|' \</userinput> 15 <userinput>cp -f ../glibc-&glibc-version;/malloc/Makefile \</userinput> 16 <userinput> ../glibc-&glibc-version;/malloc/Makefile.backup &&</userinput> 17 <userinput>sed 's%\$(PERL)%/usr/bin/perl%' \</userinput> 16 18 <userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput> 17 19 <userinput>mv -f tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput> 20 <userinput>cp -f ../glibc-&glibc-version;/login/Makefile \</userinput> 21 <userinput> ../glibc-&glibc-version;/login/Makefile.backup &&</userinput> 18 22 <userinput>sed 's/root/0/' ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> 19 23 <userinput>mv -f tmp~ ../glibc-&glibc-version;/login/Makefile &&</userinput> -
chapter06/man-inst.xml
r0a68a6c rbccc288 5 5 6 6 <para><screen><userinput>for i in configure src/Makefile.in src/makewhatis.sh</userinput> 7 <userinput>do sed s/gawk/awk/g $i > $i.fixed</userinput> 8 <userinput>mv -f $i.fixed $i</userinput> 7 <userinput>do</userinput> 8 <userinput> cp $i $i.backup &&</userinput> 9 <userinput> sed 's/gawk/awk/g' $i > tmp~ &&</userinput> 10 <userinput> mv -f tmp~ $i</userinput> 9 11 <userinput>done</userinput> 10 12 <userinput>chmod 700 configure &&</userinput> -
chapter06/shadowpwd-exp.xml
r0a68a6c rbccc288 12 12 details on the system.</para> 13 13 14 <para><userinput>sed "s |/var/spool/mail|/var/mail|" login.defs.linux >14 <para><userinput>sed "s%/var/spool/mail%/var/mail%" login.defs.linux > 15 15 /etc/login.defs</userinput>: /var/spool/mail is the old location of the 16 16 user mailboxes. The location that is used nowadays is /var/mail.</para> -
chapter06/shadowpwd-inst.xml
r0a68a6c rbccc288 5 5 following commands:</para> 6 6 7 8 < para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput>9 <userinput> src/useradd.c > useradd.c.temp&&</userinput>10 <userinput>mv -f useradd.c.tempsrc/useradd.c &&</userinput>7 <para><screen><userinput>cp src/useradd.c src/useradd.c.backup &&</userinput> 8 <userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput> 9 <userinput> src/useradd.c > tmp~ &&</userinput> 10 <userinput>mv -f tmp~ src/useradd.c &&</userinput> 11 11 <userinput>./configure --prefix=/usr &&</userinput> 12 12 <userinput>make &&</userinput> … … 14 14 <userinput>cd etc &&</userinput> 15 15 <userinput>cp -f limits login.access /etc &&</userinput> 16 <userinput>sed "s|/var/spool/mail|/var/mail|"login.defs.linux > /etc/login.defs</userinput></screen></para>16 <userinput>sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs</userinput></screen></para> 17 17 18 18 </sect2> -
chapter06/sysvinit-inst.xml
r0a68a6c rbccc288 13 13 <para>Install Sysvinit by running the following commands:</para> 14 14 15 <para><screen><userinput>sed \</userinput> 16 <userinput> 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput> 17 <userinput> src/init.c > init.c.temp &&</userinput> 18 <userinput>mv -f init.c.temp src/init.c &&</userinput> 15 <para><screen><userinput>cp src/init.c src/init.c.backup &&</userinput> 16 <userinput>sed \</userinput> 17 <userinput> 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput> 18 <userinput> src/init.c > tmp~ &&</userinput> 19 <userinput>mv -f tmp~ src/init.c &&</userinput> 19 20 <userinput>make -C src &&</userinput> 20 21 <userinput>make -C src install</userinput></screen></para> -
chapter06/utillinux-inst.xml
r0a68a6c rbccc288 6 6 util-linux package, FHS-compliant, run the following.</para> 7 7 8 <para><screen><userinput>sed 's|etc/adjtime|var/lib/hwclock/adjtime|' \</userinput> 9 <userinput> hwclock/hwclock.c > hwclock~ &&</userinput> 10 <userinput>mv -f hwclock~ hwclock/hwclock.c &&</userinput> 11 <userinput>mkdir /var/lib/hwclock</userinput></screen></para> 8 <para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &&</userinput> 9 <userinput>sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \</userinput> 10 <userinput> hwclock/hwclock.c > tmp~ &&</userinput> 11 <userinput>mv -f tmp~ hwclock/hwclock.c &&</userinput> 12 <userinput>mkdir -p /var/lib/hwclock</userinput></screen></para> 12 13 13 14 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.