Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching between sed, vim, python, perl regex trips me up a bit sometimes. Go ahead and check it out for yourself sudo aptitude install txt2regex <br /> [.]quit reset [*]color [/]programs ^txt2regex$ !! not supported RegEx perl : RegEx php : RegEx postgres: RegEx python : RegEx sed : RegEx vim :
nginx is a high performance HTTP and mail proxy server written by Igor Sysoev. I’m not sure what the init scripts do for other distros but it seems a bit of an oversight to leave out checking the config file when running the init script. Add this line to your nginx init script right after the text -x $DAEMON line to make it check the config before proceeding to start stop or restart the service.
I hadn’t seen this tool before so I figured I would share. Swaks is the swiss army knife SMTP according to the homepage. I’ve covered testing email from the command line before but this tool sure makes it easier. swaks --to nick@tld --from nick@tld *** MX Routing not available: requires Net::DNS. Using localhost as mail server === Trying localhost:25... === Connected to localhost. <- 220 cmdln-laptop ESMTP Exim 4.69 Thu, 16 Apr 2009 12:23:24 -0500 -> EHLO cmdln-laptop <- 250-cmdln-laptop Hello localhost [127.
The linux foundation has begun the judging period of the “We’re Linux” commercial (answers the I’m a PC commercials).
Some of my favorites …
Its handy to keep some remote dns servers in your head for troubleshooting. Here are some pretty fast and easy to remember NS ips for you (they are on level3 network). 188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168 22.214.171.124 126.96.36.199
Note, there is a short story before the main course.
I recently had a customer leave. It’s never good to lose a customer. They left not because of any service issues but because its hard for them to understand that I am not a web designer. I provided hosting service for them, and I tried to make it clear that they should find a web desinger and someone to maintain their site because that is not something I specialize in or have any interest in doing. At any rate this of course leads to them finding a designer who wants to move their site to some other host. I have no problems with that whatever makes the maintainer happy since he is the one who will have to support it.
Today Citrix announced that it will distribute its enterprise packaging of Xen for free. This brings fancy gui management and features available in VMwares ESX server to everyone. (Actually I’m not clear if just the ability is there or if they actually are letting the gui go as well.) This is not a scaled down, limited version of the hypervisor. From the end of March on, there will be only one edition of XenServer which and it will be free.
Have you ever gotten a pdf with one of those annoying passwords? A while back I bought an e-book and it came with a password. Its really annoying especially if I want to read it on a mobile device. Anyway if you are annoyed as much as I am fear no more. Install qpdf aptitude install qpdf Decrypt your pdf qpdf --password=password --decrypt input.pdf output.pdf
Over the last couple days I’ve briefly talked about revisioning configs and making your home directory portable. It seems to have stirred up a bit of discussion over at Matt Simmons Standalone Sysadmin, and Hugh Browns mentioned he uses mercurial for this task.. As I noted in the post about managing /etc with version control I do revision my home directory, or at least pieces of it.
Seems like we are on a bit of a roll with regard to the topic of versioning lately. Yesterday Legooolas commented about using version control for your home directory. I do and I’ll cover that in a different post but I use it for a different task. Now on to todays topic. Do you keep track of configuration changes? You should. Maybe your using an advanced configuration management system like puppet.