Category Archives: Geeking Out

Replacing Redhat with Ubuntu

I should apologize to any regular readers, who likely don’t care one little bit about Linux, but I feel like I need to let people know, just in case anyone out there is pondering a new REDHAT install. DON’T! I’ve been a RedHat user (though not necessarily direct administrator) for 7 years or so now. I was running around in 1999 with a 15.4″ OpenBSD powered laptop and attached Ricochet wireless modem. Ricochet is long since gone (though the name has been resurrected), though OpenBSD has powered along…

 Pictures Ricochet Modem Rip

Back in 2000, I attempted putting OpenBSD to the torture test of a site I was managing, and OpenBSD failed miserably… After 2 dozen kernel recompiles and openbsd mailing list inquiries, I finally decided to thrown in OpenBSD’s towel and switch to *anything* that would work… My online shop was getting hammered and I just needed to help people buy. So, my good buddy Mark helped me install Mandrake, and I’ve been happily using various RedHat based Linuxes ever since.

Today, RedHat has failed me much as OpenBSD failed me back in 2000. RedHat didn’t simply crash under a heavy load (for the record, it’s never done that to me), but RedHat’s RPM Hell is just too much. I don’t have the time or the patience to continue wasting my time with yum and rpmfind whenever yum fails me.

There is a way out of RPM Hell. Ubuntu: Linux for human beings. If you’re considering a new Linux install, I implore you to give Ubuntu a shot. You most certainly thank me. Stop wgetting random RPMs from rpmfind each time Yum fails to deliver what you want. Finally, install most any package you are looking for, FAST. Spend the extra time getting your job done. Once you get Ubuntu installed, just run:

# Just use “apt-cache search some package“, for example: apt-cache search tracker # Ahh, found it. I wanted request-tracker3.4 sudo apt-get install request-tracker3.4


Mac OS X: SSL/TLS LDAP Connections from Address Book

If you attempt to connect Mac OS X’s address book to an LDAP Server via SSL you’re in for a bit of a surprise. Akin to Mac OS X’s haphazard support for SSL in (SSL is hardcoded to ONLY work on port 993, if SSL is checked but a different port is selected, SSL will not be enabled)…

Well, this time around the error is less obvious, and easier to work around…

SSL services are generally “wrapped around” a protocol, which causes the protocol to require a separate port to operate. HTTPS and IMAPS are good examples of this. On the other hand, TLS protocols generally are a feature of a protocol, and can be activated in the middle of a session. SMTP is a good example of this.

In spite of their similarities, TLS and SSL are not necessarily compatible, though TLS can transform itself into SSLv3 in certain circumstances…

LDAP implementations would generally provide LDAP on port 389 and SSL LDAP (ldaps) on port 636. However, Apple AddressBook doesn’t actually do SSL, it does TLS, which is interwoven into the LDAP protocol and can happens port 389.

So, to securely use your LDAP server, you should select the “SSL” checkbox, but then override the port to 389.


Web Browser Color Management Tutorial

Web Browser Color Management Tutorial: Did you know that Safari, OmniWeb and Mac IE are the only browsers on the planet with “Color Management”. Do you know what color management does?

Basically, you can optionally attach an “ICC Color Profile” to your JPEGS. If your viewing application (usually your web browser) supports Color Profiles, that profile will be used to render the image on your screen.

Unfortunately, none of this matters much because even Apple advises that

Printers using RA-4 will almost always advise working in sRGB IEC61966-2.1, which is also the preferred colorspace for the Internet.

Of course, there’s one more wrinkle to watch out for. Photoshop’s default “Save for the Web” (Image Ready) feature defaults to the AdobeRGB profile, which isn’t really the color space for online. Whether or not you use Save for the Web, in Photoshop:

Photoshop> Image> Mode> Convert To Profile: sRGB IEC61966-2.1 BEFORE Saving for the Web, or going to ImageReady, or posting on the web

Why color changes when Save for Web, ImageReady, and or the internet?







Apache WordPress Rewrite Rules…

Picture 2-1Thanks to the PerishablePress site for helping me with the correct rewrite rules to get my WordPress configuration running…. The htaccess Rules for all WordPress Permalinks. This will make your Permalinks as well as other content links all function properly. Works great!

[ #1 ] If WordPress installed in the root directory »

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

[ #2 ] If WordPress installed in a subdirectory called “foo” »

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /foo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /foo/index.php [L] </IfModule> # END WordPress