Instalasi Berkeley DB

From OnnoWiki
Revision as of 14:37, 2 April 2008 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ambil source code dari

http://www.oracle.com/technology/software/products/berkeley-db/index.html

Pilih versi terakhir dari Berkeley DB, besar-nya sekitar 11-14Mbyte.

Copy, buka & compile

# cp db-4.6.21.tar.gz /usr/local/src/
# cp /usr/local/src/
# tar zxvf db-4.6.21.tar.gz
# cd /usr/local/src/db-4.6.21
# cd /usr/local/src/db-4.6.21/build_unix
# ../dist/configure --prefix=/usr/local/BerkeleyDB
# make clean
# make
# make install


Pastikan share library Berkeley DB di kenali oleh system

# vi /etc/ld.so.conf.d/BerkeleyDB.conf

Isi dengan kalimat

/usr/local/BerkeleyDB/lib

Lakukan

# ldconfig



Pranala Menari