Showing posts with label sysadmin. Show all posts
Showing posts with label sysadmin. Show all posts

Thursday, October 23, 2014

Sunday, March 23, 2014

Upside-down-ternet

How to configure a router to turn all graphics upside down. Brilliant!

Saturday, March 15, 2014

Sunday, November 10, 2013

Marelle: sysadmin in Prolog

Marelle allows you to declare packages and dependencies, then derive (and execute) the steps needed to install a given package. Very interesting.

Friday, September 27, 2013

A comparison of process managers

Hey, finally some halfway modern technology for dealing with Linux sysadmin issues - here's a comparative look at some of the newer process managers available.  Very nice!

Sunday, May 19, 2013

Docker container engine

Docker is a lightweight alternative to VMs.

Sunday, May 5, 2013

Responding to excessive volume

A neat little discussion at StackOverflow (superuser) about how to take an action when the microphone volume goes too high, with some really fascinating responses, including one cobbling it together with Pure Data, an open source visual programming language I'd never heard of.  (It's a dataflow thing.)

Saturday, April 27, 2013

Job scheduling components

There's whenjobs and Airbnb's Chronos, because apparently job scheduling with cron is too... 70s or something.

Wednesday, April 3, 2013

netcat

I had somehow failed ever to hear about netcat.

Monday, March 25, 2013

Expect

Expect is a neat Tcl extension that provides scripting on Unix for command-line programs, especially interactive ones.  This is essentially what I'd like to do (unfortunately from my Windows box) through ssh, although it would be great to be able to do it on Windows as well.

Turns out Windows just basically doesn't permit this, so Windows ports don't work.  Apparently at all, because Windows treats the console special in some way, and when invoking things in a pipe things don't stay interactive.  It's complicated.

But still - the basic idea is quite sound.  For really effective sysadmin work, I'd like to put together two ends: first, an "action worksheet" for complex command-line invocations, and second, just such an interactive back-and-forth.  If it only works through ssh, then so be it - I've got a Cygwin ssh working fine that could probably do the trick.

[Also, note on using expect in noisy connection environments.]

Oh!  Later, I found Net::SSH2::Expect (along with Net::SSH2::SCP and ::SFTP and the fact that Net::SSH2 is itself part of Strawberry, so part of my faith in the CPAN ecosystem was restored this day).  [The Monks have some useful sample code. I think maybe SSH2 could use a tutorial.]

Friday, March 8, 2013

A couple of sysadmin/security posts

Two good ones:
That last one has a lot of stuff I don't see great use for (personally) but I want to kind of get a little database of snippets going for this kind of thing.

Friday, March 1, 2013

The Chaos Monkey

I like this; a post on Amazon's approach to scalability: they have a Chaos Monkey that randomly takes down their component servers to see if the remainder are really running as resiliently and failing as gracefully as they should.

That's brilliant.

Sunday, January 13, 2013

Rails devops cheatsheet

Useful collection of command-line incantations.

Monday, December 31, 2012

Exit traps for bash

Better bash scripts using exit traps for cleanup and error handling.

Wednesday, November 7, 2012

A tcpdump primer

This is neat - tcpdump is a kind of scary tool but essential for networking work.

Saturday, November 3, 2012

Fabric

Wow.  Fabric is a Python module/utility that allows you to turn Unix commands on the local or remote system into building blocks.  This is just so cool.

Friday, May 25, 2012

List of Linux monitoring tools

Some of these are pretty basic, but some I'd never heard of.  List here.

Saturday, May 12, 2012

IPtables: rate limiting by IP

Another starting point in my quest to grok iptables.

Monday, December 5, 2011

System administration

There's a Python module for system administration. That's neat!