Old Computer? No Problem! Linux Saves The Day.

Want to know what utilizes 54.3 MB of RAM idle at 1% CPU utilization on a Gateway M250 laptopCrunchBang Linux, that’s what!

It’s always a breath of fresh air when you are able to resurrect older hardware that most people would throw right into the trash with a dash of Linux.

Granted, this M250 laptop isn’t in its default config…I’ve updated it from 512MB of RAM to 2GB of RAM…which puts it at the maximum it can recognize.  It is running a Pentium M 740 Processor that runs at 1.73 Ghz and was part of the Centrino line from Intel.  It’s not breaking any land speed records but it hums along nicely.  I can upgrade it still to a Pentium M 760 and then that too will be maxed out.  For now, this laptop would run Windows XP normally and probably not do a fantastic job at it with a bunch of apps installed.

With Linux, I can load it up with just about anything I want and things just work.  If you haven’t taken a look at CrunchBang Linux in a while, you should do so immediately.  It’s like straight up octane fuel for your older computers.  I’m pleased that CrunchBang uses Debian for its base so that I am not in want of obscure packages and it uses Openbox, one of my favorite window managers, for its default desktop.

During the writing of this article using Firefox…er Iceweasel 8.0…it’s humming nicely at 175MB of RAM being used and about 15% CPU.  Very pleased thus far.  I’ll include a screenshot below and I’ll do a more in depth review of CrunchBang soon.

Remember, don’t throw out your old computers/laptops.  Resurrect them with Linux…particularly a VERY well put together and nice distribution like CrunchBang Linux!

 

CrunchBang Linux
CrunchBang Linux

Install Firefox 4 on Linux Mint Debian Edition (LMDE)

I am testing out Linux Mint Debian Edition (LMDE) and wanted to benefit from Firefox 4 and all its speediness.  It’s not available in the repositories and since LMDE uses Firefox and NOT Iceweasel, you really can’t install it from the Mozilla Debian repository.  So, I decided to manually install things.

Normally I don’t like to manually install things outside the repository because when updates are pushed, there is no upstream source to differentiate from…so your chances of running outdated software increase unless you are vigilant.  Luckily, I consider myself vigilant.  Unfortunately, I’m not as vigilant as I consider myself to be…so I’ve added in reminders for myself on my Google calendar to check for Firefox 4 updates.

So, here’s how to get Firefox 4 onto your LMDE desktop…First, uninstall the version of Firefox you have using Synaptic or the software center.  Open a terminal up and let’s get started.

Create a temporary directory to house a downloaded and unzipped Firefox:

cd ~/ && mkdir tmp && cd tmp/

Next, let’s download and unzip it (please note this is for en-US version only…you’ll have to adjust the URL for diff. languages):

32bit

wget http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-4.0/linux-i686/en-US/firefox-4.0.tar.bz2

64bit

wget http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-4.0/linux-x86_64/en-US/firefox-4.0.tar.bz2

Now let’s unzip and extract it:

tar -xvjf firefox*.tar.bz2

Now let’s move the newly extracted items to /usr/local so it can be used by the system:

sudo mv firefox /usr/local/firefox4

Now we need to create a link so that applications calling firefox 4 access it correctly:

sudo ln -s /usr/local/firefox4/firefox /usr/local/bin/firefox4

Ok, the hard part is done…but you don’t have a menu entry for it nor a shortcut you can execute.  Let’s do that now.  Right click your mint menu and choose “edit menu”.  Now, select the “Internet” menu in the left hand pane.  Click the “New Item” button.  The following window will pop up…fill it in with the information contained in the picture below:

The command line should be (remember the link we made above? let’s use it!):

/usr/local/firefox4/firefox %u

launcher properties

Notice in the picture above the Firefox icon is present…yours most likely isn’t.  In order to set the icon, click the area where it appears above and then select the following image:

When you’re finished, click close.  Firefox 4 should now appear under “Internet” in your Mint Menu.  You can now right click that item and add it to your favorites if you wish.

Now let’s make sure you list Firefox 4 as the default web browser for Gnome.  Do this by opening up the control center in the Mint Menu.  Select “Preferred Applications” inside the control center.  Make sure that you choose ‘custom’ in the drop down menu shown below and the path for the command will be the same as it was for your launcher but instead of a %u you can use a %s at the end of the command (as shown in the picture below):

preferred applications

That should be everything you need to have a good Firefox 4 experience in LMDE.  To uninstall things, you can simply delete the menu items and then delete the directories we created during the install process.

Hopefully this will help those of you out there who want Firefox 4 on your LMDE install!

Back to the Basics with Debian

Sometimes, you just have so many problems with the distribution you’re running that you have to wipe it out with a clean slate. I did that this past week and am now using Debian.

With using Debian there comes a feeling of being back to the very basic of Linux distros…much in the same way when you use Arch…it just feels plain, unencumbered, and basic and there is a feeling you get when build something from nothing…you start with a kernel and just enough CLI tools and create your house…then live in it.

