|
I am trying to install Git on my lucid vpn, I followed this tutorial.
http://kris.me.uk/2010/09/30/git-repository-server-gitolite.html[^]
It worked until I run this command:
src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks
Which it outputs
bash: src/gl-system-install: No such file or directory
I can't find anything on it, it is my first time running gitolite anyone have any advice?
EDIT:
Found a directory gl-system-install
/home/git/src/gl-system-install
modified 3-Nov-12 22:25pm.
|
|
|
|
|
Member 8189522 wrote: Found a directory gl-system-install You need to search your directory tree for the executable (gl-system-install). Also you may like to check on the site where you downloaded this from to see if they have a support forum.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
See my answer to him... seems to me like he just missed the "log in as git user" step.
|
|
|
|
|
I did not bother to read the article, assuming any Linux user would understand about directory trees and search paths.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Your error seems to indicate you didn't follow the step that said... log in under your git account:
Quote: Log in as the git user:
If you had logged in under the git account... you would be in the home directory for that user... which is:
/home/git/
...therefore when you typed the command...
src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks
...you would already be in the git home directory... therefore the location src/gl-system-install would make sense... if you're ANYWHERE else in the system, the call will fail.
Edit: Going over the short article again... it seems to assume you've configured su to change you from your current directory to the home directory of the user you've logged in as. This isn't the default behavior of su. So you'll have to either log off and log back in to be in the right home directory or just cd into the right home directory (or change the default behavior of su).
|
|
|
|