Install and configure ambari in linux (ubuntu14)

1. To install ambari, refer to the official website (https://cwiki.apache.org/confluence/display/AMBARI/Build+and+install+Ambari+2.4.0+from+Source).

2. Configuration (depends on mysql library)

      ambari-server: ambari-server setup

      Basically the next step.

      This relies on mysql and needs to install the mysql service and jdbc package.

      The specified library file needs to be imported.

      step:

              1. Install mysql-server (the username and password are both root)

               2. Install libmysql-java

             3. Login data mysql -u root -p   

                4. Enter the password root to log in to the database

               5. View the database list show databases;

               6. Create the database used by ambari server: create database ambari

               7. Import ambari’s database ddl file: source /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql;

               8. Create user CREATE USER 'ambari'@'localhost' IDENDIFIED BY 'bigdata'; 

           9. Authorization: GRANT ALL ON *.* TO 'ambari'@'localhost';

3、start ambari-server: start ambari-server

4. View from the browser: ambari service ip

Guess you like

Origin blog.csdn.net/yinzhiqing/article/details/52366527