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