Install Git on CentOS and Host on Apache

Install git from the yum repository

If you have error regarding GPG KEYS then please check my answer on StackOverflow.com

Install git from the yum repository

Configure Git and Init bare repository

Apache Virtual Host directive

Restart Apache

Read More

3 thoughts on “Install Git on CentOS and Host on Apache

  1. Do you know why I am getting the following error messages?

    Permission denied: exec of ‘/mnt/raid14/www/git/website2/info/refs’ failed
    Premature end of script headers: refs

    Thanks,
    Peter

  2. Hello Peter,

    Seems like you don’t have permission to execute on mounted RAID drive.

    /mnt/raid14/* => Mounted Remote Storage RAID14

    I guess, you should contact your server admin or hosting company.

    Best,
    Gaurang

  3. Nevermind, I’m going to use Git Smart HTTP instead of webDAV.

    Thanks,
    Peter

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.