Archive for June, 2007

Dell Dimension E520 With Ubuntu Linux Review

Monday, June 25th, 2007

As mentioned earlier, I finally broke down and ordered a Dell Dimension E520 with Ubuntu Linux to replace my doddering primary workstation which is four years old at this point. Rather than writing a review right after opening the box, I thought I’d use the new rig for a few weeks and kick it around a bit before summarizing my experiences with the new machine.
Dell Dimension E520 Although I’ve read a couple of reviews of the XPS system here and there, I thought I’d go ahead and post my experiences with the least expensive Dell Ubuntu workstation, the Dell Dimension E520.

The Aesthetics

One thing I noticed as soon as I took the machine out of the box– it’s actually built quite well for an inexpensive workstation. The sides are made from fairly sturdy metal panels, and the general fit and feel was much better than I expected. This is not a machine I would be afraid to put in a car and move across the country with, or use as a doorstop when it gets old.

At the same time I think the majority of Dell’s system designs for the past year or so have been terribly corny and gaudy ripoffs of Apple. I think the only brand identity that Dell has with their hardware is to use a bunch of different colors and grades of material, and then top it off by making sure it says DELL. YES, ITS A MOTHERFUCKING DELL. HEY, LOOK, I’M STILL A DELL everywhere. For the price I can’t complain, but I think Dell could certainly stand to continue to try and make their machines look less like IM IN UR HOUSE LOOKING LIKE UR COMPUTRON, and more like something you don’t mind having on display. I think recent designs of LCD TV’s are a good example of this.

I’d take some photos of the new machine, but with 3 other machines on my desk (a server, my old workstation, and my work laptop) there’s just too much chaos on my desk for such things.

Ubuntu Installation & Configuration

There’s really not much to report here, though it was certainly pretty painless compared to the recent experience I had installing Ubuntu Feisty on a Lenovo T60. When I booted-up the machine some sort of Dell looking screen appeared that I had to agree to, and then the Ubuntu installation started. Admittedly it’s been awhile so I can’t remember every exact detail, but essentially there were only 4 install screens which let me set things such as time zone, keyboard layout, currency, and language preference, and it was pretty much done.

Once it rebooted I was somewhat disappointed– the display did not account for the Dell 2007WFP 20″ widescreen monitor I ordered and would only display in 1024×768. This would be a complete show-stopper for the average computer user, and I couldn’t believe that this wasn’t something which was accounted for in the installation process.

Also missing was the restricted driver for the Nvidia video card. This oversight is certainly debatable, but it also goes to show that there wasn’t much time put into tweaking the shipped version of Ubuntu to be Dell friendly (at least on the Dimension E520). I ended-up having to do the dreadful task of poking around in xorg.conf to get the monitor and video card to play nicely with each other, and now I’m using it in 1680×1050 glory.

After finally getting the resolution tweaked, I got all of the multimedia foo in working order by installing various codecs and applications using Automatix. I also installed VMWare Server and created a Windows XP virtual machine just because I could and also attempt to push the new hardware a bit, but I have yet to really do anything in the Virtual Machine other than get updates installed.

I’m still waiting for the whole Compiz / Beryl merger to happen with an actual release, so I haven’t played with the window effects at all. I did install Synergy which was quite painless and can now use the same mouse and keyboard as well as copy and paste across two other machines. Very nice!

Life With Ubuntu

Being that I switched to using Ubuntu as my primary operating system at home last year, and use it on my work laptop for writing software, I pretty much already knew what to expect. For the most part Ubuntu provides you with ways do do almost everything you can already do with Windows, including:

  • Surfing the internet and using various instant messaging protocols
  • An office suite for Word Processing, Spreadsheets, etc
  • Support for removable media such as USB drives or Flash Memory cards from digital cameras
  • Image editing and photo management
  • Managing your iPod and music library
  • Support for video, music, flash, and more via Automatix
  • The ability to burn CD’s and DVD’s
  • Built-in support for printers and other devices

About the only thing I can’t do with it at the moment is manage my Samsung Blackjack smartphone. I’ll probably keep my old Windows XP box around specifically for this purpose. Otherwise, Ubuntu has been a really great choice for me. In fact, one thing that surprised me is that it automatically installed a driver for and supported an old 3Com HomeConnect webcam I have which is about 7 years old now and almost impossible to find Windows drivers for.

Conclusion

I’m at a point in life where I just don’t have time to build machines from scratch and troubleshoot their idiosyncrasies, so I prefer to buy pre-assembeled machines. I seem to be a repeat Dell customer because their machines are reasonably priced, run quietly, and are generally built fairly well for the money. Also, because they are such a popular platform, it’s fairly easy to find people who have had similar issues as you (especially in regards to Linux issues) by a well crafted Google search.

For a price just a bit North of $1,000 including a nice monitor and free shipping, I’m very happy with my Dell Dimension E520 system and would recommend it to others interested in getting a new Ubuntu system. Just make sure you customize the machine with more than the base options so you’ll be happier with it in the long run, and search online for Dell coupons and try several different ones for the best deal before placing your order. Granted you might want to order a minimum amount of RAM and install your own as it’s quite a bit cheaper to do so.

At the same time, I don’t think Dell did a very good job of integrating Dell specific needs into the install process. I think that Ubuntu Linux is good enough once configured correctly by someone who knows what they are doing for 80% of computer users, and Dell missed a chance to show the general populace that there are choices beyond Windows DRM Dogfood and Mac OS. However, give Ubuntu a couple more years at the pace they’ve been innovating and maybe they’ll take care of it themselves.

