Make stuff to do things

Subscribe (?) Subscribe to RSS

Posts Tagged ‘chunkhost’

Installing Git on ChunckHost

Published on July 23rd, 2009 in Comments

Igor pointed me to ChunkHost’s free Beta recently, so I signed up.

First and foremost, I have no known affiliation with any related to ChunkHost.

Secondly, my first impression of ChunckHost was great – the signup and automation was completely fluid.  It was very easy to signup and receive root to a freshly minted Ubuntu 8.04.  All I had to do was put in my account information and then click sign-up  and root was emailed to me within minutes. +1 ChunkHost.

I decided to write this blog partly about them. One reason is because of the swift and smooth customer experience. The other reason is because my steps to install git might be different than yours because of the vendors Virtual machine.

The first thing I wanted to do as I christen the server was to install git from source. These are the steps I did to complete that task:

Getting Git

1
root@roder:~# apt-get update
1
2
3
4
5
6
7
8
9
root@roder:~# apt-get upgrade

root@roder:~# apt-get install build-essential

root@roder:~# apt-get install wget

root@roder:~# wget http://kernel.org/pub/software/scm/git/git-1.6.3.3.tar.bz2

root@roder:~# tar -xjf git-1.6.3.3.tar.bz2
1
root@roder:~# cd git-1.6.3.3/

Now I have the latest source it’s time to compile it.

Make

1
root@roder:~/git-1.6.3.3# ./configure
1
 
1
root@roder:~/git-1.6.3.3# ./make

At this point I had an issue where I received this error:

1
'Z_DEFAULT_COMPRESSION' undeclared here (not in a function)

I realized after reading a forum thread I figured I needed to do this:

1
root@roder:~/git-1.6.3.3# apt-get build-deps git-core

For good measure, I built openssl after reading through of that thread.

1
root@roder:~/git-1.6.3.3# apt-get install openssl

Then I was able to make

1
root@roder:~/git-1.6.3.3# make && make install

Success.  If you have questions or tips, please post them. I hope this helps!

Switch to our mobile site