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 
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 
    cd 
    git clone git://scm.hypertable.org/pub/repos/hypertable.git

2. Create an install directory

    mkdir -p 

3. Create a build directory

    mkdir -p 

4. Configure the build.

    cd 
    cmake 

    To edit the build options interactively:

        ccmake 

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

你可能感兴趣的:(Hadoop,Linux,Git,Perl,Oracle)