基础环境:linux centos7.2
1、cloudera manager下载地址:
http://archive-primary.cloudera.com/cm5/cm/5/cloudera-manager-centos7-cm5.14.0_x86_64.tar.gz
2、cdh5.14.0 下载地址:
http://archive.cloudera.com/cdh5/parcels/5.14.0/CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel
http://archive.cloudera.com/cdh5/parcels/5.14.0/CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel.sha1
http://archive.cloudera.com/cdh5/parcels/5.14.0/manifest.json
3、JDK下载地址:
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
4、修改主机名:修改/etc/sysconfig/network文件
NETWORKING=yes
HOSTNAME=node1
改好后执行: service network restart生效
5、修hosts文件
#vi /etc/hosts
192.168.10.250 node1 192.168.10.212 node2 192.168.10.213 node3
6、修改主机名
vi /etc/hostname
node1
重启服务器 sudo reboot
7、免密码登录参照:
https://www.cnblogs.com/zhanggl/p/5704020.html
8、安装jdk
- tar -xvf jdk*.tar.gz -C /usr/java/
- ln -s /usr/java/jdk* /usr/java/default
- 配置环境变量/etc/profile,增加一下两行
export JAVA_HOME=/usr/java/default
export PATH=$PATH:$JAVA_HOME/bin
9、安装mysql
9.1 安装mysql
9.2 安装mysql客户端:所有客户端都需要执行这个操作yum install mysql
在mysql服务端远程授权: grant all privileges on *.* to 'root'@'ip' identified by 'password';