[hadoop@node01 install]$ cd /kkb/soft/
[hadoop@node01 soft]$ tar -zxvf hbase-2.2.6-bin.tar.gz -C /kkb/install/
3.1、修改hbase-env.sh文件
[hadoop@node01 soft]$ cd /kkb/install/hbase-2.2.6/conf
[hadoop@node01 conf]$ vim hbase-env.sh
export JAVA_HOME=/kkb/install/jdk1.8.0_141 export HBASE_MANAGES_ZK=false
[hadoop@node01 conf]$ vim hbase-site.xml
分发安装包
将 node01上的HBase安装包,拷贝到其他机器上
[hadoop@node01 conf]$ cd /kkb/install [hadoop@node01 install]$ scp -r hbase-2.2.6/ node02:/kkb/install [hadoop@node01 install]$ scp -r hbase-2.2.6/ node03:/kkb/install
ln -s /kkb/install/hadoop-3.1.4/etc/hadoop/hdfs-site.xml /kkb/install/hbase-2.2.6/conf/hdfs-site.xml
ln -s /kkb/install/hadoop-3.1.4/etc/hadoop/core-site.xml /kkb/install/hbase-2.2.6/conf/core-site.xml