Changeset b742c85
- Timestamp:
- 05/16/2005 06:59:27 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 22c7fe6
- Parents:
- 44680d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/db.xml
r44680d4 rb742c85 14 14 15 15 <sect1 id="db" xreflabel="Berkeley DB-&db-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="db.html"?> 21 <title>Berkeley DB-&db-version;</title> 22 <indexterm zone="db"> 23 <primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm> 24 25 <sect2> 26 <title>Introduction to <application>Berkeley DB</application></title> 27 28 <para>The <application>Berkeley DB</application> package contains programs and 29 utilities used by many other applications for database related 30 functions.</para> 31 32 <sect3><title>Package information</title> 33 <itemizedlist spacing='compact'> 34 <listitem><para>Download (HTTP): <ulink 35 url="&db-download-http;"/></para></listitem> 36 <listitem><para>Download (FTP): <ulink 37 url="&db-download-ftp;"/></para></listitem> 38 <listitem><para>Download MD5 sum: &db-md5sum;</para></listitem> 39 <listitem><para>Download size: &db-size;</para></listitem> 40 <listitem><para>Estimated disk space required: 41 &db-buildsize;</para></listitem> 42 <listitem><para>Estimated build time: 43 &db-time;</para></listitem></itemizedlist> 44 </sect3> 45 46 <sect3><title><application>Berkeley DB</application> dependencies</title> 47 <sect4><title>Optional</title> 48 <para><xref linkend="tcl"/> and <xref linkend="jdk"/></para> 49 </sect4> 50 </sect3> 51 52 </sect2> 53 54 <sect2> 55 <title>Installation of <application>Berkeley DB</application></title> 56 57 <para>Install <application>Berkeley DB</application> by running the following 58 commands:</para> 59 60 <screen><userinput><command>cd build_unix && 16 <?dbhtml filename="db.html"?> 17 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 22 23 <title>Berkeley DB-&db-version;</title> 24 25 <indexterm zone="db"> 26 <primary sortas="a-Berkeley-DB">Berkeley DB</primary> 27 </indexterm> 28 29 <sect2 role="package"> 30 <title>Introduction to Berkeley DB</title> 31 32 <para>The <application>Berkeley DB</application> package contains programs 33 and utilities used by many other applications for database related 34 functions.</para> 35 36 <bridgehead renderas="sect3">Package Information</bridgehead> 37 <itemizedlist spacing="compact"> 38 <listitem> 39 <para>Download (HTTP): <ulink url="&db-download-http;"/></para> 40 </listitem> 41 <listitem> 42 <para>Download (FTP): <ulink url="&db-download-ftp;"/></para> 43 </listitem> 44 <listitem> 45 <para>Download MD5 sum: &db-md5sum;</para> 46 </listitem> 47 <listitem> 48 <para>Download size: &db-size;</para> 49 </listitem> 50 <listitem> 51 <para>Estimated disk space required: &db-buildsize;</para> 52 </listitem> 53 <listitem> 54 <para>Estimated build time: &db-time;</para> 55 </listitem> 56 </itemizedlist> 57 58 <bridgehead renderas="sect3">Berkeley DB Dependencies</bridgehead> 59 60 <bridgehead renderas="sect4">Optional</bridgehead> 61 <para><xref linkend="tcl"/> and <xref linkend="jdk"/></para> 62 63 </sect2> 64 65 <sect2 role="installation"> 66 <title>Installation of Berkeley DB</title> 67 68 <para>Install <application>Berkeley DB</application> by running the 69 following commands:</para> 70 71 <screen><userinput>cd build_unix && 61 72 ../dist/configure --prefix=/usr \ 62 73 --enable-compat185 \ 63 74 --enable-cxx && 64 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</ command></userinput></screen>65 66 <para>To test the results, start <command>tclsh</command> and issue:</para>67 68 <screen><userinput> <command>source ../test/test.tcl69 run_parallel run_std</ command></userinput></screen>70 71 <para>Now, as the rootuser:</para>72 73 <screen ><userinput role='root'><command>make docdir=/usr/share/doc/db-&db-version; install &&75 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen> 76 77 <para>To test the results, start <command>tclsh</command> and issue:</para> 78 79 <screen><userinput>source ../test/test.tcl 80 run_parallel run_std</userinput></screen> 81 82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 83 84 <screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install && 74 85 chown root:root /usr/bin/db_* \ 75 86 /usr/lib/libdb* /usr/include/db* && 76 chown -R root:root /usr/share/doc/db-&db-version;</command></userinput></screen> 77 78 </sect2> 79 80 <sect2> 81 <title>Command explanations</title> 82 83 <para><command>cd build_unix && 84 ../dist/configure --prefix=/usr...</command>: 85 This replaces the normal <command>./configure</command> command, as 86 <application>Berkeley DB</application> comes with various 87 build directories for different platforms.</para> 88 89 <para><parameter>--enable-compat185</parameter>: This switch enables 90 building DB 1.85 compatibility <acronym>API</acronym>.</para> 91 92 <para><parameter>--enable-cxx</parameter>: This switch enables building 93 C++ <acronym>API</acronym> libraries.</para> 94 95 <para><command>make LIBSO_LIBS="-lpthread" 96 LIBXSO_LIBS="-lpthread"</command>: <command>configure</command> does not 97 correctly handle <acronym>NPTL</acronym>. These variables force it to 98 properly link against <acronym>NPTL</acronym>.</para> 99 100 <para><command>make docdir=/usr/share/doc/db-&db-version; 101 install</command>: This installs the documentation in 102 the correct place.</para> 103 104 <para><option>--enable-test</option>: Enables building the test suite 105 (requires the two Tcl switches below).</para> 106 107 <para><option>--enable-tcl --with-tcl=/usr/lib</option>: 108 Enables <application>Tcl</application> support in DB and creates the 109 <filename class="libraryfile">libdb_tcl</filename> libraries.</para> 110 111 <para><option>--enable-java</option>: Enables <application>Java</application> 112 support in DB and creates the 113 <filename class='libraryfile'>libdb_java</filename> libraries.</para> 114 115 <para><option>--enable-rpc</option>: Enables building the 116 <application>Berkeley DB</application> <acronym>RPC</acronym> server.</para> 117 118 </sect2> 119 120 <sect2> 121 <title>Contents</title> 122 123 <segmentedlist> 124 <segtitle>Installed Programs</segtitle> 125 <segtitle>Installed Libraries</segtitle> 126 <segtitle>Installed Directory</segtitle> 127 128 <seglistitem> 129 <seg>berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump, 130 db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify</seg> 131 <seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and 132 libdb_tcl.[so,a]</seg> 133 <seg>/usr/share/doc/db-&db-version;</seg> 134 </seglistitem> 135 </segmentedlist> 136 137 <variablelist> 138 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 139 <?dbfo list-presentation="list"?> 140 141 <varlistentry id="berkeley_db_svc"> 142 <term><command>berkeley_db_svc</command></term> 143 <listitem><para>is the <application>Berkeley DB</application> 144 <acronym>RPC</acronym> server.</para> 145 <indexterm zone="db berkeley_db_svc"> 146 <primary sortas="b-berkeley_db_svc">berkeley_db_svc</primary> 147 </indexterm></listitem> 148 </varlistentry> 149 150 <varlistentry id="db_archive"> 151 <term><command>db_archive</command></term> 152 <listitem><para>prints the pathnames of log files that are no longer in 153 use.</para> 154 <indexterm zone="db db_archive"> 155 <primary sortas="b-db_archive">db_archive</primary> 156 </indexterm></listitem> 157 </varlistentry> 158 159 <varlistentry id="db_checkpoint"> 160 <term><command>db_checkpoint</command></term> 161 <listitem><para>is a daemon process used to monitor and checkpoint database 162 logs.</para> 163 <indexterm zone="db db_checkpoint"> 164 <primary sortas="b-db_checkpoint">db_checkpoint</primary> 165 </indexterm></listitem> 166 </varlistentry> 167 168 <varlistentry id="db_deadlock"> 169 <term><command>db_deadlock</command></term> 170 <listitem><para>is used to abort lock requests when deadlocks are 171 detected.</para> 172 <indexterm zone="db db_deadlock"> 173 <primary sortas="b-db_deadlock">db_deadlock</primary> 174 </indexterm></listitem> 175 </varlistentry> 176 177 <varlistentry id="db_dump"> 178 <term><command>db_dump</command></term> 179 <listitem><para>converts database files to a flat file format readable by 180 <command>db_load</command>.</para> 181 <indexterm zone="db db_dump"> 182 <primary sortas="b-db_dump">db_dump</primary> 183 </indexterm></listitem> 184 </varlistentry> 185 186 <varlistentry id="db_load"> 187 <term><command>db_load</command></term> 188 <listitem><para>is used to create database files from flat files created with 189 <command>db_dump</command>.</para> 190 <indexterm zone="db db_load"> 191 <primary sortas="b-db_load">db_load</primary> 192 </indexterm></listitem> 193 </varlistentry> 194 195 <varlistentry id="db_printlog"> 196 <term><command>db_printlog</command></term> 197 <listitem><para>converts database log files to human readable text.</para> 198 <indexterm zone="db db_printlog"> 199 <primary sortas="b-db_printlog">db_printlog</primary> 200 </indexterm></listitem> 201 </varlistentry> 202 203 <varlistentry id="db_recover"> 204 <term><command>db_recover</command></term> 205 <listitem><para>is used to restore a database to a consistent state after a 206 failure.</para> 207 <indexterm zone="db db_recover"> 208 <primary sortas="b-db_recover">db_recover</primary> 209 </indexterm></listitem> 210 </varlistentry> 211 212 <varlistentry id="db_stat"> 213 <term><command>db_stat</command></term> 214 <listitem><para>displays database environment statistics.</para> 215 <indexterm zone="db db_stat"> 216 <primary sortas="b-db_stat">db_stat</primary> 217 </indexterm></listitem> 218 </varlistentry> 219 220 <varlistentry id="db_upgrade"> 221 <term><command>db_upgrade</command></term> 222 <listitem><para>is used to upgrade database files to a newer version of 223 <application>Berkeley DB</application>.</para> 224 <indexterm zone="db db_upgrade"> 225 <primary sortas="b-db_upgrade">db_upgrade</primary> 226 </indexterm></listitem> 227 </varlistentry> 228 229 <varlistentry id="db_verify"> 230 <term><command>db_verify</command></term> 231 <listitem><para>is used to run consistency checks on database files.</para> 232 <indexterm zone="db db_verify"> 233 <primary sortas="b-db_verify">db_verify</primary> 234 </indexterm></listitem> 235 </varlistentry> 236 </variablelist> 237 238 </sect2> 87 chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen> 88 89 </sect2> 90 91 <sect2 role="commands"> 92 <title>Command Explanations</title> 93 94 <para><command>cd build_unix && 95 ../dist/configure --prefix=/usr...</command>: 96 This replaces the normal <command>./configure</command> command, as 97 <application>Berkeley DB</application> comes with various 98 build directories for different platforms.</para> 99 100 <para><parameter>--enable-compat185</parameter>: This switch enables 101 building DB 1.85 compatibility API.</para> 102 103 <para><parameter>--enable-cxx</parameter>: This switch enables building 104 C++ API libraries.</para> 105 106 <para><command>make LIBSO_LIBS="-lpthread" 107 LIBXSO_LIBS="-lpthread"</command>: <command>configure</command> 108 does not correctly handle NPTL. These variables force it to 109 properly link against NPTL.</para> 110 111 <para><command>make docdir=/usr/share/doc/db-&db-version; 112 install</command>: This installs the documentation in 113 the correct place.</para> 114 115 <para><option>--enable-test</option>: Enables building the test suite 116 (requires the two Tcl switches below).</para> 117 118 <para><option>--enable-tcl --with-tcl=/usr/lib</option>: 119 Enables <application>Tcl</application> support in DB and creates the 120 <filename class="libraryfile">libdb_tcl</filename> libraries.</para> 121 122 <para><option>--enable-java</option>: Enables 123 <application>Java</application> support in DB and creates the 124 <filename class='libraryfile'>libdb_java</filename> libraries.</para> 125 126 <para><option>--enable-rpc</option>: Enables building the 127 <application>Berkeley DB</application> RPC server.</para> 128 129 </sect2> 130 131 <sect2 role="content"> 132 <title>Contents</title> 133 134 <segmentedlist> 135 <segtitle>Installed Programs</segtitle> 136 <segtitle>Installed Libraries</segtitle> 137 <segtitle>Installed Directory</segtitle> 138 139 <seglistitem> 140 <seg>berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump, 141 db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify</seg> 142 <seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and 143 libdb_tcl.[so,a]</seg> 144 <seg>/usr/share/doc/db-&db-version;</seg> 145 </seglistitem> 146 </segmentedlist> 147 148 <variablelist> 149 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 150 <?dbfo list-presentation="list"?> 151 <?dbhtml list-presentation="table"?> 152 153 <varlistentry id="berkeley_db_svc"> 154 <term><command>berkeley_db_svc</command></term> 155 <listitem> 156 <para>is the <application>Berkeley DB</application> 157 RPC server.</para> 158 <indexterm zone="db berkeley_db_svc"> 159 <primary sortas="b-berkeley_db_svc">berkeley_db_svc</primary> 160 </indexterm> 161 </listitem> 162 </varlistentry> 163 164 <varlistentry id="db_archive"> 165 <term><command>db_archive</command></term> 166 <listitem> 167 <para>prints the pathnames of log files that are no longer in 168 use.</para> 169 <indexterm zone="db db_archive"> 170 <primary sortas="b-db_archive">db_archive</primary> 171 </indexterm> 172 </listitem> 173 </varlistentry> 174 175 <varlistentry id="db_checkpoint"> 176 <term><command>db_checkpoint</command></term> 177 <listitem> 178 <para>is a daemon process used to monitor and checkpoint database 179 logs.</para> 180 <indexterm zone="db db_checkpoint"> 181 <primary sortas="b-db_checkpoint">db_checkpoint</primary> 182 </indexterm> 183 </listitem> 184 </varlistentry> 185 186 <varlistentry id="db_deadlock"> 187 <term><command>db_deadlock</command></term> 188 <listitem> 189 <para>is used to abort lock requests when deadlocks are 190 detected.</para> 191 <indexterm zone="db db_deadlock"> 192 <primary sortas="b-db_deadlock">db_deadlock</primary> 193 </indexterm> 194 </listitem> 195 </varlistentry> 196 197 <varlistentry id="db_dump"> 198 <term><command>db_dump</command></term> 199 <listitem> 200 <para>converts database files to a flat file format readable by 201 <command>db_load</command>.</para> 202 <indexterm zone="db db_dump"> 203 <primary sortas="b-db_dump">db_dump</primary> 204 </indexterm> 205 </listitem> 206 </varlistentry> 207 208 <varlistentry id="db_load"> 209 <term><command>db_load</command></term> 210 <listitem> 211 <para>is used to create database files from flat files created with 212 <command>db_dump</command>.</para> 213 <indexterm zone="db db_load"> 214 <primary sortas="b-db_load">db_load</primary> 215 </indexterm> 216 </listitem> 217 </varlistentry> 218 219 <varlistentry id="db_printlog"> 220 <term><command>db_printlog</command></term> 221 <listitem> 222 <para>converts database log files to human readable text.</para> 223 <indexterm zone="db db_printlog"> 224 <primary sortas="b-db_printlog">db_printlog</primary> 225 </indexterm> 226 </listitem> 227 </varlistentry> 228 229 <varlistentry id="db_recover"> 230 <term><command>db_recover</command></term> 231 <listitem> 232 <para>is used to restore a database to a consistent state after a 233 failure.</para> 234 <indexterm zone="db db_recover"> 235 <primary sortas="b-db_recover">db_recover</primary> 236 </indexterm> 237 </listitem> 238 </varlistentry> 239 240 <varlistentry id="db_stat"> 241 <term><command>db_stat</command></term> 242 <listitem> 243 <para>displays database environment statistics.</para> 244 <indexterm zone="db db_stat"> 245 <primary sortas="b-db_stat">db_stat</primary> 246 </indexterm> 247 </listitem> 248 </varlistentry> 249 250 <varlistentry id="db_upgrade"> 251 <term><command>db_upgrade</command></term> 252 <listitem> 253 <para>is used to upgrade database files to a newer version of 254 <application>Berkeley DB</application>.</para> 255 <indexterm zone="db db_upgrade"> 256 <primary sortas="b-db_upgrade">db_upgrade</primary> 257 </indexterm> 258 </listitem> 259 </varlistentry> 260 261 <varlistentry id="db_verify"> 262 <term><command>db_verify</command></term> 263 <listitem> 264 <para>is used to run consistency checks on database files.</para> 265 <indexterm zone="db db_verify"> 266 <primary sortas="b-db_verify">db_verify</primary> 267 </indexterm> 268 </listitem> 269 </varlistentry> 270 271 </variablelist> 272 273 </sect2> 239 274 240 275 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.