Installation of Hue

Source: Internet
Author: User
Tags chmod centos port number server port
Reference Document: Http://cloudera.github.io/hue/docs-3.7.0/index.html
System: CentOS release 6.5 (Final)

Install git (if you download hue-3.7.1.tgz directly, you don't need this step)
Yum Install-y Git-core

Here, I'm based on the basic environment and its configuration, as follows:
CentOS Release 6.5 (Final)
Java Version "1.7.0_75"
apache-maven-3.2.5
git version 1.7.1
Python 2.6.6

From http://gethue.com/hue-3-7-with-sentry-app-and-new-search-widgets-are-out/#下载 "3.7.1 tarball" version

[Root@ambari hue]# TAR-ZXVF hue-3.7.1.tgz
[Root@ambari hue]# CD hue-3.7.1

First use the Yum tool to install hue-dependent software:
sudo 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

Yum Install-y gcc-c++

AddUser Hue
[Root@ambari hue]# cd hue-3.7.1 [Root@ambari hue]# make Apps


Configure the Web server port number
Modify the/software/hue/hue-3.7.1/desktop/conf/hue.init
http_host=10.111.22.224
http_port=8000

chmod 777 Hue/desktop/chmod 766 hue/desktop/desktop.db
Start
/software/hue/hue-3.7.1/build/env/bin/supervisor

Log in with Root 123456

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.