- Install gitolite:
sudo apt-get install git git-core python-setuptools gitolite
- Add the gitolite user (this is the user that will host the git repositories and control access):
sudo useradd gitolite
- As the user who will be administrating the set-up (i.e. someone OTHER than the gitolite user), create a set of ssh keys and move them to where the gitolite user can access them:
ssh-keygencp ~/.ssh/id_rsa.pub /tmp/admin.pub
- Switch to the gitolite user:
sudo su - gitolite
- Run the set-up command:
gl-setup /tmp/admin.pub
- As the user who will be administrating the set-up, clone the repository
git clone gitolite@[ip address]:gitolite-admin.git
This blog is a knowledge dump of all the technical information floating around in my head. It deals with anything involving software, hardware, gadgets, and technology.
Nov 4, 2013
Debian: Installing gitolite
Tried setting up gitolite in Debian following my earlier guide with CentOS, but it didn't work out as well because there were a few steps missing (Debian doesn't create the gitolite user automatically). These are the modified steps:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for contributing!! Try to keep on topic and please avoid flame wars!!