# backup server part
yum install git git-daemon gitolite -y
# Copy your public ssh-key to /tmp and allow gitolite to read it
cp ~/.ssh/id_rsa.pub /tmp/root.pub && chmod 644 /tmp/root.pub
sudo -u gitolite -i
gl-setup /tmp/root.pub
nano -w /var/lib/gitolite/.gitolite.rc
--- MODIFY ---
$GL_WILDREPOS = 1;
$REPO_UMASK = 0027;
--- MODIFY ---
chmod g+r /var/lib/gitolite/projects.list
chmod g+rx /var/lib/gitolite/repositories
# as root
exit
usermod -a -G gitolite apache
nano -w /etc/xinetd.d/git
--- MODIFY ---
disable = no
group = gitolite
server_args = --base-path=/var/lib/gitolite/repositories --syslog --inetd --verbose
--- MODIFY ---