In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "installation and use of ambari on centos7". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. There are three centos7, whose names are ws11.localdomain, ws12.localdomain and ws13.localdomain. Configure the epel source (install epel-release).
2. Configure root user ssh password-free access.
3. Install ntp timing service.
4. Turn off the firewall. Use firewalld under centos7.
5. Close selinux. Setenforce 0There is a modification of SELINUX=disabled in the selinux config.
6. Download repo from http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.1.2.1/ambari.repo and put it in / etc/yum.repos.d.
7. Ws13, as a server, provides web management interface. Install ambari-server on ws13. Yum install ambari-server .
8. Install ambari-agent on all slave nodes ws11, ws12, and ws13. Yum install ambari-agent . (in theory, ambari-agent can be automatically installed on each node by the later ambari-server setup, but the network speed is not good and it is easy to fail.)
9. Execute ambari-server setup [- j JAVA_HOME-v] on server, and you will be prompted to install jdk. If the network speed is not good, the download will fail. You can download jdk-7u67-linux-x64.bin manually and put it under / var/lib/ambari-server/resources/. Then you will be prompted for the database for the configuration, and selecting n will press the default configuration. (database type: postgresql database: ambari username: ambari password: bigdata)
10. Start Ambari Server. Ambari-server start .
You can log in to the page through http://ws13:8080. User name: admin password: admin.
12. Configuration file / etc/ambari-server/conf/ambari.properties, / etc/ambari-agent/conf/ambari-agent.ini. =
When you deploy components later, downloading from the Internet is still slow, and you can consider installing them from a local source.
Http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=26230811&id=4023821
Http://blog.sina.com.cn/s/blog_5ccc692d0101ru1e.html
This is the end of the content of "installation and use of ambari on centos7". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.