- install mariaDB
- http://mungeol-heo.blogspot.kr/2015/07/mariadb.html
- mysql-connector-java
- yum -y install mysql-connector-java
- use latest version if "option sql_select_limit=default" error occurs
- cd /usr/share
- mkdir java
- cd java
- wget http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.36.zip
- unzip mysql-connector-java-5.1.36.zip
- cp mysql-connector-java-5.1.36/mysql-connector-java-5.1.36-bin.jar .
- ln -s mysql-connector-java-5.1.36-bin.jar mysql-connector-java.jar
- use latest version if "option sql_select_limit=default" error occurs
- ls /usr/share/java/mysql-connector-java.jar
- chmod 644 /usr/share/java/mysql-connector-java.jar (option)
- yum -y install mysql-connector-java
- wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
- yum -y install ambari-server
- service postgresql stop
- RDB setting
- mysql -u root -p
- CREATE USER 'ambari'@'%' IDENTIFIED BY 'bigdata';
- GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'%';
- CREATE USER 'ambari'@'localhost' IDENTIFIED BY 'bigdata';
- GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'localhost';
- CREATE USER 'ambari'@'bigdata-dev01.co.kr' IDENTIFIED BY 'bigdata';
- GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'bigdata-dev01.co.kr';
- FLUSH PRIVILEGES;
- mysql -u ambari -p
- CREATE DATABASE ambari;
- USE ambari;
- SOURCE /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql;
- ambari-server setup
- Select y at Enter advanced database configuration
- enter 3 (mysql)
- select default values for all left
- ambari-server start
Monday, November 30, 2015
Install ambari 2.1.0 using non-default databases (HDP)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.