Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git server set up issue

Tags:

git

ubuntu

I was setting up my gitserver on a lucid VPS following this tutorial http://kris.me.uk/2010/09/30/git-repository-server-gitolite.html

It worked up until this line:

    src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks

I got this in the output:

    bash: src/gl-system-install: No such file or directory

This is my first time setting up a git server so I am a bit lost, I googled the problem but nothing I could find makes sense. I appreciate the help guys!

like image 608
Kyle Sponable Avatar asked Dec 04 '25 16:12

Kyle Sponable


1 Answers

gl-system-install is a Gitolite command, and Gitolite has moved to V3 (or 'g3').
In V3, gl-system-install doesn't exist, is now called gitolite (and gitolite-shell)

gitolite/install -to $HOME/bin
gitolite setup -pk YourName.pub

See the Gitolite installation page for an updated setup procedure.

"Installation" consists of the following options:

  1. Keep the sources anywhere and use the full path to run the gitolite command.
  2. Keep the sources anywhere and symlink just the gitolite program to some directory on your $PATH.
  3. Copy the sources somewhere and use that path to run the gitolite command.

Option 2 is the best for general use.

# option 2
gitolite/install -ln
# defaults to $HOME/bin (which is assumed to exist)
#   ** or **
# or use a specific directory (please supply full path):
gitolite/install -ln /usr/local/bin
like image 172
VonC Avatar answered Dec 07 '25 07:12

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!