003 File Manager
Current Path:
/usr/local/share/doc/db5/installation
usr
/
local
/
share
/
doc
/
db5
/
installation
/
π
..
π
BDB_Installation.pdf
(942.78 KB)
π
arch_bigpic.gif
(2.53 KB)
π
arch_smallpic.gif
(1.58 KB)
π
build_android_config.html
(4.9 KB)
π
build_android_intro.html
(12.27 KB)
π
build_android_jdbc.html
(15.97 KB)
π
build_unix.html
(12.24 KB)
π
build_unix_aix.html
(7.99 KB)
π
build_unix_conf.html
(27.32 KB)
π
build_unix_db_nosync.html
(3.29 KB)
π
build_unix_encrypt.html
(3.55 KB)
π
build_unix_flags.html
(5.23 KB)
π
build_unix_freebsd.html
(3.57 KB)
π
build_unix_install.html
(6.52 KB)
π
build_unix_iphone.html
(4.4 KB)
π
build_unix_irix.html
(3.03 KB)
π
build_unix_linux.html
(3.9 KB)
π
build_unix_macosx.html
(4.55 KB)
π
build_unix_notes.html
(12.13 KB)
π
build_unix_qnx.html
(6.7 KB)
π
build_unix_sco.html
(2.84 KB)
π
build_unix_shlib.html
(8.34 KB)
π
build_unix_small.html
(9.67 KB)
π
build_unix_solaris.html
(8.4 KB)
π
build_unix_sql.html
(29.97 KB)
π
build_unix_stacksize.html
(2.98 KB)
π
build_unix_sunos.html
(3.29 KB)
π
build_unix_test.html
(5.94 KB)
π
build_vxworks.html
(6.73 KB)
π
build_vxworks_faq.html
(11.98 KB)
π
build_vxworks_notes.html
(6.67 KB)
π
build_win.html
(15.88 KB)
π
build_win_csharp.html
(5.09 KB)
π
build_win_faq.html
(7.65 KB)
π
build_win_java.html
(5.43 KB)
π
build_win_notes.html
(5.45 KB)
π
build_win_small.html
(4.76 KB)
π
build_win_sql.html
(24.89 KB)
π
build_win_tcl.html
(6.4 KB)
π
build_win_test.html
(9.53 KB)
π
build_wince.html
(15.36 KB)
π
build_wince_faq.html
(6.56 KB)
π
build_wince_notes.html
(4.77 KB)
π
ch01s02.html
(5.78 KB)
π
changelog_4_8.html
(52.46 KB)
π
changelog_5_0.html
(44.98 KB)
π
changelog_5_1.html
(37.5 KB)
π
changelog_5_2.html
(37.49 KB)
π
changelog_5_3.html
(33.8 KB)
π
cross_compile_unix.html
(5.35 KB)
π
debug.html
(8.44 KB)
π
debug_compile.html
(4.67 KB)
π
debug_printlog.html
(20.75 KB)
π
debug_runtime.html
(4.67 KB)
π
gettingStarted.css
(1.13 KB)
π
index.html
(64.07 KB)
π
install.html
(16.79 KB)
π
install_multiple.html
(5.19 KB)
π
introduction.html
(6.29 KB)
π
moreinfo.html
(7 KB)
π
preface.html
(4.28 KB)
π
test.html
(9.25 KB)
π
test_faq.html
(2.75 KB)
π
upgrade_11gr2_51_dpl_recompile.html
(3.14 KB)
π
upgrade_11gr2_51_mod_db4_unsupp.html
(2.78 KB)
π
upgrade_11gr2_51_sqlite_ver.html
(2.95 KB)
π
upgrade_11gr2_51_src_reorg.html
(3.04 KB)
π
upgrade_11gr2_52_bit_cmp_win.html
(3.18 KB)
π
upgrade_11gr2_52_dyn_env.html
(7.17 KB)
π
upgrade_11gr2_52_excl_txn_sql.html
(3.21 KB)
π
upgrade_11gr2_52_grp_mbr.html
(13.25 KB)
π
upgrade_11gr2_52_heap.html
(5.54 KB)
π
upgrade_11gr2_52_hot_backup.html
(3.41 KB)
π
upgrade_11gr2_52_mvcc_sql.html
(4.19 KB)
π
upgrade_11gr2_52_rep_2site_strict.html
(3.22 KB)
π
upgrade_11gr2_52_rep_dbt_readonly.html
(3.84 KB)
π
upgrade_11gr2_52_rep_sql.html
(5.21 KB)
π
upgrade_11gr2_52_repmgr_channels.html
(5.35 KB)
π
upgrade_11gr2_52_seq_sql.html
(4.87 KB)
π
upgrade_11gr2_52_sqlite_ver.html
(3.16 KB)
π
upgrade_11gr2_52_xa.html
(6.11 KB)
π
upgrade_11gr2_53_build_windows.html
(3.23 KB)
π
upgrade_11gr2_53_conn_status.html
(5.19 KB)
π
upgrade_11gr2_53_excl.html
(4.33 KB)
π
upgrade_11gr2_53_heap_regionsize.html
(4.04 KB)
π
upgrade_11gr2_53_hotbackup.html
(7.97 KB)
π
upgrade_11gr2_53_jdbc.html
(2.94 KB)
π
upgrade_11gr2_53_meta_dir.html
(4.32 KB)
π
upgrade_11gr2_53_sql_build.html
(3.41 KB)
π
upgrade_11gr2_53_sql_pragma.html
(4.23 KB)
π
upgrade_11gr2_53_sql_rep.html
(4.93 KB)
π
upgrade_11gr2_53_xa_mvcc.html
(3.23 KB)
π
upgrade_11gr2_autoinit.html
(3.23 KB)
π
upgrade_11gr2_dbsqlcodegen.html
(3.01 KB)
π
upgrade_11gr2_remsupp.html
(2.95 KB)
π
upgrade_11gr2_repmgr.html
(3.93 KB)
π
upgrade_11gr2_toc.html
(5.68 KB)
π
upgrade_4_8_disk.html
(3.16 KB)
π
upgrade_4_8_dpl.html
(4.1 KB)
π
upgrade_4_8_fcntl.html
(2.96 KB)
π
upgrade_4_8_mpool.html
(3.77 KB)
π
upgrade_4_8_toc.html
(9.92 KB)
π
upgrade_51_toc.html
(9.31 KB)
π
upgrade_52_toc.html
(14.82 KB)
π
upgrade_53_toc.html
(12.24 KB)
π
win_additional_options.html
(5.46 KB)
π
win_build64.html
(4.71 KB)
π
win_build_cxx.html
(2.58 KB)
π
win_build_cygwin.html
(2.73 KB)
π
win_build_dist_dll.html
(4.28 KB)
π
win_build_stl.html
(3.3 KB)
Editing: install.html
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ChapterΒ 2.Β System Installation Notes</title> <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" /> <link rel="up" href="index.html" title="Berkeley DB Installation and Build Guide" /> <link rel="prev" href="ch01s02.html" title="Supported Platforms" /> <link rel="next" href="install_multiple.html" title="Building with multiple versions of Berkeley DB" /> </head> <body> <div xmlns="" class="navheader"> <div class="libver"> <p>Library Version 11.2.5.3</p> </div> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">ChapterΒ 2.Β System Installation Notes </th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>Β </td> <th width="60%" align="center">Β </th> <td width="20%" align="right">Β <a accesskey="n" href="install_multiple.html">Next</a></td> </tr> </table> <hr /> </div> <div class="chapter" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title"><a id="install"></a>ChapterΒ 2.Β System Installation Notes </h2> </div> </div> </div> <div class="toc"> <p> <b>Table of Contents</b> </p> <dl> <dt> <span class="sect1"> <a href="install.html#install_file">File utility /etc/magic information</a> </span> </dt> <dd> <dl> <dt> <span class="sect2"> <a href="install.html#magic">Magic information</a> </span> </dt> <dt> <span class="sect2"> <a href="install.html#big-endian">Big-endian magic information</a> </span> </dt> <dt> <span class="sect2"> <a href="install.html#little-endian">Little-endian magic information</a> </span> </dt> </dl> </dd> <dt> <span class="sect1"> <a href="install_multiple.html">Building with multiple versions of Berkeley DB</a> </span> </dt> </dl> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="install_file"></a>File utility /etc/magic information</h2> </div> </div> </div> <div class="toc"> <dl> <dt> <span class="sect2"> <a href="install.html#magic">Magic information</a> </span> </dt> <dt> <span class="sect2"> <a href="install.html#big-endian">Big-endian magic information</a> </span> </dt> <dt> <span class="sect2"> <a href="install.html#little-endian">Little-endian magic information</a> </span> </dt> </dl> </div> <p> The <code class="literal">file</code>(1) utility is a UNIX utility that examines and classifies files, based on information found in its database of file types, the /etc/magic file. The following information may be added to your system's /etc/magic file to enable <code class="literal">file</code>(1) to correctly identify Berkeley DB database files. </p> <p> The <code class="literal">file</code>(1) utility <code class="literal">magic</code>(5) information for the standard System V UNIX implementation of the <code class="literal">file</code>(1) utility is included in the Berkeley DB distribution for both big-endian (for example, Sparc) and little-endian (for example, x86) architectures. See <a class="xref" href="install.html#big-endian" title="Big-endian magic information">Big-endian magic information</a> and <a class="xref" href="install.html#little-endian" title="Little-endian magic information">Little-endian magic information</a> respectively for this information. </p> <p> The <code class="literal">file</code>(1) utility <code class="literal">magic</code>(5) information for Release 3.X of Ian Darwin's implementation of the file utility (as distributed by FreeBSD and most Linux distributions) is included in the Berkeley DB distribution. This <code class="literal">magic.txt</code> information is correct for both big-endian and little-endian architectures. See the next section for this information. </p> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="magic"></a>Magic information</h3> </div> </div> </div> <pre class="programlisting"># Berkeley DB # # Ian Darwin's file /etc/magic files: big/little-endian version. # # Hash 1.85/1.86 databases store metadata in network byte order. # Btree 1.85/1.86 databases store the metadata in host byte order. # Hash and Btree 2.X and later databases store the metadata in # host byte order. 0 long 0x00061561 Berkeley DB >8 belong 4321 >>4 belong >2 1.86 >>4 belong <3 1.85 >>4 belong >0 (Hash, version %d, native byte-order) >8 belong 1234 >>4 belong >2 1.86 >>4 belong <3 1.85 >>4 belong >0 (Hash, version %d, little-endian) 0 belong 0x00061561 Berkeley DB >8 belong 4321 >>4 belong >2 1.86 >>4 belong <3 1.85 >>4 belong >0 (Hash, version %d, big-endian) >8 belong 1234 >>4 belong >2 1.86 >>4 belong <3 1.85 >>4 belong >0 (Hash, version %d, native byte-order) 0 long 0x00053162 Berkeley DB 1.85/1.86 >4 long >0 (Btree, version %d, native byte-order) 0 belong 0x00053162 Berkeley DB 1.85/1.86 >4 belong >0 (Btree, version %d, big-endian) 0 lelong 0x00053162 Berkeley DB 1.85/1.86 >4 lelong >0 (Btree, version %d, little-endian) 12 long 0x00061561 Berkeley DB >16 long >0 (Hash, version %d, native byte-order) 12 belong 0x00061561 Berkeley DB >16 belong >0 (Hash, version %d, big-endian) 12 lelong 0x00061561 Berkeley DB >16 lelong >0 (Hash, version %d, little-endian) 12 long 0x00053162 Berkeley DB >16 long >0 (Btree, version %d, native byte-order) 12 belong 0x00053162 Berkeley DB >16 belong >0 (Btree, version %d, big-endian) 12 lelong 0x00053162 Berkeley DB >16 lelong >0 (Btree, version %d, little-endian) 12 long 0x00042253 Berkeley DB >16 long >0 (Queue, version %d, native byte-order) 12 belong 0x00042253 Berkeley DB >16 belong >0 (Queue, version %d, big-endian) 12 lelong 0x00042253 Berkeley DB >16 lelong >0 (Queue, version %d, little-endian) 12 long 0x00040988 Berkeley DB >16 long >0 (Log, version %d, native byte-order) 12 belong 0x00040988 Berkeley DB >16 belong >0 (Log, version %d, big-endian) 12 lelong 0x00040988 Berkeley DB >16 lelong >0 (Log, version %d, little-endian) </pre> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="big-endian"></a>Big-endian magic information</h3> </div> </div> </div> <pre class="programlisting"># Berkeley DB # # System V /etc/magic files: big-endian version. # # Hash 1.85/1.86 databases store metadata in network byte order. # Btree 1.85/1.86 databases store the metadata in host byte order. # Hash and Btree 2.X and later databases store the metadata in # host byte order. 0 long 0x00053162 Berkeley DB 1.85/1.86 (Btree, >4 long 0x00000002 version 2, >4 long 0x00000003 version 3, >0 long 0x00053162 native byte-order) 0 long 0x62310500 Berkeley DB 1.85/1.86 (Btree, >4 long 0x02000000 version 2, >4 long 0x03000000 version 3, >0 long 0x62310500 little-endian) 12 long 0x00053162 Berkeley DB (Btree, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00053162 native byte-order) 12 long 0x62310500 Berkeley DB (Btree, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x62310500 little-endian) 0 long 0x00061561 Berkeley DB >4 long >2 1.86 >4 long <3 1.85 >0 long 0x00061561 (Hash, >4 long 2 version 2, >4 long 3 version 3, >8 long 0x000004D2 little-endian) >8 long 0x000010E1 native byte-order) 12 long 0x00061561 Berkeley DB (Hash, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00061561 native byte-order) 12 long 0x61150600 Berkeley DB (Hash, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x61150600 little-endian) 12 long 0x00042253 Berkeley DB (Queue, >16 long 0x00000001 version 1, >16 long 0x00000002 version 2, >16 long 0x00000003 version 3, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00042253 native byte-order) 12 long 0x53220400 Berkeley DB (Queue, >16 long 0x01000000 version 1, >16 long 0x02000000 version 2, >16 long 0x03000000 version 3, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x53220400 little-endian) 12 long 0x00040988 Berkeley DB (Log, >16 long 0x00000001 version 1, >16 long 0x00000002 version 2, >16 long 0x00000003 version 3, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >16 long 0x0000000a version 10, >16 long 0x0000000b version 11, >16 long 0x0000000c version 12, >16 long 0x0000000d version 13, >16 long 0x0000000e version 14, >16 long 0x0000000f version 15, >12 long 0x00040988 native byte-order) 12 long 0x88090400 Berkeley DB (Log, >16 long 0x01000000 version 1, >16 long 0x02000000 version 2, >16 long 0x03000000 version 3, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >16 long 0x0a000000 version 10, >16 long 0x0b000000 version 11, >16 long 0x0c000000 version 12, >16 long 0x0d000000 version 13, >16 long 0x0e000000 version 14, >16 long 0x0f000000 version 15, >12 long 0x88090400 little-endian)</pre> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="little-endian"></a>Little-endian magic information</h3> </div> </div> </div> <pre class="programlisting"># Berkeley DB # # System V /etc/magic files: little-endian version. # # Hash 1.85/1.86 databases store metadata in network byte order. # Btree 1.85/1.86 databases store the metadata in host byte order. # Hash and Btree 2.X and later databases store the metadata in # host byte order. 0 long 0x00053162 Berkeley DB 1.85/1.86 (Btree, >4 long 0x00000002 version 2, >4 long 0x00000003 version 3, >0 long 0x00053162 native byte-order) 0 long 0x62310500 Berkeley DB 1.85/1.86 (Btree, >4 long 0x02000000 version 2, >4 long 0x03000000 version 3, >0 long 0x62310500 big-endian) 12 long 0x00053162 Berkeley DB (Btree, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00053162 native byte-order) 12 long 0x62310500 Berkeley DB (Btree, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x62310500 big-endian) 0 long 0x61150600 Berkeley DB >4 long >0x02000000 1.86 >4 long <0x03000000 1.85 >0 long 0x00061561 (Hash, >4 long 0x02000000 version 2, >4 long 0x03000000 version 3, >8 long 0xD2040000 native byte-order) >8 long 0xE1100000 big-endian) 12 long 0x00061561 Berkeley DB (Hash, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00061561 native byte-order) 12 long 0x61150600 Berkeley DB (Hash, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x61150600 big-endian) 12 long 0x00042253 Berkeley DB (Queue, >16 long 0x00000001 version 1, >16 long 0x00000002 version 2, >16 long 0x00000003 version 3, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >12 long 0x00042253 native byte-order) 12 long 0x53220400 Berkeley DB (Queue, >16 long 0x01000000 version 1, >16 long 0x02000000 version 2, >16 long 0x03000000 version 3, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >12 long 0x53220400 big-endian) 12 long 0x00040988 Berkeley DB (Log, >16 long 0x00000001 version 1, >16 long 0x00000002 version 2, >16 long 0x00000003 version 3, >16 long 0x00000004 version 4, >16 long 0x00000005 version 5, >16 long 0x00000006 version 6, >16 long 0x00000007 version 7, >16 long 0x00000008 version 8, >16 long 0x00000009 version 9, >16 long 0x0000000a version 10, >16 long 0x0000000b version 11, >16 long 0x0000000c version 12, >16 long 0x0000000d version 13, >16 long 0x0000000e version 14, >16 long 0x0000000f version 15, >12 long 0x00040988 native byte-order) 12 long 0x88090400 Berkeley DB (Log, >16 long 0x01000000 version 1, >16 long 0x02000000 version 2, >16 long 0x03000000 version 3, >16 long 0x04000000 version 4, >16 long 0x05000000 version 5, >16 long 0x06000000 version 6, >16 long 0x07000000 version 7, >16 long 0x08000000 version 8, >16 long 0x09000000 version 9, >16 long 0x0a000000 version 10, >16 long 0x0b000000 version 11, >16 long 0x0c000000 version 12, >16 long 0x0d000000 version 13, >16 long 0x0e000000 version 14, >16 long 0x0f000000 version 15, >12 long 0x88090400 big-endian) </pre> </div> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>Β </td> <td width="20%" align="center">Β </td> <td width="40%" align="right">Β <a accesskey="n" href="install_multiple.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">Supported PlatformsΒ </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top">Β Building with multiple versions of Berkeley DB</td> </tr> </table> </div> </body> </html>
Upload File
Create Folder