使用Git远程获取代码
git clone https://github.com/Datatamer/hadoop_exporter出现报错:“fatal: Unable to find remote helper for ‘https’”,主要原因是git安装后没有安装完全,需要重装.可暂时使用git代替https。
git clone git://github.com/Datatamer/hadoop_exporter重装介绍 切换到git目录
cd git-2.2.1一般使用使用root用户,按照install说明设置安装前缀
$ make prefix=/usr all doc info ;# as yourself
# make prefix=/usr install install-doc install-html install-info ;# as root然后执行make install
# make install