Difference between revisions of "Instalasi Berkeley DB"

From OnnoWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
  # make
 
  # make
 
  # make install
 
  # 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
  
  

Revision as of 14:34, 2 April 2008

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


Pranala Menari