Archive for the ‘Linux’ Category

Correct way to install Firefox 3.6 on Ubuntu 9.10 Karmic Koala

January 26th, 2010

First close all your current firefox windows. Then open a Terminal with Applications > Accessories > Terminal. At the $ prompt enter the following:

sudo add-apt-repository ppa:mozillateam/firefox-stable

When prompted for your password enter it and enter the following commands one on each line:

sudo apt-get update
sudo apt-get install firefox-3.6

Enjoy.

Posted in Linux | Comments (0)

Finding perl packages with APT

September 2nd, 2009

If you are attempting to satisfy dependencies for perl software that was NOT available via your favourite repository (this is sometimes unavoidable in enterprise environments) you should AT LEAST attempt to satisfy those dependencies using said repository. The easiest solution is to install ‘apt-file’ from your repo and for any perl modules you can simply call:

apt-file search "LWP::UserAgent"

This will return the following list on Debian Lenny:

liblwp-useragent-determined-perl: /usr/share/man/man3/LWP::UserAgent::Determined.3pm.gz
libtest-mock-lwp-perl: /usr/share/man/man3/Test::Mock::LWP::UserAgent.3pm.gz
libwww-perl: /usr/share/man/man3/LWP::UserAgent.3pm.gz

Now you know that in order to satisfy a dependency on “LWP::UserAgent” you would need to install the ‘libwww-perl’ module from the repo.

If the module is not available via the repo you should next consider installing the package into a custom perl lib directory specifically for the software (and/or user account) in question. To do this read the documentation for the local::lib module in CPAN.

Ultimately your goal should be to not install non-packaged software to /usr/local and by doing so increase the maintainability of your systems.

Posted in Linux, Programming | Comments (0)

Updating bios and/or firmware on Dell servers running Debian or any unsupported OS

July 7th, 2009

These instructions will help you update BIOS, BMC, PERC or any other system firmware on your Dell system running any supported or unsupported OS.

I finally got around to updating our servers to Debian Lenny. We have 1850’s and 2850’s. After lots of trial and error I figured out how to go about updating the bios and various device firmware without a Dell supported Linux environment installed on the server. You should note that instructions below still require basic Linux experience. Another note is that these instructions are OS agnostic and use a livecd which doesn’t care what operating system you actually have installed on the machine itself.

The first step is running the Dell Content Manager to create a custom update repository for your severs. The fun part is actually getting your hands on the thing. You will need to download the Dell Systems Build and Update Utility. I should note that I wasn’t able to get the download to work until I tried with a MS Windows desktop. When/If you are prompted for a Service Tag, just enter one for one of your own servers.

Once the ISO is downloaded you’ll need to mount/copy or extract the ‘contentmanager’ directory onto your desktop. Assuming you are moving forward with the Windows desktop route you’ll want to run the ‘win\wincontent.exe’ (there is also a ‘lin\lincontent.tar’ if you want to try that, I didn’t). Now go find the new directory that was created. Edit the content.ini and change the ‘ftp://’ url to ‘http://’. After you save that, run the ‘contentmanager.exe’. Select ‘Create Custom Server Update Utility’ and ‘Next.’ Click ‘Browse’ and select a directory to dump this repository and click ‘Next.’ Wait for the program to download some meta-data and then un-check ‘Windows’ (leaving ‘Linux’ checked). Now control-click all the server models you need to upgrade and click ‘Next.’ Go get a soda and let it download everything. Once you’ve got your ‘CustomRepository’ go into the ‘repository/sysman’ directory and edit the .XML files in that directory with your favorite editor and look for the ‘path=’ attribute(s) (one for each system type). You’ll see something like ‘path=”sysman\…”‘ change the slash to a ‘/’ so it’ll look like ‘path=”sysman/…”. Save your changes and copy the contents (not the directory itself) of the ‘CustomRepository’ to the root of a FAT32 formatted usbkey.

Now you need to download the OpenManage Server Administrator. Burn it to a CD and then boot it in one of the servers you want to upgrade. Let it boot up all the way (this can take several minutes while network connectivity times out etc. and you answer a couple questions) and once you login as root you need to insert the usbkey. Mount it (you can check ‘dmesg’ output for the device and it’ll be the first partition on there) with something like ‘mkdir /media/disk; mount /dev/sdb1 /media/disk -o ro’. Change directory into ‘/media/disk’ and run the following ‘./suu -u’. Wait for it to analyze your system and update your system to the newest bios and firmwares. You’ll probably see some notifications from snmpd and other stuff, they can be ignored. After you’ve completed all the updates type ‘reboot’. Do not power down your system, some of the updates need the system to be rebooted to complete (such as BIOS updates).

