Man – this post saved my bacon today: http://www.linuxjournal.com/content/rebooting-magic-way Was able to reboot a CentOS box with what appears to be a failing (failed?) file system. We had backups, but we’re evacuating the server now.
READ MORE »Posts in category Linux
How to Back Up a Linux Server to Amazon S3 with Duplicity and AutoMySQLBackup
I often say there are only two types of data: data that is backed up, and data that is waiting to be lost. Even if you’re the most contentious hax0r who always backs up your data, if your backups are stored in the same physical location as the source data, then your data is still ”waiting [...]
READ MORE »How To Use a Free StartSSL Certificate in Postfix for SSL/TLS
Most of us use self-signed SSL certificates when setting up secure SMTP connections on our servers. And why not? It’s free! You do have to put up with your mail client “warning” you that the identity of the remote server can’t be verified, but that’s worth the minor inconvenience for the price. But… what if [...]
READ MORE »Git Commands I Like
This is going to be one of those posts that is probably useless to everyone else, but valuable enough to me that I’ll read it over and over. These are the Git commands I use most when working with projects on my GitHub, and with Git repos to which I have read-only access. (Big thanks to Murray K. [...]
READ MORE »Simple CloudFront Invalidation of a Single File via HTTP
I found a great post by Clay Loveless who wrote a PHP script to batch invalidate files files on an Amazon Web Services CloudFront distribution. You rock, Clay. Amazon doesn’t even let us do that (yet?) via the AWS Mangament Console. Until now, when I wanted to manually invalidate a single file, I had to [...]
READ MORE »SSH slow to connect? Turn UseDNS off
Another quick tidbit I learned when one of my CentOS boxes was slow to connect via SSH. Connection happened quickly when I would connect from a box on the same router, but connecting from my home machine caused a delay of 20-30 seconds each time. The fix was uncommenting this line in /etc/ssh/sshd_config: #UseDNS yes [...]
READ MORE »How to set up two NICs on different subnets with static routes and separate default gateways that remain after a reboot
This is one of those blog posts that’s more written for my own benefit to refer to later than for the benefit of the Web-at-large, but if someone else happens to stumble upon it and it helps you out, then cool. I had to migrate a Fedora box (the one that hosts my blog, actually) [...]
READ MORE »Installing OpenDKIM RPM via Yum with Postfix or Sendmail (for RHEL / CentOS / Fedora)
For those who want or need to compile and install OpenDKIM from the source code, you can follow the instructions I wrote in this article. If you’re looking for the fastest and easiest way to get OpenDKIM running on a RedHat system, I currently maintain the OpenDKIM package in the Fedora and EPEL repositories. This article [...]
READ MORE »How to Install APC (Alternative PHP Cache) on CentOS 5.6
There’s a lot of conflicting information out there on how to install the APC opcode cache on a CentOS 5.6 box. Here’s how I did it:
READ MORE »Bricked WRT54G with Blinking Power Light. Hard reset? TFTP? Nope – New Power Adapter.
Like many owners of the ubiquitous Linksys WRT54G wireless router, I like to run aftermarket firmware on my device to unlock more of this router’s potential. I use one as my primary wireless router in my house, but I also use some as wireless Ethernet client bridges and wireless repeaters. So when I saw a [...]
READ MORE »




Recent Comments