It feels good to be stable. It feels good to not have to worry about programs crashing, the net disconnecting, or not being able to install programs.

People like to ride the unstable or testing route with most things out there…as I move forward in my Linux journey, I find myself looking to be less and less cutting edge and more and more stable. Plus, if there is a program out there that needs updating…backports are always a good way to get them.

I’m enjoying my new digs and will look to getting back into the swing of posting enjoyable articles and how-to’s in the upcoming weeks.

Interesting Statistics

Very interesting statistics that I’ve noticed since moving the site to a Linode VPS.

If you take a look at the graphic below, the spike in the middle will probably stick out quite a bit.  Oddly enough, the spike I noticed in CPU percentage used (which is regulated for VPS at Linode) also spiked up disk usage…mainly because I began to swap when cpu/ram use skyrocketed.  All of this happened with Ubuntu 10.04 installed.  CentOS was the first distro I tried but I quickly switched to Ubuntu when I spotted a really nice how-to in the Linode document library.  Oh, and please excuse my horrible gimp skills on the image below…it was a quick and dirty editing of the image:

cpu usage

After switching to Ubuntu, I began receiving alarms for my account due to the high usage of CPU and disk.  I attempted to tweak settings and configuration files for about a week and realized it just wasn’t going to work for me.  I switched to Debian Lenny and the move was a positive as is reflected in these pictures.

disk usage

I was hoping Ubuntu 10.04 would fit for me since it is a long term support (LTS) release.  CentOS is my normal server distribution of choice and I really wanted to branch out and go with something different.  I used a Linode Stackscript for WordPress for CentOS but elected for vanilla installs of Ubuntu and Debian aftwards (I didn’t like NOT knowing what was installed when I first logged in…call me a control freak).

I just found it interesting that Ubuntu 10.04 did so horribly in this instance.  After investigating, I found a couple of likely suspects:

  1. Default Apache install in Ubuntu leaves a lot to be desired..even after tweaking both it and PHP for days I couldn’t get them to lay off the resources.  Even switching to mpm_worker and FastCGI did little to settle things down.
  2. Ubuntu swappiness is bad…it is set at 60 (I use 10 normally) and it swapped every chance it could get…it’s set by default to swap more than it should.
  3. mod_php on Ubuntu is hungry for all your cpu and ram and disk; be warned!

Debian, as the parent distribution of Ubuntu, would most likely suffer from the same problems…except it doesn’t.  Things are working great with it and I’d recommend it for any of your server needs!  Has anyone else seen this oddity with Ubuntu 10.04?  If so, please drop me a comment below.

Linspire to Become “LinBuntu”, CNR goes into Fiesty

That’s right…Linspire will now use Ubuntu for its base instead of straight Debian. Linspire also announced a “technology partnership” with Canonical. Also in the announcement is that Ubuntu will be using CNR (Click and Run) technology in Release 7.04 “Fiesty Fawn”…which will link directly to Linspire’s CNR warehouse.

Now users will be able to install both commercial and non-commercial software as well as proprietary multimedia codecs through the Click and Run Repositories with a single click of the mouse.

From a business perspective, It makes perfect sense for Linspire to do this…it’s a winning situation for them…they get to ride the popularity coat tails of Ubuntu and they get a standardized update schedule (which signifies stability in Business). With Ubuntu announcing previously that it would begin shipping with proprietary binaries installed, you can also see how Canonical set themselves up for this as well…when you open the door a crack (for binaries), you may just as well open it up all the way right?

I’m not sure what to think of this.

It also makes me wonder what will happen when something goes wrong in this “partnership” (as the announcement states it is).

Will one company buy out the other? Will one become the bitter and scorned outsider when a separation occurs? Will none of this happen at all? Did I leave the iron on? (sorry, last one is my wandering mind).

Who’s going to be the official support for these installed applications (Canonical or Linspire)? Will there be any official support? Normally, there is official support when you buy software…I wonder what will happen here…

What do you think of this? Drop me a comment below and let me know.

UPDATE: An official FAQ has been released.

Installing Linux INSIDE of Microsoft

Are you leery of installing Linux onto your Windows PC? Would you like to try out this Linux thing but are you reluctant to make room for it on your current hard drive for fear of messing something up?…Good News! You can now install Debian (and Ubuntu) safely from your Windows desktop WITHOUT MESSING UP YOUR HARD DRIVE! How? Simple. Visit either of these websites:

Debian:

Install Debian in Windows

Ubuntu:

Install Ubuntu in Windows

Follow the instructions and enjoy Linux safely and securely without nuking Windows. It’s like a crutch for those of you reluctant to put the full weight on that one foot. If you are confused about what this Linux thing might be…visit this flash presentation to get an idea and welcome to the world of Linux! We’re glad you came aboard! Hopefully, you’ll make the choice many have already made to run Linux exclusively on our PCs 😀

Creative Commons License
Except where otherwise noted, the content on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.