使用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

更多推荐