因为要安装ganglia,监控hadoop和hbase集群,先安装EPEL。
1.首先检查系统是否安装epel-release:
rpm -q epel-release
package epel-release is not installed
2.如果没有安装,则install:
[root@flc ~]# sudo rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Notice:
64位:http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@flc ~]# rpm -q epel-release
epel-release-6-8.noarch
3 sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6