Share The time has finally come, my Raspberry Pi showed-up on my doorstep no less than one week ago. After having the chance to play with it for about a week now I can say it’s truly amazing what this little device can deliver on for $35. The Pi is also a breeze to work …
Category Archive: linux
Apr 10
Quickly Truncate MySQL Tables
ShareThe Dilema Do you have a MySQL database with LOTS and LOTS of tables? Well, if you’re like me sometimes schemas can contain tons of tables with tons of rows per table. What if you want to clear out all the tables from time to time? Well, there’s an easy way to handle this, than …
Mar 10
SSH Tricks: Adding Pre & Post Login Banners
ShareI’ve been on an SSH customization binge lately so I thought I would take a moment to show folks how to modify the look of SSH’s pre and post login messages. As a distribution, Ubuntu is a bit different in the way that these messages are generated and there isn’t much documentation on the way …
Mar 09
SSH Tricks: Fixing a Delayed SSH Login
ShareSo you’ve typed in the address of your SSH server, hit “Enter” and now you’re sitting there for 20 seconds before you’re even presented with a password prompt for a login. Well you can file this problem under “unusual”. None of your other machines seem to have this problem. What’s Going On? In my case …
Dec 20
[Solved] Ubuntu 11.04 desktopcouch-service 100% CPU throttling
ShareI Believe the Title Says it All… Recently, I upgraded my home server to Ubuntu 11.04, looking good and working good, minus one or two snags. One is an issue the DEVs don’t seem to want to fix right now…which seems silly to me because it pegs the CPU to 100% and starts causing a …
Dec 18
Layer-2 Link-Aggregation & Bonding
ShareThere are basically 3 reasons why you should aggregate your links… Reliability/Redundancy Additional Bandwidth You have extra NICs (network interface cards) you aren’t using that are collecting dust An unlikely spot for aggregation: One place I used link-aggregation for a while was on my HTPC. Since I run my HTPC on its built-in wireless 2.4ghz …
Nov 16
Using Xvfb to Hide those Pesky Windows
ShareDo you have a script that opens up all sorts of windows? Maybe a scraping/posting script that opens up a Firefox session or some other window that you really don’t care to watch or clutter your desktop? As an example, I run a series of selenium scripts (I’ll have a tutorial on this later) that …
Nov 07
Web-Accessible “Log Analyzer” – Using Rsyslog
ShareHaving problems keeping track of all the syslog messages in your network? Or better yet, do you have a TON of network devices that you need to monitor for syslog messages and can’t find a good way to keep track of it? I did…..and it was becoming a problem. I was doing it the …
Nov 06
“ServerStats” for A Lightweight “Cacti” Alternative
Share“ServerStats” is a program I found all on my lonesome in the Ubuntu repositories. I came upon the program while I was trying to build a list of all useful network-related programs in the Ubuntu repositories a few months back. I must say I’ve been impressed with this program. ServerStats uses RRDtool-based graphs for a …