Uncompress a .tar.gz file
Need to uncompress a .tar.gz file from the terminal? No problem.
tar xvzf filename.tar.gz
Need to uncompress a .tar.gz file from the terminal? No problem.
tar xvzf filename.tar.gz
Need to uncompress a .tar.gz file from the terminal? No problem.
tar xvzf filename.tar.gz
Hello everyone! I just wanted to post a quick update on what the status of the site was now.
We first acquired Hardware Tutorials back in 2005, but since then there hasn’t been much content added to it – and indeed the content that was posted back then wasn’t exactly amazing quality. But for prosperity sake, we have kept it.
Never the less, it has always been an ambition to develop the site further and one thing I constantly find myself doing at work is googling for solutions to problems, usually when I’m trying to install something, usually on CentOS. Though that isn’t to say I don’t have my fair share of problems dealing with OS X, Windows 7 and Fedora too.
Rather than just leaving the solutions I eventually find for these problems, Hardware Tutorials seems a reasonably appropriate place to post such solutions – a lot of it isn’t strictly hardware, but as I said in my opening post six years ago, we would almost certainly be straying from that criteria anyway.
So please enjoy the new and updated Hardware Tutorials. Hopefully, you will be seeing a lot more regularly updated content from now on.
Following on from my previous post about installing Git on CentOS 4, CentOS 5 is a whole different story. This is because you actually can get the RPM for Git on Cent OS – but cPanel doesn’t make it quite easy enough to do it.
You see, cPanel likes to take control of a lot of it’s own stuff, so it has a long list of packages which it won’t update automatically, because it will end up breaking itself if it does. As Git has two dependencies from the Perl libraries, this causes a problem.
But we can easily fix that.
cd /etc/ vim yum.conf
Remove perl* from the exclude line, then save the file. Now you should be able to run the command.
yum install git
It will gather all the dependencies and install Git. Final step, go back into the YUM configuration and put the exclude pack in to protect cPanel from its malevolent self.
vim yum.conf
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
That’s right, I said it. I’m an atheist, and I used the word Christmas. I know, I know, I’m crazy, I’m on the edge, etc, etc. A lot of non-believers don’t like using the word because they think it has too many Christian connotations. But I really don’t have a problem with it.
Why? I guess for the same reason that Reclaim the Night started. I don’t think we should give up the word so easy. Because it’s nonsense that the origins of the holiday season lie in Christianity, we all know it’s nonsense and it really doesn’t bother me that people are occasionally misguided about this, but even if they were, it would only inspire me to explain to them the truth.
Of course, Christians genuinely are celebrating the birth of Jesus, but the rest of us aren’t. Any suggestion we were could equally be rebuked by the argument that actually, Christians are celebrating Paganism just as much. So I don’t even get drawn into the debate these days. For me, as a Humanist, the holiday season is another arbitrary point to celebrate life. family and friendships. But as all holidays are essentially arbitrary these days, it doesn’t make it any less special.
Last Monday saw the end of the 2011 Holiday Food Drive. We packed all the donations into boxes, used the money donated to buy even more, and delivered it all to a local homeless shelter. Thanks to everyone who made a donation or helped out on the day!
Eight years ago, I was outgrowing my current hosting package, and needed to find pastures new. So I headed over to a web hosting forum and found a post about a company named Real Value Hosting. They seemed to have everything I needed, and a reasonable price, so I decided to give them a go and sign up.
Little did I know at the time, but I was actually their second customer to sign up!
Eight years later and I’m still a happy customer. There have been a few glitches over the years as you would expect with any host, but overall I am more than satisfied and their support response times have always been reasonably quick and consistent, which is probably the biggest concern when selecting a hosting company.
As I’ve now migrated my entire online portfolio onto the LAMP stack, I’ve recently retired my reseller account with them, but I would highly recommend it to those looking for a Windows hosting provider.
Recently, I wrote about a theory that had been put to me, suggesting that we should align the age of sexual consent and the age of voting. I founded it difficult to come up with arguments to refute it.
But there is a problem. If you just put the age of sexual consent up to 18, kids will probably just have sex anyway. It’s not like people really pay that much attention to the law as it is. Indeed, some people make the argument that the age of sexual consent should be lowered.
Of course, that isn’t necessarily an issue. Maybe you just lower the age of voting to 14 as well, but then we would probably all agree that that would be pretty crazy. Still, once you agree that people can do more harm with sexual activity than they can with voting, how can you argue that the age of consent should be lower than the age of voting?
So, what are we do to then? Do we just live with the contradiction that it doesn’t make sense to have a higher age of voting than sexual consent, except it doesn’t make sense and settle with a logically inconsistent but ultimately pragmatic approach? Maybe that in itself is logical justification? I’ll throw it open to the floor…
One question I often get asked when discussing religion with Christians is “you do accept Jesus as a historical figure, right?”
The argument goes along the lines of this:
But do I accept Jesus as a historical figure? No, I don’t. Actually, more accurately, I don’t accept that the question really makes sense. I mean, what exactly are you asking me?
For example, I do accept that there was someone called Jesus. But that is misleading. I believe there were lots of people called Jesus. It’s a nonsense question. It’s like saying “do you believe in John?” in this day and age. Well, of course I believe there was someone called John, I know lots of Johns, it’s a very common name.
What you need to ask for the question to make sense is, “do you believe in this specific John?” And when it comes to Jesus, if you’re asking me “do you believe in Jesus, the son of God”, the answer is of course, no, I’m an atheist, so I don’t believe in a god and therefore I didn’t believe he had a son.
I recently washed a Channel 4 documentary on Julian Assange and WikiLeaks. While I had heard all about the exposing of the Iraq War Logs and a lot of the surrounding fall out, I was somewhat shocked at some of the footage shown in the documentary. I wondered how many other people had seen it, so I thought I would post the YouTube on here.