Changeset 4890200 for server


Ignore:
Timestamp:
04/27/2013 06:04:22 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
646d761a
Parents:
78bfd941
Message:

Packages updates and fixes.

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

Location:
server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/databases/mysql.xml

    r78bfd941 r4890200  
    55  %general-entities;
    66
    7   <!ENTITY mysql-download-http "http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-&mysql-version;.tar.gz">
     7  <!ENTITY mysql-download-http "http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-&mysql-version;.tar.gz">
    88  <!ENTITY mysql-download-ftp  " ">
    9   <!ENTITY mysql-md5sum        "f0cdd56f89e781e800cf223bd9edd00c">
    10   <!ENTITY mysql-size          "24 MB">
    11   <!ENTITY mysql-buildsize     "760 MB (additional 170 MB to run the test suite)">
    12   <!ENTITY mysql-time          "4.0 SBU (Test suite is an additional 45 minutes, only partially CPU dependent)">
     9  <!ENTITY mysql-md5sum        "9241be729964ab4594de11baa30aec48">
     10  <!ENTITY mysql-size          "34 MB">
     11  <!ENTITY mysql-buildsize     "1.0 GB">
     12  <!ENTITY mysql-time          "4.5 SBU">
    1313]>
    1414
     
    3636    </para>
    3737
    38     &lfs72_checked;
     38    &lfs73_checked;
    3939
    4040    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    9797    <bridgehead renderas="sect4">Recommended</bridgehead>
    9898    <para role="recommended">
     99      <xref linkend="libevent"/> and
    99100      <xref linkend="openssl"/>
    100101    </para>
     
    102103    <bridgehead renderas="sect4">Optional</bridgehead>
    103104    <para role="optional">
    104       <ulink url="http://packages.debian.org/source/sid/libaio">libaio</ulink>
     105      <ulink url="http://packages.debian.org/source/sid/libaio">libaio</ulink> and
     106      <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink>
    105107    </para>
    106108
     
    131133
    132134    <para>
    133       MySQL contains an embedded server library which can be enabled with
    134       the cmake option <parameter>-DWITH_EMBEDDED_SERVER=ON</parameter>. By
    135       default this server is built as a statically linked library,
    136       <filename>libmysqld.a</filename>, but by applying the optional patch, a
    137       shared version of this library can be built. The library is needed
    138       by certain applications, such as <application>Amarok</application> and
    139       we recommend use of the shared libraries.
     135      MySQL contains an embedded server library. By default, it is built as a
     136      statically linked library, <filename>libmysqld.a</filename>, but by
     137      applying the optional patch, a shared version of this library can be built.
     138      The library is needed by certain applications, such as
     139      <application>Amarok</application> and it is recommend to use the shared
     140      libraries whenever it is possible.
    140141    </para>
    141142
    142143    <para>
    143144      There are numerous options available to
    144       <userinput>cmake</userinput>. Check the output of the `<userinput>cmake .
    145       -LH</userinput>` for additional customization options. See the <ulink
    146       url="http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html">MySQL
    147       Documentation</ulink> for a full listing of all options.
     145      <command>cmake</command>. Check the output of the `<command>cmake .
     146      -LH</command>` for additional customization options. See the <ulink
     147      url="http://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html">
     148      MySQL Documentation</ulink> for a full listing of all options.
    148149    </para>
    149150
     
    182183      -DINSTALL_SUPPORTFILESDIR=share/mysql/support \
    183184      -DMYSQL_DATADIR=/srv/mysql                    \
    184       -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysql.sock  \
     185      -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock     \
    185186      -DSYSCONFDIR=/etc/mysql                       \
    186187      -DWITH_PARTITION_STORAGE_ENGINE=OFF           \
    187188      -DWITH_PERFSCHEMA_STORAGE_ENGINE=OFF          \
    188       -DWITH_READLINE=system                        \
     189      -DWITH_EXTRA_CHARSETS=complex                 \
     190      -DWITH_LIBEVENT=system                        \
    189191      -DWITH_SSL=system                             \
    190192      .. &amp;&amp;
     
    192194
    193195    <para>
    194       To test the results, issue: <command>make test-force 2>&amp;1 | tee
    195       test.log</command>. This forces the test to run to completion and logs all
    196       the test output. There will be many tests that are not run due to
    197       configuration options and developer considerations. Otherwise many of the
    198       tests will fail. Also, two tests will fail if ipv6 is not available in
    199       the kernel either as a module or built in.
    200     </para>
    201 
    202     <note>
    203       <para>
    204         The SSL tests may fail due to expired certificates.
    205       </para>
    206     </note>
     196      To test the results, issue: <command>make test</command>.
     197    </para>
    207198
    208199    <para>
     
    232223
    233224    <para>
    234       <parameter>-DWITH_&lt;engine&gt;_STORAGE_ENGINE=ON</parameter>: The default
    235       instructions only build the innobase (InnoDB) storage engine. If other
    236       storage engines are desired use this switch to enable them. Valid choices
    237       are ARCHIVE, BLACKHOLE, EXAMPLE, FEDERATED, INNOBASE, NDBCLUSTER,
    238       PARTITION and PERFSCHEMA.
    239     </para>
    240 
    241     <para>
    242225      <parameter>-DWITHOUT_SERVER=ON</parameter>: Use this switch if you don't
    243226      want the server and would like to build the client only.
     
    245228
    246229    <para>
    247       <parameter>-DWITH_EMBEDDED_SERVER=ON</parameter>: Use this switch to build
    248       the embedded server library.
     230      <parameter>-DWITH_EXTRA_CHARSETS=complex</parameter>: This switch enables
     231      support for the complex character sets.
     232    </para>
     233
     234    <para>
     235      <parameter>-DWITH_LIBEVENT=system</parameter>: This switch is used to
     236      tell the build system to use installed <application>libevent</application>.
     237      Remove it if you didn't install <application>libevent</application>.
    249238    </para>
    250239
    251240    <para>
    252241      <parameter>-DWITH_SSL=system</parameter>: This switch is used to tell the
    253       build system to use system version of the
    254       <application>OpenSSL</application>. Remove it if you didn't install
    255       <application>OpenSSL</application>.
     242      build system to use installed <application>OpenSSL</application>. Remove
     243      it if you didn't install <application>OpenSSL</application>.
    256244    </para>
    257245
     
    282270      <title>Configuration Information</title>
    283271
    284       <para>
    285         There are several default configuration files available in
    286         <filename class="directory">/usr/share/mysql</filename> which you can
    287         use. When creating the file, ensure binary logs are disabled unless you
    288         are doing database replication. Create <filename>/etc/mysql/my.cnf</filename>
    289         using the following commands as the <systemitem
     272      <note>
     273        <para>
     274          If you are upgrading from previous major version of
     275          <application>MySQL</application>, be sure to consult
     276          the <ulink
     277          url="https://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html">
     278          MySQL Reference Manual</ulink> for notes on
     279          upgrading the software.
     280        </para>
     281      </note>
     282
     283      <para>
     284        Create basic <filename>/etc/mysql/my.cnf</filename>
     285        using the following command as the <systemitem
    290286        class="username">root</systemitem> user:
    291287      </para>
    292288
    293 <screen role="root"><userinput>install -v -Dm644 /usr/share/mysql/support/my-medium.cnf /etc/mysql/my.cnf &amp;&amp;
    294 sed -i 's/^log-bin/#log-bin/' /etc/mysql/my.cnf &amp;&amp;
    295 sed -i 's/^binlog/#binlog/' /etc/mysql/my.cnf</userinput></screen>
     289<screen role="root"><userinput>cat &gt; /etc/mysql/my.cnf &lt;&lt; "EOF"
     290<literal># Begin /etc/mysql/my.cnf
     291
     292# The following options will be passed to all MySQL clients
     293[client]
     294#password       = your_password
     295port            = 3306
     296socket          = /run/mysqld/mysqld.sock
     297
     298# The MySQL server
     299[mysqld]
     300port            = 3306
     301socket          = /run/mysqld/mysqld.sock
     302datadir         = /srv/mysql
     303skip-external-locking
     304key_buffer = 16M
     305max_allowed_packet = 1M
     306sort_buffer_size = 512K
     307net_buffer_length = 16K
     308myisam_sort_buffer_size = 8M
     309
     310# Don't listen on a TCP/IP port at all.
     311skip-networking
     312
     313# required unique id between 1 and 2^32 - 1
     314server-id       = 1
     315
     316# Uncomment the following if you are using BDB tables
     317#bdb_cache_size = 4M
     318#bdb_max_lock = 10000
     319
     320# Uncomment the following if you are using InnoDB tables
     321#innodb_data_home_dir = /srv/mysql
     322#innodb_data_file_path = ibdata1:10M:autoextend
     323#innodb_log_group_home_dir = /srv/mysql
     324# You can set .._buffer_pool_size up to 50 - 80 %
     325# of RAM but beware of setting memory usage too high
     326#innodb_buffer_pool_size = 16M
     327#innodb_additional_mem_pool_size = 2M
     328# Set .._log_file_size to 25 % of buffer pool size
     329#innodb_log_file_size = 5M
     330#innodb_log_buffer_size = 8M
     331#innodb_flush_log_at_trx_commit = 1
     332#innodb_lock_wait_timeout = 50
     333
     334[mysqldump]
     335quick
     336max_allowed_packet = 16M
     337
     338[mysql]
     339no-auto-rehash
     340# Remove the next comment character if you are not familiar with SQL
     341#safe-updates
     342
     343[isamchk]
     344key_buffer = 20M
     345sort_buffer_size = 20M
     346read_buffer = 2M
     347write_buffer = 2M
     348
     349[myisamchk]
     350key_buffer_size = 20M
     351sort_buffer_size = 20M
     352read_buffer = 2M
     353write_buffer = 2M
     354
     355[mysqlhotcopy]
     356interactive-timeout
     357
     358# End /etc/mysql/my.cnf</literal>
     359EOF</userinput></screen>
    296360
    297361      <para>
     
    366430          myisampack, my_print_defaults, mysql, mysqlaccess, mysqlaccess.conf,
    367431          mysqladmin, mysqlbinlog, mysqlbug, mysqlcheck, mysql_client_test,
    368           mysql_client_test_embedded, mysql_config, mysql_convert_table_format,
    369           mysqld, mysqld_multi, mysqld_safe, mysqldump, mysqldumpslow,
    370           mysql_embedded, mysql_find_rows, mysql_fix_extensions, mysqlhotcopy,
    371           mysqlimport, mysql_install_db, mysql_plugin, mysql_secure_installation,
    372           mysql_setpermission, mysqlshow, mysqlslap, mysqltest,
    373           mysqltest_embedded, mysql_tzinfo_to_sql, mysql_upgrade, mysql_waitpid,
    374           mysql_zap, perror, replace, resolveip and resolve_stack_dump
     432          mysql_client_test_embedded, mysql_config, mysql_config_editor,
     433          mysql_convert_table_format, mysqld, mysqld_multi, mysqld_safe, mysqldump,
     434          mysqldumpslow, mysql_embedded, mysql_find_rows, mysql_fix_extensions,
     435          mysqlhotcopy, mysqlimport, mysql_install_db, mysql_plugin,
     436          mysql_secure_installation, mysql_setpermission, mysqlshow, mysqlslap,
     437          mysqltest, mysqltest_embedded, mysql_tzinfo_to_sql, mysql_upgrade,
     438          mysql_waitpid, mysql_zap, perror, replace, resolveip and
     439          resolve_stack_dump
    375440        </seg>
    376441        <seg>
    377           libmysqlclient.{so,a}, libmysqlclient_r.{so,a}, libmysqld.{so,a},
    378           libmysqlservices.a and several in /usr/lib/mysql
     442          libmysqlclient.{so,a}, libmysqlclient_r.{so,a}, libmysqld.{so,a} and
     443          libmysqlservices.a
    379444        </seg>
    380445        <seg>
     
    395460      pages long. Instead, consult the <filename>mysql.info</filename>
    396461      documentation or the on-line reference manual at <ulink
    397       url="http://dev.mysql.com/doc/refman/5.5/en/index.html"/>.
     462      url="http://dev.mysql.com/doc/refman/5.6/en/index.html"/>.
    398463    </para>
    399464
  • server/major/apache.xml

    r78bfd941 r4890200  
    77  <!ENTITY apache-download-http
    88           "http://archive.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
    9   <!ENTITY apache-download-ftp
    10            "ftp://apache.mirrors.pair.com/httpd/httpd-&apache-version;.tar.bz2">
    11   <!ENTITY apache-md5sum        "87aaf7bc7e8715f0455997bb8c6791aa">
    12   <!ENTITY apache-size          "4.4 MB">
    13   <!ENTITY apache-buildsize     "100 MB">
     9  <!ENTITY apache-download-ftp  " ">
     10  <!ENTITY apache-md5sum        "0e712ee2119cd798c8ae39d5f11a9206">
     11  <!ENTITY apache-size          "4.6 MB">
     12  <!ENTITY apache-buildsize     "105 MB">
    1413  <!ENTITY apache-time          "0.5 SBU">
    1514]>
     
    262261
    263262<screen role="root"><userinput>make install-httpd</userinput></screen>
     263
    264264    </sect3>
     265
    265266  </sect2>
    266267
     
    275276      <seglistitem>
    276277        <seg>
    277           ab, apachectl, apxs, checkgid, dbmmanage, fcgistarter, htcacheclean,
    278           htdbm, htdigest, htpasswd, httpd, httxt2dbm, logresolve and rotatelogs
     278          ab, apachectl, apxs, checkgid, dbmmanage, fcgistarter,
     279          htcacheclean, htdbm, htdigest, htpasswd, httpd,
     280          httxt2dbm, logresolve and rotatelogs
    279281        </seg>
    280282        <seg>
Note: See TracChangeset for help on using the changeset viewer.