wget http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.2.4.9/ambari.repo cp ambari.repo /etc/yum.repos.d/ambari.repo
安装数据源