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 transform,trk=wpt -o gpx -F “waypoints.gpx”
If a number of waypoint files (NMEA, GPX, etc.) were originally concatenated, the resulting .kml may not be in chronological [...]
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 = 234
delete from domains where name =’domainname’;
delete from subdomains where id = 234
delete from [...]
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 partitions on RAID10, I was able to boot just fine. There may be a difference between RAID10 in an n=2 (2 [...]
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 old cached DNS records (usually at different ISP’s, major mailservers like google, hotmail, yahoo, etc.) cause problems where they’ll route mail [...]
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 error in vmware’s libraries, and has yet to be fixed by vmware (thanks a lot). The real issue is CentOS/Redhat has [...]
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 a good guide on this subject, which has step by step instructions on migrating your installation from one directory to [...]
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 letting us know if we need to reboot when a new kernel package has been installed.
Script to check for [...]
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 like your logs to all be rotated in order, and have a certain number backed up:
[...]
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)
#
#TEMPLATE=centos-5-i386-afull
VZID=5999
#
# use this from command [...]
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 previous version, since it changes the default behavior when clients and domain owners reach their pre-assigned limits. Now, instead of just warning that [...]
Pages
Categories
Topics
apache apache ddos spam apache referrer ddos apache referrer spam awk bash centos cli client_pref dell 1650 djpeg freebsd freebsd 6.x gocr grep httpd.conf image text recognition ipmi ipmitool linux linux & freebsd lm_sensors mailscanner mod_rewrite mod_rewrite blocking of spam ocr OpenIPMI openvz optical character recognition permission denied php php4 php5 plesk plesk 8.0.x rpm sendmail sort spam spamassassin suspend templates tesseract upgrade yumLinks
