Posts Tagged ‘Slice’

Redmine and git running

February 9, 2009  |  Coding  |  Comments Off

Finally have redmine running at projects and a git(osis) set-up.

Nearly there! I’m a tiny bit worried about memory usage now – Definitely eating into swap. The two mongrel instances I’m running appear to be the worst offenders, but the more I read it might be mysql and InnoDb usage – Although top begs to differ. Ho hum, given that this set-up will allow me to replace my off-site svn repository the $/£ savings would allow me to go up to a 512MB slice.

git on a non standard ssh port – finally resolved

February 5, 2009  |  Coding  |  1 Comment

Another few hours of head-banging – All my own fault though. So I’m setting up gitosis, all went well up to the point of cloning the gitosis admin repository on my local machine – The command failed with a “connection closed by remote host error”. After yesterday and my run in with scp I quickly spotted it was trying to use ssh port 22 – I have moved my port.

Searching was helpful, basically you just add a “~/.ssh/config” file and specify the host and new port. What none of the text said was this should be on your local machine not on the server! Another duh for me. Eventually I twigged. Ssh is fine now, but I’m getting permission errors, should be easier to fix…And they were.

Again, read the documentation! The gitosis install appended a new ssh key – Just removed the old one. This makes the user effectively for git development and I can’t ssh in – Which is fine and makes some sense.

Off to find a git browser – cgit looks good…

scp sensitive to port argument parameters

February 3, 2009  |  Rant  |  Comments Off

At some point during setting up the slice I failed to scp into it. At the time I survived, using wget etc. This evening I returned to the issue.  Well after nearly 2 hours of completely wasted searching I eventually got to the bottom of the problem (under Ubuntu Hardy if it helps). Basically, I had moved my ssh port and needed to specify the new address, I was using something along the lines of:
scp foo.txt -P 123 me@xxx.yy.zzz.aaa:/home/me

Eventually after examining the iptables log (in detail) I realised that the port wasn’t coming through, it was defaulting to 22 (the normal port for ssh), so I tried:

scp -P 123 foo.txt me@xxx.yy.zzz.aaa:/home/me

It worked. Great! Well I feel pleased I solved it, but the scp help file or program could have hinted that the ordering of parameters was an issue. Maybe I’m dumb (highly likely = returning to Linux after a long time)

What next: Redmine and Git?

December 13, 2008  |  Coding  |  3 Comments

With the slice running (still think my nginx set-up needs some tweaks). I want to start using it to host an SCM and provide some form of front-end for tracking progress etc.

Initially I thought SVN and Trac, after some hunting about I think I may go for Redmine and Git

The main issue with this is Git. As I switch between Windows and Linux I need an SCM that is equally happy under either, as I write Git on Windows is less than mature (although I think cygwin will handle it).

Will play and report back.

Finally!

November 20, 2008  |  General  |  3 Comments

Its taken me some time, but eventually I have a blog on my slice running! I suspect that my php settings are slightly wonky with respect to nginx and I need to sort out permalinks. Still this is a monumental step forward!