Not your father’s Celeron

I picked up a Celeron G1610 CPU last week and I’m using it to build a Linux box. Yeah, it’s a Celeron. But it performs like a 2011-vintage Core i3 or a 2010-vintage Core i5, consumes less power than either, and costs less than $50. It’s hard to go wrong with that. Read more

Windows vs. Linux kernel performance

An anonymous Microsoft developer spilled some juicy opinions about why Windows kernel performance isn’t all it could be and answered some longstanding questions about Windows vs. Linux kernel performance in the process. Although he has recanted much of what he said, some of his insights make a ton of sense.

Read more

How to build bootable Debian installation USB media from Windows

How to build bootable Debian installation USB media from Windows

Debian 7.0 (Wheezy) came out this weekend, and I want to mess with it. Here’s how I wrote the installation media to a USB thumb drive for it using a Windows box. Because sometimes that’s all you have available to work with. If you prefer another Linux distribution, like Ubuntu or CentOS or Fedora, the same trick will work for them too.

Read more

DROP DATABASE wordpress;

This week, I doubled back down in earnest to get my webserver running on the hardware I bought a year ago.

After  getting Apache, PHP and MySQL installed on the box and playing together nice, I installed WordPress and got it running. Then I tried backing up and restoring files from my existing server, and the server didn’t like that one bit.

Read more

Four simple steps to optimize WordPress

A couple of years ago, I stood up a WordPress server. I made no effort to tune it, let alone turbocharge it, which is a decision I later came to regret. If your site gets more than a few hundred hits per day, you need to tune it. If you want to get more than a few hundred hits per day, you need to tune it because Apache and MySQL’s default settings are by no means one-size-fits-all. And you can never have too much speed. There are two reasons for that: Google favors fast sites over slow sites, and Amazon found that a one-second delay in page load drops traffic by 7 percent.

There’s a lot of advice out there on tuning WordPress, some of which seems to be good, and some of it not so good.

Here are four things that I know work. I run Apache and MySQL under Linux; these tools may run under Windows or OS X too.
Read more

A minor (but vital) Apache performance tweak

My problems seem to have become more rare since I started blocking spambots and tuned PHP and Apache but last night my server ran out of memory again and started timing out.

It turns out I still had a critical problem, but one that’s easy to fix with a relatively simple Perl script.

Read more

Cutting Apache preforks seems to help small web servers

I’ve had a ton of downtime this week (this seems to be the busy time of year for my web server), but I think I traced the problem to a known issue.

Read more

Games would be just what Linux needed

Valve is intending to develop for Linux, as an insurance policy against Windows 8. I think that will lead to a self-fulfilling prophecy. If more games are available for Linux, demand for Linux will increase, along with market share.

There’s historical precedence for this. Read more

This Linux Mint box looks really nice, except for the price

Linux Mint (a close cousin of Ubuntu) now comes bundled on a nice-looking small form factor PC–a small metal box, comparable in size to a home router, ideal for connecting to a television to use as an HTPC and/or as a secondary PC.
Read more

Unix-to-Windows copies with PSCP

I’ve been moving files between Linux servers, and to and from Windows boxes, as part of my server migration. I started to write about how I’ve been doing it, but it seemed oddly familiar.

Yep, I’ve written about SCP and its Windows port, PSCP, before. Do this long enough and you find yourself repeating yourself.

Read more