source: content/databases/db-3.3.xml@ 2c36801

10.0 10.1 11.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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 2c36801 was 2c36801, checked in by Randy McMurchy <randy@…>, 17 years ago

Added instructions to DB-3.3 to correct improper ownership of documentation files

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

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY db-3.3-download-http "http://fresh.t-systems-sfr.com/unix/src/misc/db-&db-3.3-version;.tar.gz">
8 <!ENTITY db-3.3-download-ftp "ftp://sleepycat1.inetu.net/releases/db-&db-3.3-version;.tar.gz">
9 <!ENTITY db-3.3-size "2.3 MB">
10 <!ENTITY db-3.3-buildsize "27.5 MB">
11 <!ENTITY db-3.3-time "0.80 SBU">
12]>
13
14<sect1 id="db-3.3" xreflabel="Berkeley DB-&db-3.3-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="db-3.3.html"?>
20<title>Berkeley DB-&db-3.3-version;</title>
21
22<sect2>
23<title>Introduction to <application>Berkeley DB</application>-&db-3.3-version;</title>
24
25<para>The <application>Berkeley DB</application> package contains version
26&db-3.3-version; of the Berkeley Database.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink
31url="&db-3.3-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&db-3.3-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &db-3.3-size;</para></listitem>
35<listitem><para>Estimated Disk space required:
36&db-3.3-buildsize;</para></listitem>
37<listitem><para>Estimated build time:
38&db-3.3-time;</para></listitem></itemizedlist>
39</sect3>
40
41<sect3><title>Additional downloads</title>
42<itemizedlist spacing='compact'>
43<listitem><para>Required Patch: <ulink
44url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.1"/></para></listitem>
45<listitem><para>Recommended Patch: <ulink
46url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.2"/></para></listitem>
47</itemizedlist></sect3>
48
49</sect2>
50
51<sect2>
52<title>Installation of <application>Berkeley DB</application></title>
53
54<para>Install <application>Berkeley DB</application> by running the following commands:
55</para>
56
57<screen><userinput><command>patch -Np0 -i ../patch.&db-3.3-version;.1 &amp;&amp;
58patch -Np0 -i ../patch.&db-3.3-version;.2 &amp;&amp;
59cd build_unix &amp;&amp;
60../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &amp;&amp;
61make &amp;&amp;
62make docdir=/opt/db-3.3/doc/Berkeley-DB install &amp;&amp;
63cd /opt/db-3.3/lib/ &amp;&amp;
64mv libdb.so .. &amp;&amp;
65for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done &amp;&amp;
66mv ../libdb.so . &amp;&amp;
67cd /opt/db-3.3/include/ &amp;&amp;
68sed -i 's/^DB185/DB/' db_185.h &amp;&amp;
69ln -nsf /opt/db-3.3/include /usr/include/db3 &amp;&amp;
70chown -R root:root /opt/db-3.3/doc</command></userinput></screen>
71
72</sect2>
73
74<sect2>
75<title>Command explanations</title>
76
77<para><parameter>docdir=/opt/db-3.3/doc/Berkeley-DB</parameter>: Installs the
78documentation in the <filename class="directory">/opt/db-3.3</filename>
79hierarchy.</para>
80
81<para><command>mv libdb.so ..</command> and <command>mv ../libdb.so
82.</command>: Avoids moving <filename>libdb.so</filename> to
83<filename class="directory">/usr/lib</filename>.</para>
84
85<para><command>for i in ...; do ...; ln ...; done</command>: Moves the DB
86libraries to <filename class="directory">/usr/lib</filename> and creates
87symlinks to these libraries in
88<filename class="directory">/opt/db-3.3/lib</filename>.</para>
89
90<para><command>sed -i 's/^DB185/DB/' db_185.h</command>: Change the DB185
91database pointer to DB.</para>
92
93<para><command>chown -R root:root /opt/db-3.3/doc</command>: This command
94corrects the improper ownership of documentation files.</para>
95
96</sect2>
97
98<sect2>
99<title>Contents</title>
100
101<para>The <application>Berkeley DB</application> package contains
102<command>db_archive</command>,
103<command>db_checkpoint</command>,
104<command>db_deadlock</command>,
105<command>db_dump</command>,
106<command>db_load</command>,
107<command>db_printlog</command>,
108<command>db_recover</command>,
109<command>db_stat</command>,
110<command>db_upgrade</command>,
111<command>db_verify</command> and the
112<filename class="libraryfile">libdb-3</filename> libraries.
113
114</para>
115
116</sect2>
117
118<sect2><title>Description</title>
119
120<sect3><title>db_archive</title>
121<para><command>db_archive</command> prints the pathnames of log files that are
122no longer in use.</para></sect3>
123
124<sect3><title>db_checkpoint</title>
125<para><command>db_checkpoint</command> is a daemon process used to monitor and
126checkpoint database logs.</para></sect3>
127
128<sect3><title>db_deadlock</title>
129<para><command>db_deadlock</command> is used to abort lock requests when
130deadlocks are detected.</para></sect3>
131
132<sect3><title>db_dump</title>
133<para><command>db_dump</command> converts database files to a flat file format
134readable by <command>db_load</command>.</para></sect3>
135
136<sect3><title>db_load</title>
137<para><command>db_load</command> is used to create database files from flat
138files created with <command>db_dump</command>.</para></sect3>
139
140<sect3><title>db_printlog</title>
141<para><command>db_printlog</command> converts database log files to human
142readable text.</para></sect3>
143
144<sect3><title>db_recover</title>
145<para><command>db_recover</command> is used to restore a database to a
146consistent state after a failure.</para></sect3>
147
148<sect3><title>db_stat</title>
149<para><command>db_stat</command> displays database environment statistics.
150</para></sect3>
151
152<sect3><title>db_upgrade</title>
153<para><command>db_upgrade</command> is used to upgrade database files to a
154newer version of <application>Berkeley DB</application>.</para></sect3>
155
156<sect3><title>db_verify</title>
157<para><command>db_verify</command> is used to run consistency checks on
158database files.</para></sect3>
159
160</sect2>
161
162</sect1>
Note: See TracBrowser for help on using the repository browser.