Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

when I installed gitolite on my centos 5.4 ,I just found errors below. How to find a way to fix them?

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

share|improve this question

1 Answer 1

 error:bash: gitolite: command not found

Make sure that $HOME/bin is in your $PATH.
(See "How to add a directory to my path?")

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.