servers Archive

Worthy of distribution: Cloud analogy

This post on Beyond Bandwidth seems to summarize some of my feelings about cloud computing - it's best thought of as an outsourcing task for the most part; Although the benefits of something like an extra DNS server are a bit more than an 'outsource benefit'; but you get the...
Read More

Is there a hacking campaign against open source?

Linux.com, kernel.org, mysql(twice this year), wordpress and php have all reported breaches of some sort this year. Is there some sort of campaign against these 'high profile' open source projects? It's starting to feel like it, to me.The more hands you get in the pot, the more nervous you should...
Read More

The inherent risks of ‘daemonize’ features in developer tools – Git, Mercurial (hg)

A handful of tools such as mercurial, git, (soon PHP - which chances are will be it's own binary) have their own 'daemonize' functionality.Whatever your reasons - if you want to disable these; there's little to no help in figuring out how... til now...If you want to disable Mercurial's hg...
Read More

System admin ‘helper’: Zebra stripe log / console output

Looking at an ASCII data table can be difficult - so to start a small trip into Perl programming - I tossed together a simple Perl script, with no module requirements - zebra.pl as I call it, and it zebra stripes the output. It adds a nice touch to say...
Read More

On coining terms: Kiloreq, Megareq, Gigareq, Terareq

I'm inventing these terms. You heard them here first!Ok so the idea goes like this:We use kilo(bit/byte, etc) as measurements of rate, and size - even weight (kinda).I thought it'd be fun to come up with another terminology that's right in line with the nature of these units of measurement...
Read More

Netflix is run by monkeys!

An entertaining read for the HA operations for netflix - a good sense of humor and a very cool, hardcore philosophy for testing! http://techblog.netflix.com/2011/07/netflix-simian-army.htmlIt's nice to see Netflix stepping up their involvement in the technical community even more; with the Netflix prize and their blog and API feedback - I...
Read More

MySQL – max_allowed_packet – what is going on?

So there's enough noise in the MySQL community about what's covered well here (https://www.facebook.com/note.php?note_id=10150236650815933)Unfortuantely the bug is private for the time being; in my conversation with others, the general premise seems to be what good does max_allowed_packet really do? First off, I'd like to point out what seems to be what...
Read More

Nay say for ext2/ext3, seemingly ext4 for MySQL servers

 Basically I felt compelled to make a note regarding what filesystem to evaluate when you are performing a MySQL install. There seems to be a lot of reasons NOT to use the ext filesystems, and instead use XFS..This is a straight out quote from a MySQL at Facebook blog entry:ext-2...
Read More

Worthy of distribution: Reset root MySQL password

Oh snap! Need to reset your mysql root/admin (or any?) MySQL password? Well, you'll need root and control over MySQLd to some extent, but this is worthy of a rainy-day bookmark indeed: http://mysqlpreacher.com/wordpress/2011/03/recovering-a-mysql-root-password-three-solutions/ Subscribe in a reader...
Read More

/usr/bin/chage – Sending emails when a pasword expires, or is about to

There's a lot of scripts out there that do this but they either don't revolve around /etc/shadow enough or they're sloppy.Here's my spin on a script for nightly cron that will parse /etc/shadow and send out emails based on the per-user values. It's resistant to garbage dates (99999 'expiration' dates)....
Read More

MySQL 5.5.12 – init script warning

I've just reported a bug regarding the init script that comes in MySQL 5.5's source distribution .Basically, if you call the 'start' clause of the script twice it will hose the service by allowing multiple instances to run trying to utilize the same resources (pid file, socket and tcp port)...
Read More

Amazon AWS – The risk of using a cooked AMI

Straight from the horses mouth; I no longer use this AMI - but the only ones I've used are Debian EBS and SLES ... Fortunately I already went through authorized_keys on the one I do keep around.People take AWS services seriously - but the AMI sharing always set off a...
Read More

Cacti – DNS response time

When you google for a cacti template for DNS response time, there's not a whole lot out there, and what is; is pretty out dated or involves too much fidgetry.This post assumes you're comfortable with cacti - you should be able to at least initialize a graph and fill one...
Read More

On: ntp, ntpd. link dump!

So, in order to quickly have a (debian) machine up and running on ntp, you're bound to do something like this 'apt-get install ntp ntpdate'.The problem is that this installs 'ntpd' too. The default configuration is to allow your server to answer to NTP queries from anywhere.If you want to...
Read More

Time to be informed!

What would you do if you received a legitimate looking email from your hosting company asking you to OPEN an SMTP relay?That's apparently a new style of spam (to create more spam !) targeting administrators. I'm sure there's a handful of 'admins' who can get by and would more than...
Read More

Cloud Computing and the 3rd Reich

Co-worker suggested this would be a good one to put up, I agree; and this clip never gets old! Subscribe in a reader...
Read More

Very in-depth explanation of *nix filesystem

Came across this while reading about build integration for development and thought I'd make a note about it. It's much more than just a 'user files go in the /home/' directory sheet - it's everything you could imagine regarding why *nix systems are laid out like they are. Link:http://www.pathname.com/fhs/ Subscribe in...
Read More

Tuning apache directory indexes

Are you a fan of Options +Indexes like I am?There's a few tweaks you can apply to this feature to make it behave more like you want.Throw a gander at the IndexOptions directive documentation for fine-details.You can place these in a site configuration, or if allowed, in a .htaccess file.Notable...
Read More

vnstat/vnstati for quick mrtg style bandwidth graphs

Ever want the nifty bandwidth charts that MRTG produces, but without the overhead of learning and manipulating the RRD (Round Robin Database) stuff?vnstati has a built in tool that produces some very sexy snaps of interface bandwidth.Compile and install from source and play around with the options -For our dev...
Read More