Changeset fe88f584
- Timestamp:
- 03/28/2004 07:14:54 AM (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_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- babc75b
- Parents:
- ae9c528
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
content/web/apache/apache-config.xml
rae9c528 rfe88f584 22 22 server.</para> 23 23 24 <para>To automate the running of Apache, use the following command to 25 create the init.d script:</para> 26 27 <screen><userinput><command>cat > /etc/rc.d/init.d/apache << "EOF"</command> 28 #!/bin/sh 29 30 . /etc/sysconfig/rc 31 . $rc_functions 32 33 case "$1" in 34 start) 35 echo "Starting Apache daemon..." 36 /usr/sbin/apachectl -k start 37 evaluate_retval 38 ;; 39 40 stop) 41 echo "Stopping Apache daemon..." 42 /usr/sbin/apachectl -k stop 43 evaluate_retval 44 ;; 45 46 restart) 47 echo "Restarting Apache daemon..." 48 /usr/sbin/apachectl -k restart 49 evaluate_retval 50 ;; 51 52 status) 53 statusproc /usr/sbin/httpd 54 ;; 55 56 *) 57 echo "Usage: $0 {start|stop|restart|status}" 58 exit 1 59 ;; 60 esac 61 <command>EOF 62 chmod 755 /etc/rc.d/init.d/apache</command></userinput></screen> 63 64 <para>Create the symbolic links to this file in the relevant 65 <filename class="directory">rc.d</filename> directory 66 with the following commands:</para> 67 68 <screen><userinput><command>cd /etc/rc.d/init.d && 69 ln -sf ../init.d/apache ../rc0.d/K28apache && 70 ln -sf ../init.d/apache ../rc1.d/K28apache && 71 ln -sf ../init.d/apache ../rc2.d/K28apache && 72 ln -sf ../init.d/apache ../rc3.d/S32apache && 73 ln -sf ../init.d/apache ../rc4.d/S32apache && 74 ln -sf ../init.d/apache ../rc5.d/S32apache && 75 ln -sf ../init.d/apache ../rc6.d/K28apache</command></userinput></screen> 24 <para>Install <filename>/etc/rc.d/init.d/apache</filename> 25 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 26 27 <screen><userinput><command>make install-apache</command></userinput></screen> 76 28 77 29 </sect3> -
content/web/apache/apache-exp.xml
rae9c528 rfe88f584 2 2 <title>Command explanations</title> 3 3 4 <para><parameter>--with-expat=/usr</parameter>: Uses system installed 5 expat. <emphasis>If you have installed expat and do not use this switch, the 6 apache installation may overwrite some files from the expat installation.</emphasis></para> 4 7 <para><parameter>--enable-mods-shared=all</parameter>: We want modules 5 8 to be compiled and used as Dynamic Shared Objects -
content/web/apache/apache-intro.xml
rae9c528 rfe88f584 25 25 <sect4><title>Optional</title> 26 26 <para><xref linkend="db"/> or <xref linkend="gdbm"/>, <xref linkend="openssl"/>, <xref 27 linkend="openldap"/> and <xref linkend="lynx"/>27 linkend="openldap"/> <xref linkend="expat"/> and <xref linkend="lynx"/> 28 28 </para></sect4> 29 29 </sect3> -
content/web/proftpd/proftpd-config.xml
rae9c528 rfe88f584 1 1 <sect2> 2 2 <title>Configuring <application>ProFTPD</application></title> 3 4 <sect3><title>proftpd init.d script</title> 5 <para>Install <filename>/etc/rc.d/init.d/proftpd</filename> 6 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 7 8 <screen><userinput><command>make install-proftpd</command></userinput></screen> 9 10 </sect3> 3 11 4 12 <sect3><title>Config files</title> … … 64 72 65 73 66 <sect3><title>proftpd init.d script</title>67 68 <screen><userinput><command>cat > /etc/rc.d/init.d/proftpd << "EOF"</command>69 #!/bin/sh70 # Begin $rc_base/init.d/proftpd71 72 # Based on sysklogd script from LFS-3.1 and earlier.73 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org74 75 . /etc/sysconfig/rc76 . $rc_functions77 78 case "$1" in79 start)80 echo "Starting FTP Server..."81 loadproc /usr/sbin/proftpd82 ;;83 84 stop)85 echo "Stopping FTP Server..."86 killproc /usr/sbin/proftpd87 ;;88 89 reload)90 echo "Reloading FTP Server..."91 reloadproc /usr/sbin/proftpd92 ;;93 94 restart)95 $0 stop96 sleep 197 $0 start98 ;;99 100 status)101 statusproc /usr/sbin/proftpd102 ;;103 104 *)105 echo "Usage: $0 {start|stop|reload|restart|status}"106 exit 1107 ;;108 esac109 110 # End $rc_base/init.d/proftpd111 <command>EOF112 chmod 755 /etc/rc.d/init.d/proftpd</command></userinput></screen>113 114 <para>Create the symbolic links to this file in the relevant <filename115 class="directory">rc.d</filename> directories with the following116 commands:</para>117 <screen><userinput><command>cd /etc/rc.d/init.d &&118 ln -sf ../init.d/proftpd ../rc0.d/K28proftpd &&119 ln -sf ../init.d/proftpd ../rc1.d/K28proftpd &&120 ln -sf ../init.d/proftpd ../rc2.d/K28proftpd &&121 ln -sf ../init.d/proftpd ../rc3.d/S32proftpd &&122 ln -sf ../init.d/proftpd ../rc4.d/S32proftpd &&123 ln -sf ../init.d/proftpd ../rc5.d/S32proftpd &&124 ln -sf ../init.d/proftpd ../rc6.d/K28proftpd</command></userinput></screen>125 126 </sect3>127 128 74 </sect2> -
gnome/other/gdm/gdm-config.xml
rae9c528 rfe88f584 29 29 <para><command>gdm</command> can be tested by executing it from a root console.</para> 30 30 31 <para>To automate the running of <command>gdm</command>, use the following command to 32 create the init.d script if your 33 GNOME_PREFIX=/opt/gnome-&gnome-version;. The fully qualified paths can 34 be removed for GNOME_PREFIX=/usr:</para> 35 <screen><userinput><command>cat > /etc/rc.d/init.d/gdm << "EOF"</command> 36 #!/bin/sh 37 # Begin $rc_base/init.d/gdm 31 <para>To start a graphical login at boot, install <filename>/etc/rc.d/init.d/gdm</filename> 32 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 38 33 39 # Based on sysklogd script from LFS-3.1 and earlier. 40 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org 41 42 . /etc/sysconfig/rc 43 . $rc_functions 44 45 case "$1" in 46 start) 47 echo "Starting GDM..." 48 loadproc /opt/gnome-&gnome-version;/bin/gdm 49 ;; 50 51 stop) 52 echo "Stopping GDM..." 53 if [ -f /var/run/gdm.pid ]; then 54 loadproc /opt/gnome-&gnome-version;/sbin/gdm-stop 55 fi 56 ;; 57 58 reload) 59 echo "Reloading GDM..." 60 reloadproc /opt/gnome-&gnome-version;/sbin/gdm-safe-restart 61 ;; 62 63 restart) 64 echo "Restarting GDM..." 65 loadproc /opt/gnome-&gnome-version;/sbin/gdm-restart 66 ;; 67 68 *) 69 echo "Usage: $0 {start|stop|reload|restart}" 70 exit 1 71 ;; 72 esac 73 74 # End $rc_base/init.d/gdm 75 <command>EOF 76 chmod 755 /etc/rc.d/init.d/gdm</command></userinput></screen> 77 78 <para>Create the symbolic links to this file in the relevant 79 <filename>rc.d</filename> 80 directory with the following commands:</para> 81 <screen><userinput><command>cd /etc/rc.d/init.d && 82 ln -sf ../init.d/gdm ../rc0.d/K05gdm && 83 ln -sf ../init.d/gdm ../rc1.d/K05gdm && 84 ln -sf ../init.d/gdm ../rc2.d/K05gdm && 85 ln -sf ../init.d/gdm ../rc3.d/K05gdm && 86 ln -sf ../init.d/gdm ../rc4.d/K05gdm && 87 ln -sf ../init.d/gdm ../rc5.d/S95gdm && 88 ln -sf ../init.d/gdm ../rc6.d/K05gdm</command></userinput></screen> 34 <screen><userinput><command>make install-gdm</command></userinput></screen> 89 35 90 36 <para>To autostart with a graphical login, edit -
index.xml
rae9c528 rfe88f584 3 3 "/usr/share/docbook/docbookx.dtd" [ 4 4 5 <!ENTITY version "CVS-2004032 7">6 <!ENTITY releasedate "March 2 7th, 2004">5 <!ENTITY version "CVS-20040328"> 6 <!ENTITY releasedate "March 28th, 2004"> 7 7 <!ENTITY blfs-version "cvs"> 8 8 -
introduction/welcome/changelog.xml
rae9c528 rfe88f584 13 13 14 14 <listitem><para>March 27th, 2004 [tushar]: Updated mysql, postgresql, bind, dhcp 15 apache, proftpd, gdm, alsa, cups, lprng, xfree86, 15 16 openssh, rsync, samba and xinetd to use lfs-bootscripts for init scripts.</para></listitem> 16 17 -
multimedia/libdriv/alsa/utils/alsa-utils-config.xml
rae9c528 rfe88f584 19 19 installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>. While it 20 20 is possible to use this script, it contains a lot of extraneous detail which 21 isn't needed on an <acronym>LFS</acronym> system and so we create our own 22 script <filename>/etc/rc.d/init.d/alsa</filename>.</para> 21 isn't needed on an <acronym>LFS</acronym> system and so we install the init 22 script <filename>/etc/rc.d/init.d/alsa</filename> included in the 23 <xref linkend="intro-important-bootscripts"/> package.</para> 23 24 24 <para>To create the <application><acronym>ALSA</acronym></application> script, do the following:</para> 25 26 <screen><userinput><command>cat > /etc/rc.d/init.d/alsa << "EOF"</command> 27 #!/bin/sh 28 # Begin $rc_base/init.d/alsa 29 30 # Based on sysklogd script from LFS-3.1 and earlier. 31 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org 32 # ALSA specific parts by Mark Hymers - markh@linuxfromscratch.org 33 # Stores mixer settings in the default location: /etc/asound.state 34 35 . /etc/sysconfig/rc 36 . $rc_functions 37 38 case "$1" in 39 start) 40 echo "Starting ALSA... Restoring volumes..." 41 loadproc /usr/sbin/alsactl restore 42 #echo " Loading MIDI font..." 43 #loadproc sfxload /path/to/soundfont 44 ;; 45 46 stop) 47 echo "Stopping ALSA... Saving volumes......" 48 loadproc /usr/sbin/alsactl store 49 #echo " Removing MIDI font.........." 50 #loadproc sfxload -i 51 ;; 52 53 restart) 54 $0 stop 55 /bin/sleep 1 56 $0 start 57 ;; 58 59 *) 60 echo "Usage: $0 {start|stop|restart}" 61 exit 1 62 ;; 63 64 esac 65 66 # End $rc_base/init.d/alsa 67 <command>EOF 68 chmod 755 /etc/rc.d/init.d/alsa</command></userinput></screen> 69 70 <para>You can then create the appropriate symlinks:</para> 71 <screen><userinput><command>cd /etc/rc.d/init.d && 72 ln -sf ../init.d/alsa ../rc0.d/K35alsa && 73 ln -sf ../init.d/alsa ../rc1.d/K35alsa && 74 ln -sf ../init.d/alsa ../rc2.d/S40alsa && 75 ln -sf ../init.d/alsa ../rc3.d/S40alsa && 76 ln -sf ../init.d/alsa ../rc4.d/S40alsa && 77 ln -sf ../init.d/alsa ../rc5.d/S40alsa && 78 ln -sf ../init.d/alsa ../rc6.d/K35alsa</command></userinput></screen> 25 <screen><userinput><command>make install-alsa</command></userinput></screen> 79 26 80 27 <para>Note that all channels of your soundcard are muted by default. You can -
multimedia/libdriv/libdriv.xml
rae9c528 rfe88f584 25 25 &id3lib; 26 26 &flac; 27 &libdvdcss; 27 28 &libdvdread; 28 &libdvdcss;29 29 &libdv; 30 30 &liba52; -
pst/printing/cups/cups-config.xml
rae9c528 rfe88f584 21 21 created the startup file <filename>/etc/rc.d/init.d/cups</filename>. The file 22 22 works, but you may want to change it to a more conventional <acronym>LFS 23 </acronym> startup file:</para> 23 </acronym> startup file by installing the script included in the 24 <xref linkend="intro-important-bootscripts"/> package:</para> 24 25 25 <screen><userinput><command>cat > /etc/rc.d/init.d/cups << "EOF"</command> 26 #!/bin/sh 27 # Begin $rc_base/init.d/cups 28 29 # Start or stop the CUPS server based upon the first argument to the script. 30 31 . /etc/sysconfig/rc 32 . $rc_functions 33 34 case $1 in 35 start) 36 echo "Starting CUPS Printserver..." 37 loadproc /usr/sbin/cupsd 38 ;; 39 stop) 40 echo "Stopping CUPS Printserver..." 41 killproc cupsd 42 ;; 43 44 reload) 45 echo "Reloading CUPS Printserver..." 46 reloadproc /usr/sbin/cupsd 47 ;; 48 49 restart) 50 $0 stop 51 sleep 1 52 $0 start 53 ;; 54 55 status) 56 statusproc cupsd 57 ;; 58 59 *) 60 echo "Usage: $0 {start|stop|reload|restart|status}" 61 exit 1 62 ;; 63 esac 64 65 # End $rc_base/init.d/cups startup script. 66 <command>EOF</command></userinput></screen> 67 68 <para>Create the symbolic links to this file in the relevant 69 <filename class="directory">rc.d</filename> directory 70 with the following commands:</para> 71 72 <screen><userinput><command>cd /etc/rc.d/init.d && 73 ln -sf ../init.d/cups ../rc0.d/K00cups && 74 ln -sf ../init.d/cups ../rc1.d/K00cups && 75 ln -sf ../init.d/cups ../rc2.d/S99cups && 76 ln -sf ../init.d/cups ../rc3.d/S99cups && 77 ln -sf ../init.d/cups ../rc4.d/S99cups && 78 ln -sf ../init.d/cups ../rc5.d/S99cups && 79 ln -sf ../init.d/cups ../rc6.d/K00cups</command></userinput></screen> 26 <screen><userinput><command>make install-cups</command></userinput></screen> 80 27 81 28 </sect2> -
pst/printing/lprng/lprng-config.xml
rae9c528 rfe88f584 16 16 17 17 <para>The init script installed by <application>LPRng</application> is not 18 consistent with <acronym>BLFS</acronym> scripts; therefore, we will create a 19 new one with the following commands:</para> 18 consistent with other <acronym>BLFS</acronym> scripts; therefore, we will install 19 <filename>/etc/rc.d/init.d/lprng</filename> 20 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 20 21 21 <screen><userinput><command>mv /etc/rc.d/init.d/lpd /etc/rc.d/init.d/lpd.orig && 22 cat > /etc/rc.d/init.d/lpd << "EOF"</command> 23 #!/bin/sh 24 # Begin $rc_base/init.d/lpd 25 26 # Based on sysklogd script from LFS-3.1 and earlier. 27 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org 28 29 . /etc/sysconfig/rc 30 . $rc_functions 31 32 case "$1" in 33 start) 34 echo "Starting lpd..." 35 loadproc /usr/sbin/lpd 36 ;; 37 38 stop) 39 echo "Stopping lpd..." 40 killproc /usr/sbin/lpd 41 ;; 42 43 reload) 44 echo "Reloading lpd..." 45 reloadproc /usr/sbin/lpd 46 ;; 47 48 restart) 49 $0 stop 50 sleep 1 51 $0 start 52 ;; 53 54 status) 55 statusproc /usr/sbin/lpd 56 ;; 57 58 *) 59 echo "Usage: $0 {start|stop|reload|restart|status}" 60 exit 1 61 ;; 62 esac 63 64 # End $rc_base/init.d/lpd 65 <command>EOF 66 chmod 755 /etc/rc.d/init.d/lpd</command></userinput></screen> 67 68 <para>Create the symbolic links to the lprng init script in the relevant 69 <filename>rc.d</filename> directories with the following 70 commands:</para> 71 <screen><userinput><command>cd /etc/rc.d/init.d && 72 ln -sf ../init.d/lpd ../rc0.d/K00lprng && 73 ln -sf ../init.d/lpd ../rc1.d/K00lprng && 74 ln -sf ../init.d/lpd ../rc2.d/S99lprng && 75 ln -sf ../init.d/lpd ../rc3.d/S99lprng && 76 ln -sf ../init.d/lpd ../rc4.d/S99lprng && 77 ln -sf ../init.d/lpd ../rc5.d/S99lprng && 78 ln -sf ../init.d/lpd ../rc6.d/K00lprng</command></userinput></screen> 22 <screen><userinput><command>make install-lprng</command></userinput></screen> 79 23 80 24 </sect3> -
x/installing/xfree86/xfree86-config.xml
rae9c528 rfe88f584 92 92 <note> 93 93 94 <para>When starting up, <application>XFree86</application> creates the directory94 <para>When needed, <application>XFree86</application> creates the directory 95 95 <filename>/tmp/.ICE-unix</filename> if it does not exist. If this directory is 96 96 not owned by root, <application>XFree86</application> delays startup by a few seconds 97 97 and also appends a warning to the logfile. This also affects startup of other 98 applications. To improve performance, perform the following steps as root before 99 starting <application>XFree86</application> for the first time. Additionally, if you 100 use tmpfs or clean out all the files in <filename>/tmp</filename> when you boot, 101 we recommend adding the same instructions to the end of your 98 applications. To improve performance, it is advisable to manually create the directory 99 before XFree86 uses it. Add the file creation to <filename>/etc/sysconfig/createfiles</filename> 100 that is sourced by the 102 101 <filename>/etc/rc.d/init.d/cleanfs</filename> startup script.</para> 103 102 104 <screen><userinput> rm -rf /tmp/.ICE-unix &&105 mkdir /tmp/.ICE-unix && 106 chmod 1777 /tmp/.ICE-unix</userinput></screen>103 <screen><userinput><command>cat >> /etc/sysconfig/createfiles << "EOF"</command> 104 dir root root 1777 /tmp/.ICE-unix 105 <command>EOF</command></userinput></screen> 107 106 108 107 </note> -
xsoft/other/thunderbird/thunderbird-inst.xml
rae9c528 rfe88f584 2 2 <title>Installation of <application>Mozilla Thunderbird</application></title> 3 3 4 <warning><para>The current source tarball uses CRLF line-ending (DOS Format). This causes 4 <warning> 5 <para>The current source tarball uses CRLF line-ending (DOS Format). This causes 5 6 problems during the compilation. Once you extract the tarball, convert the files 6 to UNIX style line endings using <xref linkend="hd2u"/>.</para></warning> 7 to UNIX style line endings using <xref linkend="hd2u"/>.</para> 8 <screen><userinput><command>find -type f -print0 | xargs -0 dos2unix --d2u</command></userinput></screen> 9 </warning> 7 10 8 11 <para>The configuration of <application>Mozilla Thunderbird</application> is
Note:
See TracChangeset
for help on using the changeset viewer.