Ambari installation _hadoop

Source: Internet
Author: User
Tags postgresql yum repolist
1. Install JDK (optional)
2. Install Ambari
2.1 Configuration of Ambari yum repo
cd/etc/yum.repos.d/

wget Http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.4.1.25/ambari.repo

2.2 Installing Ambari Server
Installing Ambari server on the server node
Yum Install-y ambari-server

2.3 Install Ambari Agent (automatic installation is not reliable)
Installing at the slave node
Yum Install-y ambari-agent
Yum Install-y ambari-log4j

3. Configure Ambari
3.1 Configuring Ambari Server
(1) configuration

Ambari-server setup-j Java_home-v

will be prompted to install JDK, the speed is OK, otherwise can download Jdk-6u31-linux-x64.bin, put under/var/lib/ambari-server/resources/
Then you will be prompted to configure the database, you can select Oracle or PostgreSQL, select n will be configured by default
Database type: PostgreSQL
Database: Ambari
User name: Ambari
Password: bigdata
If you are prompted to Oracle JDK License,yes
Wait for installation to complete
Start Ambari Server
[Plain] View plain copy ambari-server start and then access: http://master:8080
The installation is complete without any surprises.
Username/password: admin/admin

(2) Modify the port
Vi/etc/ambari-server/conf/ambari.properties
Add Configuration client.api.port=<port_number>

3.2 Configuring Ambari Agent
Vim/etcbari-agentbari.ini
[Server]
Hostname=<server_address>

3.3 Start
Ambari-server start

Ambari-agent start


Yum repolist ambari-server Setup

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.