Thern - thern.org - Eric R. Thern :: thern dot org ::
General Information:
Latest News:
GPS data conversion 5 Aug 2011 | 06:24 am
Handy gpsbabel conversions: Google KML to GPX: To translate waypoints into tracks, in order to use in GPS Photo Correlate (gpscorrelate): gpsbabel -w -s -N -i kml -f “google-waypoints.kml” -x t...
Mysql plesk shortcuts 22 Mar 2011 | 02:26 pm
Deleting a domain from plesk directly from mysql: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa select * from domains where id = 234 delete from domains where id = 234 delete from mail where id = 2...
Linux (desktop or server) with md RAID-10 2 Jan 2011 | 05:52 pm
Current setup on Ubuntu 9.10, installed via the alternate CD on x86_64. Contrary to most posts online that say you can only boot from a partition on RAID1, not RAID10, after setting up both partition...
Minimizing downtime associated with Web/DNS/Mail IP address migrations 3 Apr 2010 | 12:45 pm
Migrating servers to new datacenters or IP addresses is never entirely problem free, usually due to many DNS servers on the internet not obeying TTL’s or caching old records for way too long. These o...
VMWare 2.0.x and CentOS 5.4 glibc crashes and instabilities – a workaround solution 5 Mar 2010 | 09:38 pm
If you’re running VMWare Server 2.0.x on CentOS 5.4, you’ll have noticed that you (most likely) suffer random reboots and other instabilities on the guest operating systems – this is due to a glibc er...
Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap 25 Feb 2010 | 03:27 pm
So I mistakenly have installed wordpress in a subdirectory on my site – this worked well for testing, but I didn’t buy this domain to have my entire site sitting within a subdirectory! WordPress has ...
Yum update check script – runs via crontab and emails when new updates are available 19 Feb 2010 | 06:03 pm
Here’s a quick script that will check yum updates and email you when there are new updates available. Split into two sections, one script is for all package updates, and the other script is for letti...
logrotate tweaks to enhance rsync backups 22 Nov 2009 | 09:19 pm
logrotate, by default (at least on CentOS as of 3, 4, and 5.x), rotates logs by incrementing all numbers on previous logs by one, and moving the current log to log.0 This is all fine and good if you ...
OpenVZ cache update script 17 Nov 2009 | 05:23 pm
Script to update OpenVZ vz cache for any template. Useful to upgrade to newest security releases. #!/bin/bash # # updates cache of VZ # # # # Set These (or pass from command line as below) # #TEMPL...
Plesk 9.x overuse policy (and how to avoid domains being suspended) 8 Oct 2009 | 09:25 pm
Parallels, in their infinite wisdom, introduced new “overuse” policies into their Plesk control panel as of version 9.0. A great idea when just starting out, but a nightmare when upgrading from a pre...