环境:centos 6.6 x64 (学习用3节点)
软件:jdk 1.7 + hadoop 2.7.3 + hive 2.1.1
1、安装必要工具
yum -y install openssh wget curl tree screen nano lftp htop mysql-client mysql-server
2、使用163的yum源:
cd /etc/yum.repo.d/ wget http://mirrors.163.com/.help/CentOS7-Base-163.repo #备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup mv CentOS7-Base-163.repo CentOS-Base.repo #生成缓存 yum clean all yum makecache