1. namenode和datanode
yum –y install createrepo
2.
3.
4. ----(top)
5.
6.
7.
8.
9.
[ambari]
name=ambari
baseurl=http://192.168.5.128/ambari
enable=1
gpgcheck=0
10. 克隆会话:
11. 验证是否启动。网页192.168.93.88
12.
13.
14. 去datanode验证是否复制过去
15.
16.
yum -y install MySQL-devel-5.6.21-1.el6.x86_64.rpm
yum -y install MySQL-client-5.6.21-1.el6.x86_64.rpm
yum -y install MySQL-server-5.6.21-1.el6.x86_64.rpm
yum -y install MySQL-shared*
yum -y install MySQL-embedded-5.6.21-1.el6.x86_64.rpm
yum -y install MySQL-test-5.6.21-1.el6.x86_64.rpm
17. service mysql restart
18.
19.
20.
Create database ambari;
Create database hive;
Create database oozie;
grant all privileges on ambari.* to 'ambari'@'%' identifiedby 'ambari';
grant all privileges on hive.* to 'hive'@'%' identified by'hive';
grant all privileges on oozie.* to 'oozie'@'%' identifiedby 'oozie';
flush privileges;
21. 克隆会话:
22. 克隆会话:
23. 克隆会话
24. 克隆会话
25. 克克隆会话
克克隆会话
26.
Y
27. 克隆会话
35克隆会话
ambari-server setup --jdbc-db=mysql
--jdbc-driver=/usr/lib/ambari-server/mysql-connector-java-5.1.38-bin.jar
36. 浏览器:192.168.93.88:8080
37.
echo never >/sys/kernel/mm/redhat_transparent_hugepage/enabled
38.
克隆
Yum upgrade openssl两个都要升级
其他版本一样