Apache Ambari 1.4.4 Installation Guide
(Note: because the image is difficult to use in word, you can download it from the attachment)
Operating System:
CentOS6
Cluster machine list:
Hadoop.master.com (192.168.1.204)
Hadoop.slave1.com (192.168.1.205)
Hadoop. slave2.com (192.168.1.206)
Ambari server Installation node and user
Hadoop.master.com/root
Preparations
SSH Login-free
Run ssh-keygen-t rsa in hadoop.master.com and press enter until the default options are met.
Run cp id_rsa.pub authorized_keys under/root/. ssh.
Then copy all the files in the directory
Disable Firewall
Service iptables stop
Install MySQL
Yum install mysql *
1. Download Dependencies
Cd/etc/yum. repos. d/
WgetHttp://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.4.4.23/ambari.repo
2. Install ambariserver
Yum install-y ambari-server
3. Start the ambariserver installer.
Ambari-serversetup
There are two options: Customizeuser account for ambari-server daemon [y/n] (n )? Whether to use a non-root user to start ambari-server (n); Do you acceptthe Oracle Binary Code License Agreement agree to Oracle protocol (y)
Enter advanced database configuration [y/n] (n )? Y Database Configuration
Choose one of the following options:
[1]-PostgreSQL (Embedded)
[2]-Oracle
[3]-MySQL
Enter choice (1): 1
Select database 1
Enter the database user name and password
Database Name (ambari): ambari
Username (ambari): ambari
Enter Database Password (bigdata ):
Re-enter password:
Default properties detected. Usingbuilt-in database.
Checking PostgreSQL...
Running initdb: This may take upto aminute.
Initializing database: [OK]
About to start PostgreSQL
Refreshing local database...
Connecting to the database. attempt1...
Processing PostgreSQL...
Restarting PostgreSQL
Ambari Server 'setup' completedsuccessfully.
Ambari Server setup is installed successfully,
Start ambari server
Ambari-serverstart
Access http: // 192.168.1.204: 8080/in a browser/
Enter the user name and password admin/admin
Go to the following page:
Advanced Repository Options only select the second item Red Hat 6 CentOS 6 Oracle Linux 6
Click Next
Enter the cluster host list
Copy all the content in/root/. ssh/id_rsa (private key of hadoop.master.com) to Host Registration Information.
Ssh user Default root
Click Register and Confirm to go To the actuator installation page.
After the installation is successful (you may need to retry multiple times during the installation process), go to the configuration page.
Configure hive original information
Configure OOZIE database information.
Configure Nagios administrator Information
Click Next To go to the service installation page.
After the installation is successful, the status of each service is displayed. If the installation is successful, the status is green. If the installation fails, the status is red.
You can use the interface to restart