Changeset 3df86b66
- Timestamp:
- 09/30/2003 07:21:06 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2df36e4
- Parents:
- b028890
- Location:
- postlfs
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/bootdisk.xml
rb028890 r3df86b66 141 141 utility that also has many transformation capabilities.</para> 142 142 143 <para>< command>if=/dev/zero</command>: This parameter assigns143 <para><parameter>if=/dev/zero</parameter>: This parameter assigns 144 144 <command>dd</command>'s input file to a device that returns an infinite 145 145 stream of zeroes.</para> 146 146 147 <para>< command>of=/tmp/rfloppy</command>: This parameter directs147 <para><parameter>of=/tmp/rfloppy</parameter>: This parameter directs 148 148 <command>dd</command>'s output to <filename>/tmp/rfloppy</filename>.</para> 149 149 150 <para>< command>bs=1k count=4096</command>: These parameters tell150 <para><parameter>bs=1k count=4096</parameter>: These parameters tell 151 151 <filename>dd</filename> to read and write in "chunks" of 1024 bytes and 152 152 process 4096 "chunks".</para> … … 184 184 185 185 <para>If your <command>mount</command> supports the 186 < userinput>-o loop</userinput> option <emphasis>and</emphasis> your186 <option>-o loop</option> option <emphasis>and</emphasis> your 187 187 <filename>/etc/mtab</filename> is a real file, rather than a symlink to 188 188 <filename>/proc</filename>, the three above commands can be replaced … … 509 509 510 510 <para>Unmount the loopback file. If you used <command>mount</command>'s 511 < userinput>-o loop</userinput> option, the "bond" between the loop device511 <option>-o loop</option> option, the "bond" between the loop device 512 512 and the file will be removed when the unmount is done. Just omit the 513 513 <command>losetup -d /dev/loop1</command> from the following … … 592 592 of <filename>/dev/floppy/0</filename>.</para> 593 593 594 <screen><userinput><command>rdev -r /dev/floppy/0 16865595 dd if=/tmp/rootfs.gz of=/dev/floppy/0 bs=1k seek= 481</command></userinput></screen>594 <screen><userinput><command>rdev -r /dev/floppy/0 <replaceable>16865</replaceable> 595 dd if=/tmp/rootfs.gz of=/dev/floppy/0 bs=1k seek=<replaceable>481</replaceable></command></userinput></screen> 596 596 597 597 <para>In this command, <command>seek</command> was used to position to … … 628 628 image on the diskette.</para> 629 629 630 <screen><userinput><command>rdev -r /dev/floppy/0 49152</command></userinput></screen>630 <screen><userinput><command>rdev -r /dev/floppy/0 <replaceable>49152</replaceable></command></userinput></screen> 631 631 632 632 <para>Note that the initrd image is <emphasis>not</emphasis> copied to -
postlfs/config/compressdoc.xml
rb028890 r3df86b66 418 418 documentation in nonstandard places (such as <filename class="directory"> 419 419 /usr/X11R6/man</filename>, etc...). Don't forget to add those locations in the 420 file <filename>/etc/man.conf</filename>, as a MANPATH=/path section. Example: 421 <screen><userinput> 420 file <filename>/etc/man.conf</filename>, as a 421 <envar>MANPATH</envar>=<replaceable>/path</replaceable> section.</para> 422 <para> Example:<screen><userinput> 422 423 ... 423 424 MANPATH=/usr/share/man … … 425 426 MANPATH=/usr/X11R6/man 426 427 MANPATH=/opt/qt/doc/man 427 ... 428 </userinput></screen></para> 428 ...</userinput></screen></para> 429 429 430 430 <para>Generally, package installation systems do not compress man/info pages, -
postlfs/config/inputrc.xml
rb028890 r3df86b66 37 37 file to <filename>/etc/inputrc</filename> and the home directory 38 38 of any user already existing in the system, including root, that needs 39 a private version of the file. Be sure to use the "-p"parameter40 of "cp"to maintain permissions and be sure to change owner and group39 a private version of the file. Be sure to use the <option>-p</option> parameter 40 of <command>cp</command> to maintain permissions and be sure to change owner and group 41 41 appropriately. 42 42 </para> -
postlfs/config/logon.xml
rb028890 r3df86b66 35 35 display various information. All escape codes consist of a backslash 36 36 (\) immediately followed by one of the letters explained 37 below (so \din <filename>/etc/issue</filename> would37 below (so <option>\d</option> in <filename>/etc/issue</filename> would 38 38 insert the current date).</para> 39 39 -
postlfs/config/profile.xml
rb028890 r3df86b66 47 47 <filename>~/.dircolors</filename> files called from 48 48 <filename>/etc/profile</filename>. They control colorized output of 49 things like < emphasis>ls --color</emphasis>.49 things like <command>ls --color</command>. 50 50 </para> 51 51 -
postlfs/config/skel.xml
rb028890 r3df86b66 96 96 97 97 <para>When adding a new user with <command>useradd</command> use 98 the < userinput>-m</userinput> parameter, which tells98 the <option>-m</option> parameter, which tells 99 99 <command>useradd</command> to create the user's home directory and 100 100 copy files from <filename>/etc/skel</filename> (can be overridden) to -
postlfs/config/vimrc.xml
rb028890 r3df86b66 52 52 <itemizedlist> 53 53 54 <listitem><para>< userinput>set bs=2</userinput> : This influences the behavior55 of the backspace option. It is fairly complex so see < userinput>:help 'bs'56 </ userinput> for more details.</para></listitem>54 <listitem><para><option>set bs=2</option> : This influences the behavior 55 of the backspace option. It is fairly complex so see <command>:help 'bs' 56 </command> for more details.</para></listitem> 57 57 58 <listitem><para>< userinput>set columns=80</userinput> : This simply sets the58 <listitem><para><option>set columns=80</option> : This simply sets the 59 59 number of columns used on the screen.</para></listitem> 60 60 61 <listitem><para>< userinput>set background=dark</userinput> : This tells61 <listitem><para><option>set background=dark</option> : This tells 62 62 <command>vim</command> to use colors which look good on a dark 63 63 background.</para></listitem> 64 64 65 <listitem><para>< userinput>set wrapmargin=8</userinput> : This is the number of65 <listitem><para><option>set wrapmargin=8</option> : This is the number of 66 66 characters from the right window border where wrapping starts.</para> 67 67 </listitem> 68 68 69 <listitem><para>< userinput>syntax on</userinput> : Enables69 <listitem><para><option>syntax on</option> : Enables 70 70 <command>vim</command>'s syntax highlighting.</para></listitem> 71 71 72 <listitem><para>< userinput>set ruler</userinput> : This makes <command>vim72 <listitem><para><option>set ruler</option> : This makes <command>vim 73 73 </command> show the current row and column at the bottom right of 74 74 the screen.</para></listitem> … … 79 79 <para>More information on the <emphasis>many</emphasis> <command>vim</command> 80 80 options can be found by reading the help inside <command>vim</command> itself. 81 Do this by typing <command>:</command>< userinput>help</userinput> in81 Do this by typing <command>:</command><option>help</option> in 82 82 <command>vim</command> to get the general help, or by typing <command>: 83 </command>< userinput>help usr_toc.txt</userinput> to view83 </command><option>help usr_toc.txt</option> to view 84 84 the User Manual Table of Contents.</para> 85 85 -
postlfs/editors/vim/vim-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para>< command>--with-features=huge</command>: Enables all the additional4 <para><option>--with-features=huge</option>: Enables all the additional 5 5 features available in <application>Vim</application>.</para> 6 6 -
postlfs/filesystems/ext3.xml
rb028890 r3df86b66 25 25 partition (e.g. <filename>/dev/hda2</filename>), <filename class="directory"> 26 26 /mnt_point</filename> by the mount point (e.g. <filename>/home</filename>). The 27 0in the last field ensures that the partition will not be checked for27 <option>0</option> in the last field ensures that the partition will not be checked for 28 28 consistency during bootup by the checkfs script. You may replace the ext3 fs 29 29 type in the above by auto if you want to ensure that the partition is mounted -
postlfs/filesystems/reiser/reiser-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para>< command>--prefix=/usr</command>: This ensures that4 <para><option>--prefix=/usr</option>: This ensures that 5 5 the manual pages are installed in the correct location while still 6 6 installing the programs in <filename>/sbin</filename> as they should 7 7 be.</para> 8 8 9 <para>< command>--sbindir=/sbin</command>: This ensures that the9 <para><option>--sbindir=/sbin</option>: This ensures that the 10 10 <application>ReiserFS</application> 11 11 utilities are installed in <filename>/sbin</filename> as they should be.</para> -
postlfs/filesystems/xfs/xfs-patch-inst.xml
rb028890 r3df86b66 2 2 <title>Patching Linux-&xfspatch-version; for <acronym>XFS</acronym></title> 3 3 4 <para>Build an <acronym>XFS</acronym> -enabled Linux &xfspatch-version; kernel4 <para>Build an <acronym>XFS</acronym> enabled Linux &xfspatch-version; kernel 5 5 with the following commands:</para> 6 6 -
postlfs/security/firewalling/masqrouter.xml
rb028890 r3df86b66 3 3 4 4 <para>A true Firewall has two interfaces, one connected to an intranet, 5 in this example, eth0, and one connected to the internet, here, ppp0. 5 in this example, <emphasis role="strong">eth0</emphasis>, and one 6 connected to the internet, here, <emphasis role="strong">ppp0</emphasis>. 6 7 To provide the maximum security against the box itself being broken into, 7 make sure that there are no servers running on it, especially not X11 et 8 make sure that there are no servers running on it, especially not 9 <application>X11</application> et 8 10 al. And, as a general principle, the box itself should not access any untrusted 9 11 service (Think of a name server giving answers that make your … … 88 90 <para>Note: if the interface you're connecting to the Internet 89 91 doesn't connect via ppp, you will need to change 90 < userinput>ppp+</userinput> to the name of the interface which you are92 <replaceable>ppp+</replaceable> to the name of the interface which you are 91 93 using. If you are using the same interface type to connect to both your 92 94 intranet and the internet, you need to use the actual name of the 93 interface such as <emphasis >eth<userinput>0</userinput></emphasis>,95 interface such as <emphasis role="strong">eth0</emphasis>, 94 96 on both interfaces.</para> 95 97 -
postlfs/security/gnupg/gnupg-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para>< command>--libexecdir=/usr/sbin</command>: This command4 <para><option>--libexecdir=/usr/sbin</option>: This command 5 5 creates a <filename>gnupg</filename> directory in <filename>/usr/sbin</filename> instead of 6 6 <filename>/usr/libexec</filename>.</para> -
postlfs/security/iptables/iptables-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para>< command>PREFIX=/usr</command>: Compiles and installs4 <para><parameter>PREFIX=/usr</parameter>: Compiles and installs 5 5 <application>iptables</application> into the 6 6 <filename class="directory">/usr</filename> hierarchy instead of -
postlfs/security/pam/linux_pam-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para>< command>--enable-static-libpam</command>: This switch builds4 <para><option>--enable-static-libpam</option>: This switch builds 5 5 static <acronym>PAM</acronym> libraries as well as the dynamic libraries.</para> 6 6 7 <para>< command>--with-mailspool=/var/mail</command>: This switch makes7 <para><option>--with-mailspool=/var/mail</option>: This switch makes 8 8 the mailspool directory <acronym>FHS</acronym> compliant.</para> 9 9 10 <para>< command>--enable-read-both-confs</command>: This switch lets the local administrator choose which configuration file setup to use.</para>10 <para><option>--enable-read-both-confs</option>: This switch lets the local administrator choose which configuration file setup to use.</para> 11 11 12 12 <para><command>mv /lib/libpam.a /lib/libpam_misc.a /lib/libpamc.a 13 /usr/lib</command> 13 /usr/lib</command>: This command moves the static libraries to 14 14 <filename>/usr/lib</filename> to comply with <acronym>FHS</acronym>.</para> 15 15 -
postlfs/security/shadow/shadow-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para><command>cp debian/securetty /etc/securetty</command> 4 <para><command>cp debian/securetty /etc/securetty</command>: This 5 5 command sets the tty's that allow logins through <acronym>PAM</acronym>.</para> 6 6 -
postlfs/security/tripwire/tripwire-config.xml
rb028890 r3df86b66 38 38 tripwire -m i</command></userinput></screen> 39 39 40 <para>During configuration tripwire will create 2keys: a site key and40 <para>During configuration tripwire will create two (2) keys: a site key and 41 41 a local key which will be stored in <filename class="directory">/etc/tripwire/ 42 42 </filename>.</para> -
postlfs/security/tripwire/tripwire-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para><command>ln -s make /usr/bin/gmake</command> 4 <para><command>ln -s make /usr/bin/gmake</command>: The reason we create the 5 5 <command>gmake</command> symlink is that <application>Tripwire</application> 6 6 will only install if the symlink is present. It may be safely removed after 7 7 installation.</para> 8 8 9 <para><command>gmake release</command> 9 <para><command>gmake release</command>: This command creates the 10 10 <application>Tripwire</application> binaries.</para> 11 11 12 <para><command>cp install.{sh,cfg} .</command> 12 <para><command>cp install.{sh,cfg} .</command>: These are copied to the main 13 13 <application>Tripwire</application> directory so that the script can be used to 14 14 install the package.</para> 15 15 16 <para><command>cp policy/*.txt /usr/share/doc/tripwire</command> 16 <para><command>cp policy/*.txt /usr/share/doc/tripwire</command>: This command 17 17 installs the documentation.</para> 18 18 -
postlfs/shells/tcsh/tcsh-exp.xml
rb028890 r3df86b66 2 2 <title>Command explanations</title> 3 3 4 <para><command>cp tcsh.man /usr/share/man/man1/tcsh.1</command> 4 <para><command>cp tcsh.man /usr/share/man/man1/tcsh.1</command>: 5 5 <application>Tcsh</application> doesn't install its man page correctly, so we do it manually.</para> 6 6 7 <para><command>ln -s /usr/bin/tcsh /bin/csh</command> 7 <para><command>ln -s /usr/bin/tcsh /bin/csh</command>: The 8 8 <acronym>FHS</acronym> states that 9 9 if there is a <application>C</application> shell installed, there should be a symlink from
Note:
See TracChangeset
for help on using the changeset viewer.