vi /etc/hosts
57 vi /etc/sysconfig/network
58 hostname ambari
59 cd /etc/yum.repos.d/
60 wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.1.2/ambari.repo
61 yum install ambari-server -y
62 yum install mysql mysql-server
63 /etc/init.d/mysqld start
64 mysql_secure_installation
65 mysql -uroot -p000000
mysql> create database ambari;
mysql> grant all privileges on ambari.* to ‘ambari‘@‘localhost‘ identified by ‘000000‘;
mysql> grant all privileges on ambari.* to ‘ambari‘@‘%‘ identified by ‘000000‘;
mysql> use ambari;
mysql> source /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql
mysql> exit
69 yum install -y mysql-connector-java
70 ambari-server setup
71 ambari-server start
本文出自 “我的成长笔记” 博客,请务必保留此出处http://yugonghistory.blog.51cto.com/10690582/1859566
原文地址:http://yugonghistory.blog.51cto.com/10690582/1859566