Hypertable 安装

####Basic Dependencies

1. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
2. yum install gcc-c++ make cmake python-devel bzip2-devel zlib-devel expat-devel
3. wget http://downloads.sourceforge.net/boost/boost_1_37_0.tar.bz2
4. bzip2 -d boost_1_37_0.tar.bz2
5. tar -xvf boost_1_37_0.tar
6. cd boost_1_37_0
7. ./configure
8. make
9. make install
10. cd /etc/yum.repos.d
11. wget http://dries.eu/pub/dries-el.repo
12. yum install log4cpp-devel git-core cronolog google-perftools-devel libevent-devel readline-devel ncurses-devel
13. wget http://internap.dl.sourceforge.net/sourceforge/sigar/hyperic-sigar-1.6.0.tar.gz
14. tar -xzvf hyperic-sigar-1.6.0.tar.gz
15. cp hyperic-sigar-1.6.0/sigar-bin/include/*.h /usr/local/include
16. cp hyperic-sigar-1.6.0/sigar-bin/lib/libsigar-x86-linux.so /usr/local/lib/
17. wget http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
18. yum install xml-commons-apis
19. wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.5.8.linux.bin.tar.gz
20 tar -zxvf doxygen-1.5.8.linux.bin.tar.gz
21. cd doxygen-1.5.8
22 ./configure
23 make
24 make install
wget http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
25. tar -zxvf db-4.7.25.tar.gz
26. cd db-4.7.25/build_unix/
27. ../dist/configure --enable-cxx
28. make
29. make install
30. sh -c "if [ ! -e /etc/hosts ]; then echo '127.0.0.1 localhost.localdomain localhost' > /etc/hosts ; fi"
31. sh -c "echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf"
32. sh -c "echo '/usr/local/BerkeleyDB.4.7/lib' > /etc/ld.so.conf.d/BerkeleyDB.4.7.conf"
33. /sbin/ldconfig

######thrift




wget -O jdk-6u12-linux-i586-rpm.bin <really-long-url-from-sun>
chmod 755 jdk-6u12-linux-i586-rpm.bin
./jdk-6u12-linux-i586-rpm.bin
yum install ant automake libtool flex bison pkgconfig libevent-devel ruby-devel perl-Bit-Vector php
wget http://dag.wieers.com/rpm/packages/perl-Class-Accessor/perl-Class-Accessor-0.31-1.el5.rf.noarch.rpm
yum localinstall perl-Class-Accessor-0.31-1.el5.rf.noarch.rpm --nogpgcheck
wget -O thrift.tgz http://tr.im/hu0b (See hypertable README for location of working Thrift snapshot)
tar -xzvf thrift.tgz
cd thrift
./bootstrap.sh
#./configure
./configure --without-csharp
make
make install
/sbin/ldconfig


####Install hypertable:

1. Checkout the source code.

mkdir -p <your_source_dir>
cd <your_source_dir>
git clone git://scm.hypertable.org/pub/repos/hypertable.git

2. Create an install directory

mkdir -p <your_install_dir>

3. Create a build directory

mkdir -p <your_build_dir>

4. Configure the build.

cd <your_build_dir>
cmake <your_source_dir>

To edit the build options interactively:

ccmake <your_source_dir>

5. Build the software.

make
make install
### change the correct configuation on Make file

6. /opt/hypertable/0.9.2.3/java/lib

7. cp /usr/lib/hadoop/hadoop-0.18.3-core.jar .

### check which port they used

8. less /etc/hadoop/conf/hadoop-site.xml

9. vi hypertable.cfg ### change the port the hadoop uses if needed

10. /opt/hypertable/0.9.2.6/bin/start-all-servers.sh hadoop




###HOW TO INSTALL

http://code.google.com/p/hypertable/wiki/HowToInstall
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值