Hello, I'm... Carmelyne
I'm a web developer with strong information architecture skills & ability to design simple & engaging user interfaces.
January 18, 2009 by carmelyne
My slice is a little old so it's running on the following stack primarily for rails:
That's a simple rails stack to run this blog on Mephisto 0.7.3.
As I was doing search for ways to set up git on Ubuntu Dapper, not very many came up, and most of them were for Ubuntu Intrepid. I found Installing git on your slicehost and managing it with gitosis as the closest candidate but it required Gitosis that required some Python dependencies. Clearly, I don't need another layer nor more dependencies just to set up git on my slice. Then a recommendation on the comment came up: Setting up a Git Server which is exactly what I was looking for. Then the latter blog post fell short of describing the necessary steps to install Git on Ubuntu Dapper.
Then I tried using the former blog post commands to install git:
The command above to build the dependencies for git-core just gave me 404s or "obsoletes" and that's most likely due to Dapper being a really old version. I've even updated my etc/apt/source/list. No such luck. It would just throw out:
Bad bad evil archive, I say.
That's where this post comes in so here we go:
If an error pops in while you're doing install git-core just apt-get install the missing little sucker dependencies individually and I think I ran onto 1 or two of them.
After you've successfully installed Git, run:
git --version
It should atleast say "git version 1.5.4.5". Ok, yay!
While logged in as a sudoer, create a new user and add the password.
sudo adduser git
Log out and log in as git.
While you're still logged in as a git user do:
Let's do out first commit:
Great! That's all we need as an alternative for a remote Git on your own slice.
On a side note, when the time comes, I will most likely do a clean install for the most recent Ubuntu on my slice and start over a Rails stack at which point I'd have to figure out how to move my Git remotes or how to handle that part. I'm sure it's not going to be a difficult. Cross fingers.
Comments powered by Disqus