You should now have up-to-date hardware bios/firmwares for your server. I should point out that under the Drivers section for your Service Tag on Dell’s site you might also see something about ‘SCSI Drives’ firmware update. If you are using SCSI drives in your system you might want to get these out of the way as well. There is a Windows .exe you can download which will create a floppy or ISO image which you can boot in your server to update the drive firmware.

I hope this helps out, this was the simplest solution I could find given my environment (no DVD drives, no network connectivity, and the livecd not supporting X on the 1850’s). Good luck! :)

Posted in Linux | Comments (0)

Fedora Core one last time

October 4th, 2005

This is my last post about this disaster of a linux distribution.

  • Install 2 Package(s)
  • Update 39 Package(s)
  • Remove 0 Package(s)
  • Total download size: 92 M

Posted in Linux | Comments (0)

Fedora Core (2.5 weeks later) again

September 17th, 2005

I thought I should keep this joke running because that’s what it is really; a complete  joke. Why do they even bother having releases? I had to double check to make sure I wasn’t tracking rawhide. Just because its F/OSS doesn’t mean it has to suck guys.

  • Install 1 Package(s)
  • Update 60 Package(s)
  • Remove 0 Package(s)
  • Total download size: 88 M

Posted in Linux | Comments (0)

Fedora Core (2.5 weeks later)

August 30th, 2005

Time for another FC4 update a couple weeks later.

  • Install 3 Package(s)
  • Update 38 Package(s)
  • Remove 0 Package(s)
  • Total download size: 151 M

Here piggy piggy piggy. Come on piggy!

Posted in Linux | Comments (0)

Fedora Core

August 11th, 2005

I decided to run an update on my FC4 box today after about 3 weeks of being away from my desk.

  • Install 2 Package(s)
  • Update 85 Package(s)
  • Remove 0 Package(s)
  • Total download size: 226 M

Anyone who uses this OS and doesn’t feel like a complete guinea pig please raise your hand. :)

Posted in Linux | Comments (0)

Fedora Core 3 (Ok, so maybe not)

May 5th, 2005

I went back to FC3 at work. FC4T2 is showing a bit more promise as well. I liked Ubuntu but its very young, and has almost no configuration tools. They use gnome system tools for most stuff, which at best are flaky. Oh well, it was worth a try :) I still stand by the Debian on the server though. 9000 packages are hard to ignore.

Posted in Linux | Comments (0)

Fedora Core 4 Test 1

March 18th, 2005

Well, I think they’ve done it. FC4T1 is officially the most unstable and most broken test/beta/alpha software I’ve had the pleasure to install. To make matters worse the development repo is usually out of sync which means you cant do a dist upgrade because of unfilled dependancies. I’ve been a big Redhat advocate since the RH3 days. I’m pretty much all but convinced that Debian on the server and Ubuntu on the desktop might be the ultimate combo. The only thing really missing from a major linux distro is some kind of binary diff so updating a system can happen as quickly as possible.

Posted in Linux | Comments (0)

Well I finally did it

September 27th, 2004

My IBM A21p came with a 3com 3c556b mini-pci combo card. Its never worked all that great with linux. Not that I’ve ever used it all that much, the 3com modem is completely unsupported by linux (way to go 3com, I love you). I was able to accept that because god forbid I’m not always on broadband :) . The ethernet card on the other hand worked. The kicker was that I always had to disable acpi with acpi=off on all my linux installs for recent 2.4 and the entire 2.6 release since the test versions. NOW, the most recent versions of the linux kernel break REGARDLESS of the acpi parameter.

I did some poking around and found out that you can easily replace these pci cards and I knew that some versions of my laptop (A21p 2629, mine is the HWU version) came with an intel ethernet/lucent modem combo that works great with linux. Sure enough, according to ibm’s website there are a few different cards that are field replaceable in the A21p line (and many other lines for that matter). Over to ebay and in 10 minutes I’ve got a used 06P3809 (ibm part number) mini-pci combo card ordered and it only set me back about $20 bucks shipped.

Installed it today and suprise suprise, it works flawlessly. I haven’t tried out the modem, but all reports seem to indicate that it works fine. I guess none of this changes the fact that this broke completely between a STABLE release of linux. Oh well, sucks to be me. Atleast now I don’t have to dick with the acpi=off thing.

Posted in Linux, Technology | Comments (0)