1 版本
axel -n 30 http://archive.apache.org/dist/hbase/hbase-1.0.3/hbase-1.0.3-bin.tar.gz
其中 axel在centos7.6下的安装参考https://www.hugeserver.com/kb/install-axel-centos-debian-linux/
For installing Axel on CentOS 6 and 7 you can add Epel repository:
yum install epel-release
yum install axel
2 因为这台centos机器已经安装了zookeeper(端口2181),所以hbase需要配置如下
tar zxvf hbase-1.0.3-bin.tar.gz
vim conf/hbase-site.xml
<configuration> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> </configuration>
./bin/start-hbase.sh
3 验证
hbase web管理页面:http://vm1:16010/master-status
hbase shell:
./hbase shell