Overview
Good news! Git is already installed on the Grid. Please click here for basic usage instructions.
Overview
CAUTION:
To proceed with installing Git, you must first install the DV Developer Tools on your Server.
Before proceeding:
1. Make a back-up.
2. Be comfortable with the idea that there is always a possibility that you will need to re-install and/or revert to that backup data.
3. Follow our guide on Installing Developer Tools
Git is a distributed revision control system with an emphasis on speed. This article shows you the basics of installing Git on your DV 4.0.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
CloudTech Can Help!
If you're having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can install Git on your server in no time. For more information on what CloudTech can do for you, please click here.
Preparation
To install Git, you'll need to use the YUM package manager. It should be on all new DV servers by default. You can test if you have YUM on your server by logging in via SSH and typing the following:
yum
If you receive a "command not found" error for some reason, you'll need to install YUM. Click here for more information about that. If YUM is installed, the next step is to install its dependencies like so:
yum install zlib-devel
yum install openssl-devel
yum install perl
yum install cpio
yum install expat-devel
yum install gettext-devel
Installing Git
Once those packages complete installing, you can move on to installing Git. First, you'll need to grab the source files using wget.
NOTE: Always make sure to download the latest version of the software.
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz
Next, untar and decompress the archive you downloaded.
tar xf git-latest.tar.xz
Move into the folder containing the source code.
cd git-{date}
Run the automatic configuration.
autoconf
Use the "configure" script to prepare the software for building.
./configure
Use "make" to compile/build the software.
make
Now install the software on your system.
make install
Additional Resources
Overview
CAUTION:
To proceed with installing Git, you must first install the DV Developer Tools on your Server.
Before proceeding:
1. Make a back-up.
2. Be comfortable with the idea that there is always a possibility that you will need to re-install and/or revert to that backup data.
3. Follow our guide on Installing Developer Tools
Git is a distributed revision control system with an emphasis on speed. This article shows you the basics of installing Git on your DV.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
CloudTech Can Help!
If you're having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can install Git on your server in no time. For more information on what CloudTech can do for you, please click here.
Preparation
To install Git, you'll need to use the YUM package manager. It should be on all new DV servers by default. You can test if you have YUM on your server by logging in via SSH and typing the following:
yum
If you receive a "command not found" error for some reason, you'll need to install YUM. Click here for more information about that. If YUM is installed, the next step is to install its dependencies like so:
yum install zlib-devel yum install openssl-devel yum install perl yum install cpio yum install expat-devel yum install gettext-devel
Installing Git
Once those packages complete installing, you can move on to installing Git. First, you'll need to grab the source files using "wget".
NOTE: Always make sure to download the latest version of the software.
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
Next, untar and decompress the archive you downloaded.
tar xzvf git-latest.tar.gz
Move into the folder containing the source code.
cd git-{date}
Run the automatic configuration.
autoconf
Use the "configure" script to prepare the software for building.
./configure
Use "make" to compile/build the software.
make
Now install the software on your system.
make install