Created
December 12, 2017 18:24
-
-
Save geoHeil/2d0f29ef2bcb9ba99b4213d5ba2985d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connect to utility node | |
hostname -f | |
# output: c | |
sudo vi /etc/ambari-agent/conf/ambari-agent.ini | |
# configure hostname=ip-172-31-25-199.eu-west-1.compute.internal | |
# reload / restart | |
systemctl restart ambari-agent | |
systemctl status ambari-agent | |
systemctl start ambari-agent | |
yum -y reinstall ambari-agent | |
yum -y install ambari-server | |
hostname-f | |
mysql -uambari -pambari -h ip-172-31-25-199.eu-west-1.compute.internal ambari | |
mysql -uambari -pambari -h ip-172-31-25-199.eu-west-1.compute.internal ambari < /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql | |
ambari-server setup | |
ambari-server | |
ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment