Battles With Boredom

August 31, 2006

My Ubuntu User Number

Filed under: Techspeak — Peter Nikolaidis @ 2:20 pm

Hm. Looks like I’m becoming an Ubuntu fan. The Ubuntu Counter Project - user number # 7578

August 28, 2006

How I Moved my Firefox and Thunderbird Settings from Windows to Mac OS X

Filed under: Techspeak — Peter Nikolaidis @ 5:31 pm

I love Firefox and Thunderbird. One of my favorite features of both is that they are available on the three platforms that I use on a daily basis: Windows, Mac OS X, and Linux.

The hardest part in moving your profiles from Windows to Mac (or Mac to Windows) is finding them in the first place. On Windows, I found my Firefox in C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles
where [username] would be your username.

I located my Thunderbird profile in C:\Documents and Settings\[username]\Local Settings\Application Data\Thunderbird\Profiles.

Since I have a network, and Windows shares its system drives by default, the easiest way for me to connect the two systems to transfer the files was from my Mac. In Finder, I pressed Command-k and entered the path to my Windows machine’s hard drive, like so:

smb://[computername]/c$

where [computername] is the name of my PC. I was prompted for my Windows username and password, and then my Windows computer’s hard drive showed up on the desktop. From there it was a matter of just drilling down into the folders listed above to the Profiles directory.

Then, on the Mac, I had to locate the appropriate preferences folders. I opened my hard drive, then clicked on my username from the icon bar at the left. From there, I opened Library, Application Support, FireFox, Profiles. There I saw a profile named, in my case, ijawgk1.default. On Windows, the folder was named 9u4pqopm.default. The names are not important. What is important, is that you copy the contents of this folder on Windows into the folder on the Mac. Do not copy the whole folder – open the folder under your Profiles folder, select all files and folders underneath, and then copy all of them to the appropriate folder on the Mac. Restart Firefox or Thunderbird, and voila! You should see all of your customized settings, bookmarks, addresses, extensions, etc. on your Mac.

If you want to move your profile from Mac to Windows, simply reverse the copy, copying the contents of the profile from the Mac to Windows.

If you’re using Linux, you can do the same thing. You just need to know that your profiles are located in ~/.mozilla/firefox and ~/.mozilla-thunderbird.

August 21, 2006

How I Installed Zabbix 1.1 on Ubuntu 6.06

Filed under: Techspeak — Peter Nikolaidis @ 7:34 am

After reading about Zabbix again in Linux Server Hacks, Vol. 2 I decided to take another stab at installing it. I had given it a shot a few months ago on an older Fedora box, and because of dependancy hell, gave up without getting it installed. So I figured I’d try again on my Ubuntu box.

The installation instructions on the Zabbix web site worked, but only after I installed some pre-requisites. Assuming you don’t yet have Apache2, PHP, and MySQL installed (which I did), you’d do the following:

sudo apt-get install apache2 php5 mysql-server mysql-common mysql-client

But we’re not quite ready to configure Zabbix yet. These are the obvious re-requisites. The ones that you can’t find so easily with the error messages you get back from running the configure command are installed with the following:

sudo apt-get install libsnmp9-dev net-snmp-devel libc6-dev libmysqlclient12-dev

These include libraries needed for snmp and MySQL connectivity. Once I put these in place, I was able to configure Zabbix with the following command:

/configure --enable-server --with-mysql --with-net-snmp