Upgrading Apache httpd on RHEL and CentOS
November 24, 2006 by Jason · 61 Comments
By popular request, I've decided to write a How-To on upgrading your RHEL or CentOS 4 system from httpd 2.0.52 to 2.2.3. I'm going to issue a warning upfront though, this is NOT a simple src.rpm rebuild like the PHP upgrade how-to that I wrote. Upgrading httpd requires filling a couple dependencies, building httpd, and then rebuilding everything that depends on httpd. For most people, that means just PHP. For some sites, that may include mod_perl, mod_python, etc.
If you're using some kind of management panel like Plesk, CPanel, etc. then DO NOT follow these instructions as you will break your server. In fact, if you have a separate development environment (like an OpenVZ VPS or a separate server) then I'd suggest using that because the build process actually requires you to remove your current copy of httpd. In any case, if you're still interested, keep reading.
To complete this upgrade you're going to need 3 things. First, you'll need 'root' access to your server. Without it, even if you can build the RPMs, you won't be able to install them. Second, you're going to need to install some dependencies to meet the build requirements. Finally, you're going to need to get the src.rpm files for httpd, apr, apr-util, and pcre from FC6.
Continue Reading 'Upgrading Apache httpd on RHEL and CentOS' »
PubCon 2006 Night Life
November 22, 2006 by Jason · 9 Comments
So, if you read the LinkWorth blog, you'll already know that something interesting happened to the group of us that went to the Viva Las Vegas Lounge on Thursday night. I want to toss out my perspective on that night (as, possibly, the most sober person in the group). To give you a hint of what's coming, let me plug in a few key phrases like "Beer", "Dirty Vodka Martinis", "Limousine", and "Tattoo Parlor".
The day started off pretty much like Tuesday and Wednesday did. We got up early, took the monorail to the conference, learned about SEO and whatnot from the presenters, had a few drinks at the Ask.com reception, etc., etc., etc... This night, however, we had plans to go big. Before we even left Pennsylvania, my boss mentioned that he wanted to meet up with the guys from LinkWorth. I didn't really know who they were, other than that we had been working with them for years. Now, Thursday was supposed to be our "free night", where we could do whatever we wanted as long as we didn't get arrested and as long as we didn't miss the flight the next day. However, trusting that the people I was traveling with would make this an interesting night, I said "alright" and tagged along.
After dropping our laptops and swag (if anyone nabbed more green silly putty than I did, I'd be surprised) off at the hotel (we stayed at the MGM, by the way), we started our trek to find the Hard Rock Casino & Hotel. About 40 minutes later we arrived at the Casino and proceeded to the Lounge. Much to our surprise, Jim Breuer was there, just wrapping up a show with the Sirius Radio guys. After the requisite photo snaps, we all set out to find the guys from Linkworth. This is where we ran into a problem. See, we'd never met them before. We had ZERO clue as to what they looked like. Our only recourse, of course, was to simply walk up to EVERY table in the lounge asking "Are you from LinkWorth?" After making our way to the opposite end of the lounge, we finally ran into them at the very last table.
Upgrading to PHP 5.1.6 on RHEL and CentOS
November 21, 2006 by Jason · 42 Comments
I spend a good amount of time on vBulletin sites. In fact, the company I work for owns about a dozen sites with a combined total of about 10 Million posts. One of the most common questions I hear, aside from "Can you help me optimize my server?", is "How can I upgrade to a newer version of PHP?".
While Red Hat's policy of backporting patches to provide a 5-year maintenance cycle on their OS releases certainly has its uses, it really does leave users without the benefits of using newer software versions. Newer software not only provides new features but can improve performance.
Thankfully, you don't actually need to build from scratch to upgrade an RHEL4 or CentOS4 system because srpms are available from newer versions of Fedora. If you don't know, Fedora is the test bed for future versions of Red Hat Enterprise Linux. The remainder of this article is going to instruct you on how to rebuild the php-5.1.6 src.rpm from FC6.
There are three things you're going to need to upgrade your copy of PHP. First, you're going to need 'root' access to your server. If you don't have it, even if you can build the RPMs, you won't be able to install them. Second, on most machines, you'll need to install a huge list of dependencies. Finally, you'll need the PHP src.rpm from FC6.
Continue Reading 'Upgrading to PHP 5.1.6 on RHEL and CentOS' »
AdSense below the menu
November 20, 2006 by Jason · 4 Comments
I'd like to get it out now that I'm not here to make money from this blog. Don't get me wrong, I'm not going to tell you not to click the ads that are below the menu, I can always use extra money, but the $3 that this site is going to make each month isn't going to change my life. I have a theory on sites with and without AdSense but I want to give it a couple days before I post about it (hint: grab the RSS fees so that you know when I update).
As to the "Get Firefox" banner, I love FireFox. Aside from Opera (which is SO good that it can't be used with most people's sites, at least not yet), it's the best browser out there. I was never big on Google spying on what I'm doing, but I recently started using the Google Toolbar. I have to say, I really do find it useful. If you aren't currently using FireFox, please use the button on the right to download it. The package has both FireFox and the Google Toolbar so you'll get both in one shot.
My new blog
November 19, 2006 by Jason · 2 Comments
To be perfectly honest, I kind of looked down on blogs until this past week. There are two things about them that I simply didn't get.
First, why would anyone think that it was a good idea to put their personal thoughts up on the internet? I mean, what if you had a bad day at work, blasted your employer when you got home, and then ended up getting fired the next day because someone at work read your blog (or worse, it got indexed by Google and all anyone had to do was search for your name)? Sure, you might have gotten a load off your chest by letting it out, but how's that going to help when you're living in a box on the corner a week later because you don't have any income?
Second, why would anyone want to read what other people are thinking? I certainly don't care about what random people are thinking. In fact, most of the time, I don't particularly care about what the people I do know are thinking.
That all really changed this past week when I was on a business trip in Las Vegas for PubCon 2006. While there, I met a ton of interesting people, 99% of which run a blog to post news about their personal lives and their businesses. On top of that, every single person I talked to said that, as a whole, positive things had happened to them since they started their blog. In fact, it hadn't been for a blog, I wouldn't have ended up at a lounge with the guys from LinkWorth and had an outstanding time at what essentially stated out as a business meeting that I assumed would be a boring hour or two before we hit the casinos for more Blackjack and Craps.
In any case, I guess I'm a convert. Hopefully now I'll figure out what all the fuss is.