Soft lockup issues with Debian 5 (Lenny) on Xenserver/Xen
With SMP (multi-CPU) VM’s on Xen or XenServer running Debian Lenny you need to add the following kernel options if you’re getting soft lockups: clocksource=pit nohz=off
With SMP (multi-CPU) VM’s on Xen or XenServer running Debian Lenny you need to add the following kernel options if you’re getting soft lockups: clocksource=pit nohz=off
Adding a remote MySQL user
Ajax-based password generation written in PHP/Javascript. It saves password length option in cookies.
How to install ffmpeg, flvtool2, mplayer, mencoder and ffmpeg-php on a Cpanel / CentOS server.
Recursively find many PHP shell scripts and PHP exploits with these simple one-liners.
When you’ve got dozens or more CentOS boxes to install Ksplice Uptrack on, this single cut-and-paste method lets you do it in one click. Remember to replace ACTUAL_KEY with your Ksplice access key.
Here are a few shortcuts for common monitoring tasks with TCPdump. I will update this post over time as new needs arise. Monitor traffic to/from a single port: tcpdump -n -i eth0 ‘port 53’ Monitor and decode traffic to/from or regarding a particular domain or IP (there may be a better way, this is quick […]
This issue comes up every so often. No matter what, even if you manually define all the passive ports in Windows firewall, add an exception for inetinfo.exe, the works, certain directory listings still hang on the client end. This issue is apparent only with the Firewall enabled — disabling the firewall allows the listings to […]
Make forensic-quality copies and backups of any type of media using free software.
Automatically create a batch of thumbnail images using PHP.