Centos installation Hue

Source: Internet
Author: User

1. Download a tarball version (wget or download to local) from the Hue website (http://gethue.com/)

2, RZ upload to the server, unzip to a directory

3. Installation dependence:

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. Specify the installation directory, install  

Prefix=/home/hadoop make Install

5, HDFs start Httpfs, Note in Namenode the same machine

httpfs.sh start

6, HBase, start thrift, Note is thrift, not thrift2; hive start Hiveserver2

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

7, modify the configuration, H Ue.ini

Hadoop key configuration: Fs_defaultfs=hdfs://xxxx:port webhdfs_url= (HTTPFS service) Resourcemanager_host Resourcemanager_port Resourcemanager_api_url History_server_api_url Hive Key configuration: Hive_server_host Hive_server_port hive_conf_d IR hbase Key configuration: hbase_clusters (hbase thrift Server)


8. Database synchronization:         

cd/home/hadoop/hue# Synchronize the Permissions table to Mysql./hue syncdb--noinput# the table data for each app./hue Migrate--all

9, to ensure that users unified, modify the entire directory permissions

Chow-r Hadoop:hadoop/home/hadoop/hue

Start Hue

Cd/home/hadoop/hue./build/env/bin/supervisor-d-U hadoop-g Hadoop

10, Login Success , verification


Reference:

1, the official manual, reference HTTPFS, http://cloudera.github.io/hue/docs-3.8.0/manual.html

2. Synchronizing MySQL part http://my.oschina.net/cwalet/blog/217780

3, the installation of dependent parts, the official reliance on too many Http://shiyanjun.cn/archives/1002.html?utm_source=tuicool


Centos installation Hue

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.