Installation and use of ambari on centos7
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!