Difference between revisions of "Instalasi Berkeley DB"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
# cp /usr/local/src/ | # cp /usr/local/src/ | ||
# tar zxvf db-4.6.21.tar.gz | # tar zxvf db-4.6.21.tar.gz | ||
− | # cd db-4.6.21 | + | # cd /usr/local/src/db-4.6.21 |
− | # cd build_unix | + | # cd /usr/local/src/db-4.6.21/build_unix |
− | # ../dist/configure | + | # ../dist/configure --prefix=/usr/local/BerkeleyDB |
+ | # make clean | ||
# 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 | ||
+ | |||
+ | Lakukan | ||
+ | |||
+ | # ldconfig | ||
+ | |||
+ | |||
==Pranala Menari== | ==Pranala Menari== | ||
+ | |||
+ | * [[Memblok Situs Tidak Baik Menggunakan SquidGuard]] | ||
+ | * [[Instalasi SquidGuard]] | ||
* [[Linux Howto]] | * [[Linux Howto]] |
Latest revision as of 14:37, 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
Lakukan
# ldconfig