Picking the Right Web Host
November 28, 2006 by Jason · 7 Comments
One of the first things that comes to mind when starting a new web site is "Where will I put it?" This question is easily answered in the beginning as there are thousands of cheap (and occasionally free) web hosts available that will allow you to run a small web site. As time goes on, however, it gets quite a bit more interesting as you try to find a hosting method that will suit your site but not empty your wallet.
At current, there are three main types of hosting available: shared hosting, virtual private servers (VPS), and dedicated servers. The big question is "When is it appropriate to move from one to the next?" Most people answer that question with something like, "When my site is running slowly" or, "When my host asks me to leave." Both of these answers, unfortunately, will leave you in a bad way and may cause you to lose valuable traffic. The good news is that proper planning and research upfront can really cut down on the headaches later.
AdSense IS Content
When was the last time you saw a web site that wasn't selling something? Can't think of one? Neither can I. Every site I've been to in the recent past has either been directly selling a product, offering to trade something you have for something less valuable that they have, or showing you advertisements (either fixed or adsense).
My first thought on the recent overabundance of advertisements was "When the hell did everyone get so greedy?" At what point, did content get bumped to second-place behind ads? At what point did we start to not only tolerate ad-filled sites, but to accept them as the norm? That thought, of course, was followed by "Damn... I've got to get that ad-blocker plugin for Firefox..."
As a server administrator (that's part of my day job), I know that hosting is expensive. I know that shared hosting rarely works out once you've got enough visitors coming to your site to pay for it. I know that Virtual Private Servers (VPS) are overpriced and often perform worse than the cheaper shared hosting does. I know that dedicated server hosting generally means that you either need to be a server admin yourself, or that you've got to dish out a few hundred dollars per month to hire someone to do the work. I understand the problem. What I don't understand is why the perceived solution to that problem is to fill your web sites with tons of advertisements.
Upgrading Apache httpd on RHEL and CentOS
November 24, 2006 by Jason · 62 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 · 8 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 · 41 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 · 2 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.