CheckGMail — Fixing 401 error with Google Apps accounts in Ubuntu/Linux Mint.

I’m a pretty heavy Gmail user and I’ve recently gotten everything moved over to my account (finally), but getting some of my ancillary non-Google stuff to play along has been quite difficult.

I just baught a Samsung/Google Nexus S (which I LOVE! and Gingerbread is fantastic) and paired my Google Apps account to it to find I cannot use Google Apps Google Checkout account to buy apps from the Android Market (!!!!@&@&), but that is a whole other article…

Anyhoo, I’ve found that the stock CheckGMail you get from the repos doesn’t seem to work and if you Google around you’ll find complains back to 2007 for various issues related to GMail or the project itself.  Various fixes are put forth requiring you to grab the latest subversion snapshot to replacing certain perl libraries and disabling this or that.

These are the fixes I used to get the program working again with my google apps account…

Continue reading

Share

Linux Mint Debian Edition – Fixing the Clock Applet

Linux Mint is awesome!

From their site:

The purpose of Linux Mint is to produce a modern, elegant and comfortable operating system which is both powerful and easy to use.

Started in 2006, Linux Mint is now the 4th most widely used home operating system behind Microsoft Windows, Apple Mac OS and Canonical’s Ubuntu.

It installs beautifully and just works!

Linux Mint Debian Edition is awesome++

Linux Mint Debian Edition (LMDE) is a rolling distribution based on Debian Testing.

The purpose of LMDE is to look identical to the main edition and to provide the same functionality while using Debian as a base.

It’s a little rougher around the edges, but the rolling updates makes it totally worth it,

Continue reading

Share

New method for installing Python 2.6.4 (with mysql-python) on CentOS 5.5

So I wrote in an earlier post about alt-installing Python 2.6 from source on CentOS, which was easy enough.  But, this made it more difficult to maintain and deploy as well as add modules.  So, I was lucky enough to come across a nice little yum repository hosted by Rizwan Kassim (Geekymedia.com) that contained an RPM that would do the alt-install work for me :)

I’m aware that EPEL has a Python 2.6 package, but the Geekymedia RPMs have a whole flurry of modules you can add as well as an RPM for setuptools which will make your life immeasurably easier when running Python 2.4 and 2.6 side-by-side for installing python packages.

The only problems with the Geekymedia RPMs are that the binary packages are all 32-bit (I’m running servers here folks!) and I was unable to get the MySQL-python26 one to work right for me.

So, let’s get down to business.

Continue reading

Share

Daemonizing the Apache Hive Thrift server on CentOS

Earlier I showed you how to setup Hadoop, then how to setup Hive to use a MySQL-backed Metastore.

These notes presume that you have setup your Hive metastore to use MySQL. If you don’t you’ll only be able to have one Hive instance running at a time (so no CLI while the HWI or thrift server is a-runnin’)

Got carried away, I daemonized myself :P

Continue reading

Share

Installing Apache Hive with a MySQL Metastore in CentOS

Hive is a pretty nifty data warehousing extension of Hadoop that lets you dump structured data into HDFS and query it using a SQL-like language called HiveQL which runs all the map/reduce junk for you.

It’s pretty darn simple to install, but if you want to really free it up you need to do some tweaking.

Continue reading

Share

Alt-Installing Python 2.6 from source in CentOS

I work with some smart folks who need the latest stuff to get the job done. However, this can sometimes be a problem when you use a more conservative (read: stable) Linux distribution like CentOS.

You see, CentOS 5 comes bundled with Python 2.4 where Fedora or Ubuntu (or Linux Mint) ship with Python 2.6.

(nathan@citadel:~)$ cat /etc/issue
Linux Mint 9 Gloria - Main Edition \n \l
(nathan@citadel:~)$ python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
(nathan@test1:~)$ cat /etc/issue
CentOS release 5.5 (Final)
(nathan@test1:~)$ python
Python 2.4.3 (#1, Sep  3 2009, 15:37:37)

Continue reading

Share

Installing Apache Cassandra on CentOS

From Cassandra’s site:

The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo’s fully distributed design and Bigtable’s ColumnFamily-based data model.

It’s one of the more popular NoSQL data stores out there and at Outbrain we’ve been moving some parts of our service from MySQL to it.

I love it as an Ops guy because it just sorta works… I set it up, fire it up and it goes.  Mind that you need to set it up right in the beginning, but that is another thing all together and I won’t get into configuration and implementation, just deployment.

Continue reading

Share