CentOS

Install Git on Hostgator shared hosting

After hearing my colleagues talking today about how cheap the VPS got in the last few years, I almost convinced myself that I have to switch. But I've decided to give my old shared hosting package from Hostgator another try. Buying a VPS package only to install Git is not the smartest thing to do, as you can get better and cheaper services from source code hosting providers like github.com or bitbucket.org.

AttachmentSize
git-1.6.4.4.tar_.gz9.18 MB

Install Git from source on CentOS 5.x

The simplest way to install Git is from the EPEL repository. You can add the EPEL repository by following my previous post on this subject: Adding the EPEL repository to CentOS 5.x.

But if you need, for some reason, to install Git from source, then you'll have to follow these instructions

Adding the EPEL repository to CentOS 5.x

What is EPEL

EPEL (Extra Packages for Enterprise Linux) is a community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux. EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions.

CentOS 5.x NetInstall

Installing CentOS 5.x using the NetInstall method is the easiest way to get the system you need without going through the pain of downloading 8 CDs or a full DVD.

In this article I won't go through all the steps of installing CentOS, because there are plenty of good tutorials on the net. I will highlight only the steps I've found more interesting for this kind of installation.

Download the CentOS 5.x NetInstall ISO

    Select the right mirror for you: