Need to get a bunch of pgp keys for your 3rd party linux repos fast?

Aug 31st, 2012 | By

Are you reinstalling your OS and having mroe than a few 3rd party repos that need to have pgp keys installed to access?  Are you dreading the processing of googling them all and wgetting the keys and then importing them? dread no more because there’s an easier way!  Just use the MIT keyserver to grab
[continue reading…]



A few words about custom partitions and /var

Aug 30th, 2012 | By

So I just installed Debian onto my new laptop, this time through vmware with a windows 7 host because I for once have enough ram and cpu to handle virtualization, and this time I felt I was ready to custom configure a more complex partition schema based on my experience.  Not the recommended BS that
[continue reading…]



Database wide search and replace script

Aug 21st, 2012 | By

Just something I thought that I would post as I needed a quick solution to do a search and replace of an entire Mysql Database.  It’s actually dumping the DB, searching and replacing the dump file and then re-importing it.  But it does the trick   #!/bin/bash if (($# >= 1)) ; then if (($#
[continue reading…]



Drupal users – Get Views Bulk Operations

Aug 16th, 2012 | By

This isn’t an installation guide or anything like that, it’s just a piece of advice seroquel price.  Go out and get the get the Views bulk operations module.. It will save you more time than I can imagine changing taxonomy terms in bulk and doing other batch operations on your content nodes.



Speeding up PHP with APC (NOT eAccelerator) in Debian Squeeze running php 5 and apache 2

Jul 27th, 2012 | By

Well today my server was being killed by something or other and after 30 minutes of trying to track down what it was I decided to spend my time optimizing my server and implementing a proper caching mechanism (finally!).  I come from a BSD background and we ran eAccelerator on all of our servers so
[continue reading…]



Setup your swap partition a flash card in Debian linux

Jul 20th, 2012 | By

*A WORD TO THE WISE – DO NOT ATTEMPT THIS* Flash cards are not designed to handle heavy loads of tiny read/writes all the time and will fail sooner rather than later.. I just had my system go into the shitty with a syslog filled with 1000’s of messages like this:  [59443.104957] Write-error on swap-device
[continue reading…]



Attrociously high pings to router with wifi in Debian 64 with Atheros 9k

Jul 18th, 2012 | By

Simple little solution that has been plaguing me all week.  We just upgraded our router and after scanning the local networks I found that channel 11 was completely unused so I switched it to that and man oh man that was nothing but a bad idea.  Even though channel 11 was the emptiest channel I’ve
[continue reading…]



SMTP server not sending: NOQUEUE: reject: RCPT from unknown[0.0.0.0] 451 4.3.0 : Temporary lookup failure – Too many mysql Connections

Jun 16th, 2012 | By

So are you seeing this error message in thunderbird or evolution?  Chances are your smtp server isn’t able to connect to mysql properly as there are too many current connections for it to get in there. To test this theory go into mysql on the server and type SHOW GLOBAL STATUS; Chances are your going
[continue reading…]



Renaming multiple filenames using find and sed

Jun 16th, 2012 | By

You thought you knew how to do this didn’t you?  For me my brain thought ‘oh that’s easy I just do..err wait.. Ok I have to think about this.. ok how about.. errr’ and then I went through this mental contortion act of how to get a variable declared using find and then I echo
[continue reading…]



MPD Not Starting: mpdlisten: Failed to listen on localhost (line 69)

May 8th, 2012 | By

Having this problem are we? Did you just make some changes to your network/wireless setup by any chance? I know I did.  Well for me what my problem was was that I emptied my /etc/network/interfaces file to try to troubleshoot some wireless problems and in doing so it caused mpd to stop functioning.. So right
[continue reading…]