Centos 安裝Hue

來源:互聯網
上載者:User

標籤:

1、從hue官網(http://gethue.com/)下載一個tarball版( wget or 下載到本地)

2、rz 上傳到伺服器,解壓到一個目錄

3、安裝依賴 :

yum install krb5-devel cyrus-sasl-gssapi cyrus-sasl-deve libxml2-devel libxslt-devel mysql mysql-devel openldap-devel python-devel python-simplejson sqlite-devel

4、指定安裝目錄,安裝 

PREFIX=/home/hadoop make install

5、hdfs  啟動 httpfs,注意在namenode同台機器

httpfs.sh start

6、hbase,啟動thrift,注意是thrift,不是thrift2; hive 啟動hiveserver2

hbase-daemon.sh start thrifthive --service hiveserver2 &

7、修改配置,hue.ini

Hadoop關鍵配置:    fs_defaultfs=hdfs://xxxx:port    webhdfs_url= (httpfs服務)    resourcemanager_host    resourcemanager_port    resourcemanager_api_url    history_server_api_url     Hive關鍵配置:     hive_server_host     hive_server_port     hive_conf_dir HBase關鍵配置:     hbase_clusters(hbase的thrift server)


8、資料庫同步:        

cd /home/hadoop/hue#同步許可權表到MySQL./hue syncdb --noinput#各個app的表資料./hue migrate --all

9、保證使用者統一,修改整個目錄許可權 

chow -R hadoop:hadoop /home/hadoop/hue

     啟動Hue  

 cd /home/hadoop/hue     ./build/env/bin/supervisor -d -u hadoop -g hadoop

10、 登入成功 、驗證


參考:

1、官方手冊,參考 httpfs、  http://cloudera.github.io/hue/docs-3.8.0/manual.html

2、同步mysql部分      http://my.oschina.net/cwalet/blog/217780

3、安裝依賴部分,官方依賴太多        http://shiyanjun.cn/archives/1002.html?utm_source=tuicool


Centos 安裝Hue

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.