Et Cetera

If it’s of any comfort, I have no association with Dell and just wanted to present my honest experience. If you liked the article or also have a Dell E520 and are a new visitor, please come back as I’ll be posting tips and how-to’s for a few configuration issues I came across along the way with this machine and will do my best to keep this post updated. You can also subscribe to my RSS Feed.

How To Display Linux VPS Memory Usage

Wednesday, June 20th, 2007

In my experience, the hardest thing to work around when using a VPS for hosting is limited memory. It’s definitely a challenge to try and tune a database, web server, and application server for load under the constraints of a VPS plan (typically 512 MB or less of RAM). The best solution I came-up with was to use a baseline of about 70% of my guaranteed memory quota when the various servers started up, with 30% of my guaranteed memory free for high traffic situations. This seems to be working for me pretty well so far, especially considering that my memory usage can theoretically temporarily burst to 300% of my guaranteed memory quota.

However hosting in a VPS can present some challenges when trying to determine load and memory usage for your VPS. For instance, when using top, the memory statistics displayed represent the whole server and not your VPS. That said, I’ve only found one way to get an idea of what my memory usage is, how much I have reserved, and how much my VPS is allowed to burst to via command line is this script:

[code]
#!/bin/bash
bean=`cat /proc/user_beancounters`
guar=`echo “$bean” | grep vmguar | awk ‘{ print $4;}’`
burst=`echo “$bean” | grep privvm | awk ‘{ print $5;}’`
priv=`echo “$bean” | grep privvm | awk ‘{ print $2;}’`
let total=guar/256
let used=priv/256
let burst=burst/256
echo “VPS memory usage:”
echo “Used: $used MB”
echo “Total: $total MB”
echo “Burstable to: $burst MB”
[/code]

As far as I know this should work under any Virtuozzo Linux based virtual private server, but let everyone know in the comments whether or not it works for you on your given platform.

Installing A Dell 1100 Laser Printer in Ubuntu Linux

Friday, June 8th, 2007

I’ve had an Dell 1100 laser printer for several years which has been both cost-effective and dependable for my low volume printing needs (coursework, maps, shopping lists, etc.). Trying to find how to get it to work on Linux wasn’t quite as easy to find on Google as it should have been, so I thought I’d post a quick entry about it and hope that it helps someone else out.

In Linux (I use Ubuntu but this should work for any other distribution), when adding the Dell 1100 printer, select the Samsung ML-1020 printer driver. That’s all you need to do, and it should now work for you.

I must admit, I was actually somewhat surprised that this printer would work in Linux given it’s price point.

My List of Favorite Firefox Add-ons

Friday, June 8th, 2007

Between many machines at home, Virtual Machines, a work laptop, etc, I always seem to manage installing Firefox from scratch at least once a month. There are several add-ons that I pretty much require for Firefox to work for me, and I thought I should post them somewhere. I know that there have been at least 9342 billion Firefox add-on posts over the years, but this is more of a page for me to easily pull-up each time I install Firefox so I can quickly get all of the add-ons installed. However, maybe someone else will find this list useful or will run across an add-on which makes their interwebs experience even moar bettar.

  1. Adblock Plus
  2. Ever been to a Sys-Con site unprotected by this add-on? Bad idea. Personally I do white list some of the ad networks like Google Ads because I don’t mind them, but this add-on does help a lot with the really annoying and hijacking type ads.

  3. Adblock Filterset.G Updater
  4. Keeps Adblock Plus up to date with fresh blocked URL’s.

  5. Add Bookmark Here
  6. Makes bookmarking in folders and sub-folders much easier.

  7. Allow Right Click
  8. Not sure how effective this is, but what the heck.

  9. BugMeNot
  10. Fills in pre-registered account information at “registration required” sites.

  11. ColorZilla
  12. Allows you to get the RGB and Hex value of any color via a eye dropper.

  13. del.icio.us “Classic”
  14. I use del.icio.us as a huge but filtered bookmark repository, and this helps me with that.

  15. DownloadThemAll!
  16. Used to download files without having to click on each link.

  17. FasterFox
  18. Moar faster == moar bettar.

  19. ForecastFox
  20. A look at what’s going on outside.

  21. GMail Manager
  22. Makes it easy to manage multiple GMail accounts, and also forces all GMail activity to happen over https.

  23. Greasemonkey
  24. Magic custom scripty goodness.

  25. IE Tab
  26. Allows you to load pages using IE within a Firefox Tab. Only works on Windows?

  27. Image Zoom
  28. A fun hack that allows you to enlarge and shrink images on the fly.

  29. me.dium
  30. - What I spend a large amount of time working on, and interesting way to connect with others and discover new sites on the interwebs to boot.

  31. MeasureIt
  32. Get pixel measurements of things on screen.

  33. PDF Download
  34. Ever click on a PDF and had your computer explode? This helps fix that.

  35. TargetAlert
  36. Displays a tiny icon representing content type for non-HTML links.

  37. TwitterFox
  38. I’m not completely sold on this plug-in yet because I’ve had issues with it, but Twitter hasn’t been the most stable either.

  39. VideoDownloader
  40. Allows you to download videos from several popular sites including YouTube.

  41. View formatted source
  42. Good for web types.

  43. View Source Chart
  44. See above.

  45. Web Developer
  46. I’m sure you’ve already heard of this one too.

I think that’s pretty much it. Let me know if you have any other Firefox add-ons I should look at or substitute. This will be a living list, so don’t be let down if it changes over time.