Posts Tagged ‘linux’

i386 or x86_64 architecture?

Tuesday, January 24th, 2012 | Life, Tech

Wondering if you’re running i386 or x84_64? No problem, there is quick command which will return this information to you.

uname -i

Uncompress a .tar.gz file

Sunday, December 25th, 2011 | Life, Tech

Need to uncompress a .tar.gz file from the terminal? No problem.

tar xvzf filename.tar.gz

Installing Git on CentOS 4 cPanel

Sunday, December 25th, 2011 | Life, Tech

If you’re trying to install Git on CentOS with cPanel, you’ll probably be running into the problems where you can’t get hold the RPM because cPanel excludes all Perl modules. But that is a whole different problem to if you are running CentOS 4.

CentOS 4 doesn’t actually have the RPMs for Git at all. But luckily, it’s actually really easy to install on a cPanel server because cPanel should come will all the dependencies you need.

So, all you need to do is head over to the Git website, download the latest source (I tried it with v1.7.8.1) and compile it – no problems, no worries.

wget http://git-core.googlecode.com/files/git-1.7.8.1.tar.gz
tar xvzf git-1.7.8.1.tar.gz
cd git-1.7.8.1
./configure
make
make install

How many computer scientists…

Monday, December 22nd, 2008 | Tech

I love Windows. Windows XP is an amazing operating system. Vista was a bit of a disaster but then it was always going to be when it had to follow XP, possibly the best operating system ever in the history of computing.

If you’re thinking this is heading towards a Linux bashing blog post, you’d be right 😉 .

I mean seriously, all I want to do is play media. The kind of thing you can do fresh out of the box on any Windows install. Let’s ignore the fact I’ve been trying to get Ubuntu to play DVDs for years. Let’s just take a look at what happened on Saturday.

I brought up a computer to use as a media computer to play through the sound system so we could access all the music. Actually I bought two, an Ubuntu box and a Fedora box. Two distros, one of them must be able to play a simple MP3 file right?

Of course, given the nature of my writing, they couldn’t. What was really interesting though was not the fact that Linux can’t even play MP3s out of the box, but how hard it is to get Linux to play them. It took us three, count them, three, computer scientists sat round for an hour to get them playing. So you can’t even use the excuse “oh it’s just you Chris” because there were three of us trying to work this one out.

We managed to get it working in the end, albeit it not very well though I’m not sure if that was Fedora’s fault or not so I’m not holding it accountable for that one. But there you go, XP for the win.

Integrating SVN with Apache

Sunday, July 6th, 2008 | Life, Tech

If you want to allow access to SVN via Apache, it’s actually nice and easy to install and configure it on a blank system. First, install Apache.

yum install httpd httpd-devel httpd-manual

Next, install Subversion.

yum install subversion

Now we need to bridge he two.

yum install mod_dav_svn

Once you have done this, we have everything we need. So we can go ahead and edit the Subversion configuration to add the Subversion directory to Apache.

vim subversion.conf

Finally, start and reload Apache, then go about creating your SVN repository.