This post is probably only helpful to a system administrator of large shared servers that happen to have a lot of MySQL databases.
These scripts are meant to administrate all of the databases and tables on a single server currently, I might refine them to also work only database or table name’s supplied.
One of the scripts, [...]
Posted on July 17th, 2008 by Phil Dufault
Filed under: MySQL | 4 Comments »
This might sound strange, as people usually want to fix or prevent these from happening, I’m trying to test/ create a method of logging kernel panic messages to a remote logging server. All of the existing tutorials I found on the net were for Linux 2.4, or were incomplete.
My method involves creating a Linux [...]
Posted on July 17th, 2008 by Phil Dufault
Filed under: CentOS, Gentoo, Linux, Redhat, Ubuntu | No Comments »
I use Ubuntu at work, and today one of my coworkers linked me to Gnome Do:
https://wiki.ubuntu.com/GnomeDo
I remember seeing it a few weeks ago, but was busy with something and brushed it off. Now, I’ve installed it and played with it some — it’s awesome. Kind of like launchy for Windows, but on steriods.
Give it [...]
Posted on July 15th, 2008 by Phil Dufault
Filed under: Linux, Ubuntu | 3 Comments »
Today, Martin Johnson released something I’m been waiting a long time for in his progress of porting Android to the Vogue — SD controller support!
I haven’t tested this yet, I’ll be playing with it tonight when I get off work.
Here’s the notes from Martin:
The SD driver now works, this means you don’t have to run [...]
Posted on July 15th, 2008 by Phil Dufault
Filed under: Android, Google, HTC Vogue, Linux | No Comments »
Well, there’s been a few times that I’ve written a shell script that was really neat. Something that other people would have paid for a copy of. (I was too lazy to rewrite it in another language.) Up until now, I wasn’t aware you could compile a shell script, in the attempts from keeping people [...]
Posted on July 10th, 2008 by Phil Dufault
Filed under: BASH, Linux, Shell, sh | 1 Comment »
Here’s my little guide for upgrading a CentOS server to a grsec-patched kernel. At the time of this writing, this was the latest stable grsec patch available.
Fetch the sources:
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.5.tar.bz2
wget http://grsec.linux-kernel.at/grsecurity-2.1.11-2.6.24.5-200804211829.patch.gz
Extract:
tar xjf linux-2.6.24.5.tar.gz
gzip -d grsecurity-2.1.11-2.6.24.5-200804211829.patch.gz
Patch the kernel:
patch -p0 < grsecurity-2.1.11-2.6.24.5-200804211829.patch
cd linux-2.6.24.5 && make clean && make mrproper
Copy the previous kernel config to use:
cp [...]
Posted on June 26th, 2008 by Phil Dufault
Filed under: CentOS, Linux, Redhat | No Comments »
As I was surfing around, I found out Google was hosting competitions for innovative Android applications.
Here’s an interesting site that has them broken down, Android Scan (1), Biowallet (3), and Cooking Capsures (8) are of particular interest to me.
Here’s the link: ADC Round 1 Winners
Posted on June 24th, 2008 by Phil Dufault
Filed under: Android, Linux | No Comments »
Today, Martin released another update on his progress porting Android to the HTC Vogue.
He’s rewritten his touchscreen and on screen keyboard drivers, and I agree that it’s much more usable now, although I miss the haptic feedback. SMS notifications are implemented but a bit buggy. I didn’t test the browser updates from the last update, [...]
Posted on June 20th, 2008 by Phil Dufault
Filed under: Android, HTC Vogue, Linux | No Comments »
Run this awesome command as root:
dd if=/dev/mem bs=32768 skip=31 count=1 | strings -n 10 | grep -i bios
Also, you can use dmidecode, but this can vary on motherboards what the search string is. On my machine right now:
phil@phil:~$ sudo dmidecode -s bios-version
ASUS M2NPV-VM ACPI BIOS Revision 1103
Posted on June 15th, 2008 by Phil Dufault
Filed under: Gentoo, Linux, Ubuntu | 5 Comments »
The developer’s made A TON of improvements, the RIL (radio interface library) now works properly so you can send and receive calls, and send and receive text messages (SMS) in a basic fashion now. As soon as I can get write access to a memory card so I can save my contacts someplace, [...]
Posted on June 4th, 2008 by Phil Dufault
Filed under: Android, HTC Vogue, Linux | No Comments »