安裝前的準備工作:
安裝步驟:
2. cd到 hbase-2.1.0/conf 目錄下,vi修改hbase-site.xml
//1.配置內建zk位址
hbase.zookeeper.quorum
主機名the directory shared by regionservers.
hbase.zookeeper.property.datadir
property from zookeeper config zoo.cfg.
the directory where the snapshot is stored.
//3.配置在hdfs上的儲存位址
hbase.rootdir
hdfs://主機名:埠號/hbase
the directory shared by regionservers.
//4.配置啟用集群分布式執行
hbase.cluster.distributed
true
the mode the cluster will be in. possible values are
false: standalone and pseudo-distributed setups with managed zookeeper
true: fully-distributed with unmanaged zookeeper quorum (see hbase-env.sh)
注意:如果不使用內建zk,則需要修改hbase-env.sh
3. 配置regionservers, vi編輯regionservers,修改為主機名,多個以 , 隔開;
4. 啟動hadoop, 首先啟動hdfs ==> $ start-dfs.sh; 再啟動yarn ==> start-yarn.sh;
5. 啟動hbase, cd 到hbase-2.1.0目錄下, bin/start-hbase.sh;
6. 檢查是否啟動hmaster, regionservers, zookeeper成功;
//檢視程序
[hadoop@hadoop000 hbase-2.1.0]$ jps
1539 namenode
2003 resourcemanager
2115 nodemanager
2947 jps
1846 secondarynamenode
2631 hquorumpeer => zk
2727 hmaster => hmaster
2859 hregionserver => regionserver
1644 datanode
7. hbase啟動後,預設占用 16010 埠,通過 主機名:16010,檢視hbase詳細;
automake安裝1 14 1版本
2.解壓縮automake 1.14.1.tar.gz 輸入命令 tar zxvf automake 1.14.1.tar.gz c opt 3.進入解壓縮後的目錄automake 1.14.1,輸入命令 cd opt automake 1.14.1 4.輸入命令 bootstrap.sh 5.配置...
go安裝1 9版本
如果有舊的go 首先解除安裝它,方法如果 rm rf usr bin go rm rf etc alternatives go rm rf usr lib golang清理gopath goroot變數 unset gopath unset goroot 然後開始正式安裝,因為golang1.5以後...
php安裝7 3版本
安裝 epel 源 yum install epel release 安裝 remi 源 centos 7 yum install 安裝 yum 源管理工具 yum install yum utils 安裝 php7.3 yum install y php73 php fpm php73 php c...