In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This post is about how Centos installs Hue. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
1. Download a tarball version from hue official website (http://gethue.com/)(wget or download locally)
2. Upload rz to the server and extract it to a directory.
3. Installation Dependency:
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 and install
PREFIX=/home/hadoop make install
5, HDFS Start httpfs, Note that the same machine in namenode
httpfs.sh start
hbase, start thrift, note thrift, not thrift2; hive starts hiveserver2
hbase-daemon.sh start thrifthive --service hiveserver2 &
7. Modify configuration, hue.ini
Key Hadoop configurations: 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_dir HBase Key configuration: hbase_clusters (thrift server of hbase)
8. Database synchronization:
cd /home/hadoop/hue#synchronize permissions table to MySQL./ hue syncdb --noinput#Table data for each app./ hue migrate --all
9. Ensure that users are unified and modify the permissions of the entire directory
chow -R hadoop:hadoop /home/hadoop/hue
Start Hue
cd /home/hadoop/hue ./ build/env/bin/supervisor -d -u hadoop -g hadoop
10. Login successful, verification
Thank you for reading! About "Centos how to install Hue" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.