Changeset 9dcba70


Ignore:
Timestamp:
09/07/2003 02:14:01 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
03973ca6
Parents:
ef0e45e4
Message:

Igor's patches for nano, pciutils, GTK2 and MySQL

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1039 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
1 added
13 edited

Legend:

Unmodified
Added
Removed
  • content/databases/mysql/mysql-config.xml

    ref0e45e4 r9dcba70  
    11<sect2>
    2 <title>Configuring mysql</title>
     2<title>Configuring MySQL</title>
    33
    44<sect3>
     
    1313
    1414<para>There are several default configurations file available in
    15 <filename>/usr/share/mysql</filename> which you can use.</para>
     15<filename class="directory">/usr/share/mysql</filename> which you can use.</para>
    1616
    17 <screen><userinput>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</userinput></screen>
     17<screen><userinput><command>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</command>
     18</userinput></screen>
    1819
    1920<para>We can now install a database and change the ownership to the
    2021unpriviledged user and group.</para>
    2122
    22 <screen><userinput>mysql_install_db
    23 chown -R mysql:mysql /var/lib/mysql</userinput></screen>
     23<screen><userinput><command>mysql_install_db
     24chown -R mysql:mysql /var/lib/mysql</command></userinput></screen>
    2425
    2526<para>Further configuration requires that the mysql server be running:</para>
    2627
    27 <screen><userinput>safe_mysqld 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen>
     28<screen><userinput><command>mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</command>
     29</userinput></screen>
    2830
    2931<para>A default installation, does not setup a password for the administrator.
    30 So here we will login and set one.  We strongly suggest changing
     32So here we will login and set one. We strongly suggest changing
    3133'new-password' to your own.</para>
    3234
    33 <screen><userinput>mysql -uroot mysql</userinput>
     35<screen><userinput><command>mysql -uroot mysql
    3436Welcome to the MySQL monitor.  Commands end with ; or \g.
    3537Your MySQL connection id is 2 to server version: 3.23.51-log
     
    3739Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    3840
    39 mysql&gt; <userinput>UPDATE user SET password=password('new-password') WHERE user='root';</userinput>
     41mysql&gt; UPDATE user SET password=password('new-password') WHERE user='root';
    4042Query OK, 2 rows affected (0.00 sec)
    4143Rows matched: 2  Changed: 2  Warnings: 0
    4244
    43 mysql&gt; <userinput>FLUSH PRIVILEGES;</userinput>
     45mysql&gt; FLUSH PRIVILEGES;
    4446Query OK, 0 rows affected (0.00 sec)
    4547
    46 mysql&gt; <userinput>EXIT;</userinput>
     48mysql&gt; EXIT;
    4749bye
    48 </screen>
     50</command></userinput></screen>
    4951
    5052<para>Now that we are done with the configuration of the server, we can
    5153shut it down.</para>
    5254
    53 <screen><userinput>kill `pidof -x safe_mysqld mysqld`</userinput></screen>
     55<screen><userinput><command>kill `pidof -x mysqld_safe mysqld`</command></userinput></screen>
    5456
    5557
    5658<sect4>
    57 <title>mysql init.d script</title>
     59<title>MySQL init.d script</title>
    5860
    59 <para>To automate the running of mysql, use the following command to create
     61<para>To automate the running of MySQL, use the following command to create
    6062the init.d script:</para>
    6163
    62 <screen><userinput>cat &gt; /etc/rc.d/init.d/mysql &lt;&lt; "EOF"</userinput>
     64<screen><userinput><command>cat &gt; /etc/rc.d/init.d/mysql &lt;&lt; "EOF"
    6365#!/bin/bash
    6466# Begin $rc_base/init.d/
     
    7375        start)
    7476                echo "Starting MySQL daemon..."
    75                 /usr/bin/safe_mysqld 2&gt;&amp;1 &gt;/dev/null &amp;
     77                /usr/bin/mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;
    7678                evaluate_retval
    7779                ;;
     
    99101
    100102# End $rc_base/init.d/
    101 <userinput>EOF
    102 chmod 755 /etc/rc.d/init.d/mysql</userinput></screen>
     103EOF
     104chmod 755 /etc/rc.d/init.d/mysql</command></userinput></screen>
    103105
    104106<para>Create the symbolic links to this file in the relevant
    105 <filename>rc.d</filename> directory
     107<filename class="directory">rc.d</filename> directory
    106108with the following commands:</para>
    107109
    108 <screen><userinput>cd /etc/rc.d/init.d &amp;&amp;
     110<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    109111ln -sf ../init.d/mysql ../rc0.d/K26mysql &amp;&amp;
    110112ln -sf ../init.d/mysql ../rc1.d/K26mysql &amp;&amp;
     
    113115ln -sf ../init.d/mysql ../rc4.d/S34mysql &amp;&amp;
    114116ln -sf ../init.d/mysql ../rc5.d/S34mysql &amp;&amp;
    115 ln -sf ../init.d/mysql ../rc6.d/K26mysql</userinput></screen>
     117ln -sf ../init.d/mysql ../rc6.d/K26mysql</command></userinput></screen>
    116118
    117119</sect4>
     
    120122
    121123</sect2>
    122 
  • general/sysutils/pciutils/pciutils-desc.xml

    ref0e45e4 r9dcba70  
    22<title>Contents</title>
    33
    4 <para>The pciutils package contains <userinput>lspci</userinput> and
    5 <userinput>setpci</userinput>.</para>
     4<para>The pciutils package contains <command>lspci</command>,
     5<command>setpci</command> and <command>update-pciids</command>.</para>
    66
    77</sect2>
     
    1010
    1111<sect3><title>lspci</title>
    12 <para>lspci is a utility for displaying information about all PCI
    13 buses in the system and all devices connected to them.</para></sect3>
     12<para><command>lspci</command> is a utility for displaying information
     13about all <acronym>PCI</acronym> buses in the system and all devices
     14connected to them.</para></sect3>
    1415
    1516<sect3><title>setpci</title>
    16 <para>setpci is a utility for querying and configuring PCI devices.</para></sect3>
     17<para><command>setpci</command> is a utility for querying and
     18configuring <acronym>PCI</acronym> devices.</para></sect3>
     19
     20<sect3><title>update-pciids</title>
     21<para><command>update-pciids</command> fetches the current version of
     22the <acronym>PCI</acronym> ID list.</para></sect3>
    1723
    1824</sect2>
  • general/sysutils/pciutils/pciutils-inst.xml

    ref0e45e4 r9dcba70  
    11<sect2>
    2 <title>Installation of pciutils</title>
     2<title>Installation of <application>pciutils</application></title>
    33
    4 <para>Install pciutils by running the following commands:</para>
     4<para>Install <application>pciutils</application> by running the following commands:</para>
    55
    6 <para><screen><userinput>make PREFIX=/usr &amp;&amp;
    7 make PREFIX=/usr install</userinput></screen></para>
     6<screen><userinput><command>make PREFIX=/usr &amp;&amp;
     7make PREFIX=/usr install</command></userinput></screen>
    88
    99</sect2>
  • general/sysutils/pciutils/pciutils-intro.xml

    ref0e45e4 r9dcba70  
    11<sect2>
    2 <title>Introduction to pciutils</title>
     2<title>Introduction to <application>pciutils</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&pciutils-download-http;"/>
    5 Download location (FTP):        <ulink url="&pciutils-download-ftp;"/>
    6 Version used:                   &pciutils-version;
    7 Package size:                   &pciutils-size;
    8 Estimated Disk space required:  &pciutils-buildsize;</screen>
     4<para>The <application>pciutils</application> package is a set of programs for listing
     5<acronym>PCI</acronym> devices, inspecting their status and setting
     6their configuration registers.</para>
    97
    10 <para>The pciutils package contains lspci and setpci.  These programs are
    11 useful for PCI bus configuration.</para>
     8<sect3><title>Package information</title>
     9<itemizedlist spacing='compact'>
     10<listitem><para>Download (HTTP): <ulink url="&pciutils-download-http;"/></para></listitem>
     11<listitem><para>Download (FTP): <ulink url="&pciutils-download-ftp;"/></para></listitem>
     12<listitem><para>Download size: &pciutils-size;</para></listitem>
     13<listitem><para>Estimated Disk space required: &pciutils-buildsize;</para></listitem>
     14<listitem><para>Estimated build time: &pciutils-time;</para></listitem></itemizedlist>
     15</sect3>
     16
     17<sect3><title><application>pciutils</application> dependencies</title>
     18<sect4><title>Required</title>
     19<para><xref linkend="wget"/> or <xref linkend="lynx"/>
     20</para></sect4>
     21</sect3>
    1222
    1323</sect2>
  • general/sysutils/pciutils/pciutils.ent

    ref0e45e4 r9dcba70  
    55<!ENTITY pciutils-desc SYSTEM "pciutils-desc.xml">
    66<!ENTITY pciutils-config SYSTEM "pciutils-config.xml">
    7 <!ENTITY pciutils-buildsize "638 KB">
    8 <!ENTITY pciutils-version "2.1.10">
    9 <!ENTITY pciutils-download-http "http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.1.10.tar.bz2">
    10 <!ENTITY pciutils-download-ftp "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-2.1.10.tar.bz2">
    11 <!ENTITY pciutils-size "98 KB">
     7<!ENTITY pciutils-buildsize "1.1 MB">
     8<!ENTITY pciutils-version "2.1.11">
     9<!ENTITY pciutils-download-http
     10"http://www.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
     11<!ENTITY pciutils-download-ftp
     12"ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-&pciutils-version;.tar.bz2">
     13<!ENTITY pciutils-size "107 KB">
     14<!ENTITY pciutils-time "0.02 SBU">
  • index.xml

    ref0e45e4 r9dcba70  
    33                        "/usr/share/docbook/docbookx.dtd" [
    44
    5 <!ENTITY version "20030906">
    6 <!ENTITY releasedate "September 6th, 2003">
     5<!ENTITY version "20030907">
     6<!ENTITY releasedate "September 7th, 2003">
    77
    88<!ENTITY % book SYSTEM "book/book.ent">
  • introduction/welcome/changelog.xml

    ref0e45e4 r9dcba70  
    1010
    1111<itemizedlist>
     12
     13<listitem><para>September 7th, 2003 [larry]: update to MySQL-4.0.14, nano-1.2.2,
     14GTK2+-2.2.5 and pciutils-2.1.11, all submitted by
     15Igor.</para></listitem>
    1216
    1317<listitem><para>September 6th, 2003 [larry]: gnome: updated to
  • introduction/welcome/credits.xml

    ref0e45e4 r9dcba70  
    129129Downing</emphasis></para></listitem>
    130130
    131 <listitem><para>directFB, libMPEG3, NASM and SVGAlib: <emphasis>Igor
     131<listitem><para>directFB, libMPEG3, MySQL-4, NASM and SVGAlib: <emphasis>Igor
    132132Zivkovic</emphasis></para></listitem>
    133133
  • postlfs/editors/nano.xml

    ref0e45e4 r9dcba70  
    55&nano-intro;
    66&nano-inst;
     7&nano-config;
    78&nano-desc;
    89
  • postlfs/editors/nano/nano-inst.xml

    ref0e45e4 r9dcba70  
    44<para>Install <application>nano</application> by running the following commands:</para>
    55
    6 <screen><userinput><command>./configure --prefix=/usr --enable-color \
    7 --enable-multibuffer --enable-nanorc &amp;&amp;
     6<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
     7--enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
    88make &amp;&amp;
    99make install</command></userinput></screen>
  • postlfs/editors/nano/nano-intro.xml

    ref0e45e4 r9dcba70  
    1919</sect3>
    2020
     21<sect3><title><application>nano</application> dependencies</title>
     22<sect4><title>Optional</title>
     23<para><xref linkend="slang"/>
     24</para></sect4>
     25</sect3>
    2126
    2227</sect2>
  • postlfs/editors/nano/nano.ent

    ref0e45e4 r9dcba70  
    33<!ENTITY nano-inst SYSTEM "nano-inst.xml">
    44<!ENTITY nano-desc SYSTEM "nano-desc.xml">
    5 <!ENTITY nano-buildsize "3.8 MB">
    6 <!ENTITY nano-version "1.2.0">
    7 <!ENTITY nano-download-http "http://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz">
     5<!ENTITY nano-config SYSTEM "nano-config.xml">
     6<!ENTITY nano-buildsize "5.6 MB">
     7<!ENTITY nano-version "1.2.2">
     8<!ENTITY nano-download-http
     9"http://www.nano-editor.org/dist/v1.2/nano-&nano-version;.tar.gz">
    810<!ENTITY nano-download-ftp "ftp://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz">
    9 <!ENTITY nano-size "880 KB">
    10 <!ENTITY nano-time "0.06 SBU">
     11<!ENTITY nano-size "868 KB">
     12<!ENTITY nano-time "0.08 SBU">
  • x/lib/gtk/gtk.ent

    ref0e45e4 r9dcba70  
    88<!ENTITY GTK-version "1.2.10">
    99<!ENTITY GTK-download-http "">
    10 <!ENTITY GTK-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz">
     10<!ENTITY GTK-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-&GTK-version;.tar.gz">
    1111<!ENTITY GTK-size "2.7 MB">
    1212<!ENTITY GTK-time "1.96 SBU">
     
    1818<!ENTITY GTK2-exp SYSTEM "gtk+2-exp.xml">
    1919<!ENTITY GTK2-config SYSTEM "gtk+2-config.xml">
    20 <!ENTITY GTK2-buildsize "136 MB">
    21 <!ENTITY GTK2-version "2.2.3">
     20<!ENTITY GTK2-buildsize "187 MB">
     21<!ENTITY GTK2-version "2.2.4">
    2222<!ENTITY GTK2-download-http "">
    2323<!ENTITY GTK2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-&GTK2-version;.tar.bz2">
    2424<!ENTITY GTK2-size "6.9 MB">
    25 <!ENTITY GTK2-time "3.03 SBU">
     25<!ENTITY GTK2-time "2.88 SBU">
Note: See TracChangeset for help on using the changeset viewer.