Gitolite is a free, open-source software that helps in hosting Git repositories, providing access control and administration across them. This tutorial covers the installation of Gitolite on Void Linux.
sudo xbps-install -S
sudo xbps-install gitolite
gituser
):sudo su - gituser
git clone git://github.com/sitaramc/gitolite.git
cd gitolite
./install -ln
This will install Gitolite to a local bin directory, link it to /usr/bin and create the necessary ssh keys.
./gl-setup -q your_username.pub
Note that your_username.pub
is the name of your public SSH key file stored in /root/.ssh/
.
Your admin user, "your_username", has been created
.Now the Gitolite admin user has been configured, and you can proceed to creating and managing Git repositories.
Gitolite is now successfully installed on your Void Linux system, and you can start using it for your Git repositories.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!