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 ‘18.104.22.168/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 […]
On multiple XenServer 5.x setups I’ve been experiencing dropped packets evident as light to medium packet loss on a busy DomU. It only affects heavy network loads on DomU’s and not Dom0. It also doesn’t seem to care about what OS is running; I’m seeing it in Debian, CentOS, and Windows. Since I manage streaming […]
The original hardware did all kinds of strange things, stuff like SSH not working and RPM checksums failing, random rebooting, ect. I ended up swapping the chassis, mainboard and RAM but kept the HDD’s to avoid an OS reinstall. Now, I’ve gotten this twice on the new box followed by a hard freeze about 2 […]