Install some prerequisites: yum groupinstall “Development Libraries” “Development Tools” yum install mercurial python-devel dev86 iasl ncurses-devel ncurses \ glib2-devel glib2 openssl-devel yajl-devel libuuid-devel libuuid \ pciutils-devel pciutils texinfo kernel-xen bridge-utils gnutls gnutls-devel \ libxml2 libxml2-devel libnl libnl-devel libxslt libxslt-devel pygtk2 xorg-x11-xauth \ xorg-x11-fonts* device-mapper* gnome-python2-gconf pygtk2-libglade dbus-x11 \ gtk-vnc-python netcf netcf-devel netcf-libs vte vte-devel Pull […]
Spider KVM’s are already very cool as they are — KVM, virtual media, and serial console with a flawless web/Java client. But if you strap on a Wifi bridge, it’s way cooler. As a bonus you get wireless network access via the Cascade port — anyone who has done an emergency router or switch replacement […]
Permanently? Not so easy. Temporarily, easy. echo “nameserver x.x.x.x” > /etc/resolv.conf route add default y.y.y.y Where x.x.x.x is your DNS and y.y.y.y is your gateway. Once you’re in the GUI, fix up the settings properly and you’re good.
If LFD reports a /tmp/.tmp folder on your server you have been hit with the latest timthumb.php hack, which is circulating among wordpress sites which dodged the first mass infection last August for unknown reasons. The /tmp/.tmp folder contains a list of firefox visitor IP’s who have visited your site and were exposed to malicious […]
timthumb.php is responsible for millions of wordpress hacking so it is important to make sure all timthumb files on Cpanel servers are up to date. It may have any file name (sometimes thumb.php or another) so we have to look in every php file for vulnerable versions and replace them. The script automates this. This […]
Excellent article on testing IOPS and throughput of Linux disks and filesystems. https://www.linux.com/learn/tutorials/442451-inspecting-disk-io-performance-with-fio
Just threw together a quick and dirty PHP-based subnet calculator. What sets this one apart from others is that it works with both IPv4 and IPv6 inputs and has subnet splitting capability. Use the first field to enter a network to get details about. The format is CIDR notation ‘188.8.131.52/22’. Use the second field to […]
Getting MegaRAID Storage Manager and CLI tools installed on Ubuntu is no fun.
Non destructive (read only) test, optimized for 1G RAM: badblocks -b 4096 -c 98304 -p 0 -s /dev/sda Destructive read/write test (use caution!): badblocks -b 4096 -c 98304 -p 0 -w -s /dev/sda
Major annoyance to any organization that has hostnames like foo.bar.domain.com — Windows 7 and Vista appends domain.com to bar, but not foo.bar. After some digging I finally found a registry hack that restores ‘proper’ functionality like any other OS or older version of windows. Create a DWORD ‘AppendToMultiLabelName’ with a value of 1 in: HKEY_LOCAL_MACHINE […]