Support / KnowledgeBase

 
Search the KnowledgeBase Search

Installing Git on a (dv) 3.5 server

 

Git is an open source version control system designed to handle very large projects with speed and efficiency, but just as well suited for small personal repositories. It is especially popular in the the open-source community, serving as a development platform for large projects, such as the Linux Kernel, WINE or X.org.

INFO:

There is a great Google TechTalk video of Git available here for your enjoyment.


NOTE:

This article has the following dependencies:

  • If you currently do not have your root user enabled or our Developer Tools installed please visit the Root Access & Developer Tools section of your AccountCenter.
  • Whenever installing Third-Party software please consult the official documentation. (mt) Media Temple does not support the installation and configuration of software not installed at time of service activation. Please consult our (dv) Scope of Support page for further explanation.
  • mt-example.com is used as an example. Please be sure to replace this text with the proper information for your site or server.

  1. Log into your (dv) 3.5 Dedicated-Virtual Server as root using via ssh:
     ssh root@mt-example.com
  2. Once logged in you will need to install python-iniparse, an INI parser for the Python language:
    rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
  3. Install YUM, the package management system for the CentOS 5 operating system
  4. Next install the EPEL rpm:
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
    
  5. Now it's time to actually install Git using yum:

    NOTE:

    During this part of the installation you will be prompted with several Is this ok [y/N]: prompts. Just enter a y and press return and the installation will continue.

    yum install git
    

Congratulations. You now have Git installed on your (dv) server. Please consult the official website for Git at http://git.or.cz/ for further information.

Revisions:

07-07-2009: Updated version number for EPEL
02-26-2009
: Added link to the yum KB
12-12-2008: added dependency step and updated yum version, based on (mt) forum thread.  Thanks skorecky!!

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue