From Alpine Linux
Jump to: navigation, search

Manual Setup

The installation of Gitolite is relatively easy on Alpine Linux. Below is the method to install Gitolite on a user account.

  1. Log into root user
  2. apk add perl bash git nano

  3. adduser -s /bin/bash -S git

  4. su - git

  5. On your local machine make a ssh key

    ssh-keygen -t

  6. Next, run

    scp ~/.ssh/

    on your local machine
  7. On the remote machine type

    git clone git://

  8. gitolite/src/gl-system-install

  9. You will receive an error message. To fix this, add the path it gives you in a new file called .bash_profile.
  10. nano /home/git/.bash_profile

  11. Add the line and save - Ctrl+X.
  12. Logout and then log back into the git user
  13. gl-setup

  14. On your local machine you can now

    git clone

  15. On your local machine you can now edit your config files, commit them, and push them back to the server.

I'm a brand new Alpine user and was able to get it working using the above instructions. Hope this will help someone else!