"gitolite setup -pk banruosheng.pub" schlug fehl, als ich es auf centos 5.4 32 installiere

969
banruosheng

als ich gitolite auf meinem centos 5.4 installierte, fand ich unten einfach fehler. Wie finde ich einen Weg, um sie zu reparieren?

wget http://mirror.esc7.net/pub/OpenBSD/OpenSSH/portable/openssh-5.8p1.tar.gz tar -xvzf openssh-5.8p1.tar.gz cd openssh-5.8p1 ./configure --prefix=/usr make sudo make install useradd git -g git su git mkdir .ssh git clone git://github.com/sitaramc/gitolite mkdir -p $HOME/bin gitolite/install -to $HOME/bin vi banruosheng.pub gitolite setup -pk banruosheng.pub error:bash: gitolite: command not found bin/gitolite setup -pk banruosheng.pub FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2013-03.log: 没有那个文件或目录 FATAL: die 'banruosheng.pub' does not seem to be a valid ssh pubkey file  ``` 
1

1 Antwort auf die Frage

0
VonC
 error:bash: gitolite: command not found 

Stellen Sie sicher, dass $HOME/binin Ihrem $PATH.
(Siehe " Wie füge ich ein Verzeichnis zu meinem Pfad hinzu? ")