Archive

Posts Tagged ‘Linux’

Firefox 3 slow? Time to vacuum the database…

December 7th, 2009 Glenn Comments off

From mozillalinks.org

A few months ago, I posted how to improve Firefox performance by defragmenting its database files executing SQLite VACUUM command. The only con was that it required a Firefox restart to execute the command.
Thanks to Mozilla’s Jeremy Orem, we have now learned it can be done from within Firefox in two short steps:
* Open the Error Console: Tools menu/Error Console
* In the Code text box paste this (it’s a single line):
Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL(“VACUUM”);
* Press Evaluate. All the UI will freeze for a few seconds while databases are VACUUMed
Note however that the procedure optimizes the Places database only, but this is precisely where you will get the most significant performance improvements.

Categories: Linux, Quick cuts Tags: , , , , ,

Ubuntu 9.04 bug with networking directory creation « RimuHosting Blog

September 10th, 2009 Glenn Comments off

Ubuntu 9.04 bug with networking directory creation « RimuHosting Blog.

I ran ifup and got the following errors
root@charon ~ # ifup eth0
ifup: failed to open statefile /var/run/network/ifstate: No such file or directory
… so i checked and /var/run/network did not exist… This link had a bit more technical information. They said look for  the following files and remove them.
/etc/udev/rules.d/85-ifupdown.rules
/lib/udev/rules.d/85-ifupdown.rules

A good solution to a tricky issue after an major upgrade.

While I am a big fan of Ubuntu and I use it regularly on my desktop, its fair to say that I prefer not to use it for server installations. The same things goes for Fedora. Actually just don’t use Fedora :) . Silly bugs like those above are one of the reasons.

If I had to make a recommendation, it would be for Debian stable or CentOS/RHEL. Both are reasonably easy to use, with great community support. And I find they have a much more more consistent toolchain so that things are less likely to break and are better testing before getting into production systems. Keeping in mind this is for a server.

Mind you, no distro is 100% perfect, and some needs will differ. All YMMV and IMHO :)

Using a GIT repository

May 20th, 2009 Glenn Comments off

So you want to use a revision control system and you picked git? Cool :) . Assuming you are setting a service up from scratch, check out the following… Read more…

Canonical and RedMonk release survey on Ubuntu Server Usage

February 5th, 2009 Glenn Comments off

Canonical and analyst firm RedMonk released findings of a survey sent to thousands of Ubuntu Server users. It was developed with the Ubuntu community and was completed by almost 7,000 respondents. The companies says the survey confirmed that Ubuntu was being widely used in the most common workloads (web, print, file, database and mail servers) and that it is considered mission critical by most respondents.

via Canonical and RedMonk release survey on Ubuntu Server Usage.

You can grab the review results directly from here

Update: I found an interesting comparision betweem Ubuntu and Windows performance. The author plainly states they are a Linux proponent, but tries to give a fair comparision.

How I first got into Linux

February 5th, 2009 Glenn Comments off

A friend asked me today how I first got into Linux. Which got me thinking, since it’s a bit of a way back in the mists of time, and I couldn’t quite recall :) .

The process started about when Windows XP came out I think. My PC then was a lively 486DX33.  I believe that was time I started using Fedora (perhaps before the Core release even).

From there after occasional use I moved to Gentoo, about the 2004 release. Which was great for a bit until I noticed I was spending 98% of my time not just building and installing but fixing issues in order to have a functional system as well.

Once I started attending tech I had little time to muck about with that, so I moved on to Ubuntu. Since the tech I was attending was a Windows shop I spent a lot less time working with linux than I would have otherwise.

Since graduating from there I managed to get a paying job working with Linux and all the fun staff that goes with it. which is so awesome I still have to pinch myself almost every day even after a year working there :) . And primarily I have stuck with the Ubuntu distro. Rather I should say Kubuntu since KDE is so the best UI for linux about! Even the Father of Linux thinks so!

Blessed be…

Categories: Am a Geek, Linux Tags: , , , , ,

What if Linux Distros were Women?

April 7th, 2007 Glenn Comments off

What if Linux Distros were Women? | Beige Binary Blog

Funny as take on linux alternatives….