Git repository access control with Gitolite

I already used other version control software like CVS and SVN in the past, but Git was one that really got me because I just felt it easy and intuitive.

Besides having a GitHub account I really don’t see the point of paying US$7/month just to have private repositories when you can roll your own VPS for less than that. Obviously, you can install something more similar to GitHub like GitLab, but, in my opinion, Gitolite is easy to use, fast and works; Keep it simple, sucker!

So, I will give the steps to install and configure on Ubuntu Server 16.04. On other distros the paths and steps may differ.

First of all, you should check existing SSH keys or generate a new set on your machine. (To be honest, if you are already using git you should have your keys)

#to check:
ls -al ~/.ssh
#to generate(linux/mac):
ssh-keygen -t rsa

On Windows machines I advise you to install cygwin with net/openssh package. I prefer that way, but you can try with other methods.

Back to our server, now we should install gitolite3 and git-core:

sudo apt-get install git-core gitolite3

Insert your public key configure gitolite. On older versions you need to create a user and run the setup by yourself, keep that in mind if you are using other distro.

Now you can ssh the gitolite user to list the repositories:


You can add some rules and keys cloning the gitolite-admin repository.

git clone

You can now add pub keys for other users(or machines) creating files in the keydir directory. For multiple machines you should use the name convention, like On the conf/gitolite.conf file you can add users and repositories.

Checkout the official documentation. Apart from being a non resource-intensive, gitolite is a rich and powerful software that you can make use of RegEx, groups, hooks, VREF, wild repos and much more.

Micromenu for Dingux

Back in 2009, some handheld gaming consoles started to show up (like GP2x, Pandora, Caanoo). But what really got my attention was when I read that someone booboo successfully compiled a Kernel and did dual boot on Dingoo-A320.

While not being a great C/C++ programmer I got excited to get involved with the community and tried to improve the things as I can. I started making some ShellScripts for some friends and one of them came up with the fact that the front-end that we used keep the RAM stuck after an application was launched.

I started a simple and customization selector in ShellScript for the limited input of Dingux. When I finished and published the script on the community forums everyone reported improvements in performance.

Feel free to check the code at my github: micromenu

Hello… world!?


Let me introduce myself: I am a 27-year-old web developer, basically in touch with computers and programming languages since I was just 5. Some of my hobbies include Electronics, D.I.Y., Old-school PC/Video games and playing musical instruments.

So… I already had blogs before, but for some reason I couldn’t keep them as I was always unsatisfied with whatever I wrote. In fact, with a lot of my projects I end up unhappy and never finish some of them.

In order to change that I am starting this blog to log my personal projects, to improve how I express myself and to practice writing in English on a regular basis.