%204.0%20%E4%BC%BA%E6%9C%8D%E5%99%A8%E4%B8%8A%E5%AE%89%E8%A3%9D%20Git.png)
我正在嘗試在我的電腦上安裝 Git媒體聖殿(dv)4.0伺服器。
我已經關注了這些說明。它似乎已經“安裝”了,因為目錄中有大量文件/root/git-2012-06-06
。
但是,當我在伺服器中執行任何 git 命令時,我會收到以下訊息:
git: command not found
我的假設是某個地方的某些東西沒有正確配置,但我不知道從哪裡開始。有人可以幫忙/提供一些指示嗎?
我確實執行了make install
.
的輸出which git
是/usr/bin/which: no git in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/root/bin)
的輸出echo $PATH
是/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/root/bin
/usr/local/bin
包含:
ftpcount
ftptop
git
gitk
git-shell
git-upload-pack
ftpdctl
ftpwho
git-cvsserver
git-receive-pack
git-upload-archive
prxs