开发者

Trouble with Gitolite installation on CentOS 5.6

I followed the official documentation guide on how to install Gitolite to create my own repository on a brand new CentOS server.

When I get to the part where I must put the following command:

gl-setup myPublicKey.pub

I get a command not found warning on terminal.

Somehow I need to put an alias or symbolic link to the $HOME/bin/gl-setu开发者_运维技巧p, but I don't know how to do that.

Does anybody know how to help me?

Thanks!


You can probably just add "$HOME/bin" to your PATH.

Edit your $HOME/.bash_profile and append the line:

PATH=$PATH:$HOME/bin ; export PATH 

to the end of it (I'm guessing that you're using the default bash shell). Source the file (or logout-login) and you should be good to go.


Use the gl-easy-setup from the client side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