Friday, November 20, 2009

Virtual Machines

A few years back a co-worker turned me on to "virtual machines". The technology has been available for large mainframe systems for many hears (1970's), but has become usable on PC systems over the past decade.

A "virtual machine" allows you to create a "virtual" computer system for running software that won't run on the host system, or, needs to be insulated from the host system.
VM's give you the ability to run multiple operating systems at the same time on the same physical hardware. I am running Fedora 11 as the host and other versions of Linux, DOS and/or Windows as guests.

I started out using VMWare workstation, and it served me well over the years. While the price was not unreasonable, it was not free. There is a VMWare player that will let you run virtual machines, but the workstation license is "required" to create virtual machines.

More recently, Phil, another co-worker, turned me on to VirtualBox. I have found it to be every bit as useful, stable and easy to use as VMWare at my kind of price point. Free.

Having virtual machines can give you the ability to run software (Tax Cut in my case) once in a while on Windows, while maintaining the security of a Linux system for daily use.

I also gives you the ability to engage in "high risk" activities on a virtual operating system (like experimental system configuration changes or testing the effectiveness of virus protection software). It also helps me support friends and relatives on different operating systems as I can walk them through the things they need help with from the comfort of my desk.

Finally, just like Linux, when you take the worry and hassle out of doing something, it just might become fun again.

These are screen shots of a few of my "virtual" boxes, all of these screen shots were made on my main Fedora 11 machine running ....

Linux - Fedora 12








Linux - Ubuntu 9.10







Linux - Mint 7









Windows - XP Pro









Windows - 2000 Pro










Mint 7 on VirtualBox

I installed Mint 7 Linux on a virtual machine (VirtualBox). Setup was:

512M RAM
10G Disk, Fixed Size
32M Video RAM

I installed correctly, including the guest operating system drivers, and ran well.

The look and feel reminds me very much of Windows XP ... seems like this may be a comfortable fit for folks wanting to try Linux.

Ubuntu 9.10 on VirtualBox

Well, Ubuntu 9.10 is finally here.

I took it for a spin in a Virtual Machine (VirtualBox). The setup was:

512M RAM
10G Disk, Fixed Size
32M Video RAM

After installing the guest operating system's drivers it handled as advertised.

I need to play with it more, but, time is at a premium these days.

Fedora 12 on VirtualBox

Well, I loaded up Fedora 12 in a virtual machine (VirtualBox) and took it for a spin. I must say, early impressions are:

1. Clean
2. Simple
3. Fast

The install went without a hitch ... I chose the following VM settings:

512M RAM
10G Disk, fixed size
32M RAM for video

I installed the OS and the VM's drivers for the guest system (in this case Fedora 12 was the guest, and my main system, running Fedora 11, was the host).

Next I added yum repositories for:

RPM Fusion (for non-free audio/video codecs)
Adobe Flash / Acrobat reader

It seems impossible, but, I would say the optimizations in Fedora 12 give the OS a snappier feel in the VM than Fedora 11 has running on a real machine.

Will write more later ... pressing on to updating the Acer Aspire One netbook ... so far ... so good.

Tuesday, November 10, 2009

Save your data

As a person that is called on to help update computer systems regularly, I can tell you, making sure data is preserved is no joking matter. You just try telling grandma that you laid waste to 5 years worth of grandkid photos and see how popular you are at Thanksgiving and Christmas.

In similar fashion, business users are none to happy with the idea of having to recreate data after an upgrade ... they are in business to serve customers, not computers.

So, a few tricks from the pros can keep you from pulling your hair out.

First of all, if you have a Windows operating system, look into buying a program that can handle copying your data from one version of Windows (say Vista) and restoring it to another (say Win7). Get an external (portable) hard drive (I prefer USB connected hard drives) and do your backups.

It is also helpful to keep your data in a logical fashion in a common set of folders (documents and settings). Some programs try to store their data in the program files folder, which, in my humble opinion, is WRONG. You should not be making backups of the OS folders (ie. c:\program files or c:\windows) with your data during the upgrade process, the OS files from an older version of Windows may render the new system unworkable.

Under Linux, user data is store in the /home folder. If joe, sue and bill all share the same machine, there will be home folders like:

/home/joe
/home/sue
/home/bill

So, backing up /home will get it all. No muss, no fuss, no special programs needed. In fact, if you take a bit of time during the install of Linux, you can setup the hard disk so that /home is in a "separate area" of the hard drive (called a partition) that will be preserved during an update. This does not eliminate the backup as a good idea, but, it will remove the requirement of having to backup before and restore after. If all goes well, the data will be in the same place it was before. Another nice thing about Linux, you don't have the permission or rights to store data in a place where programs are kept.

I normally "partition" my Linux system hard drives into three "parts".

| SWAP | LINUX | HOME |

I put the swap in first ... usually I make it twice the size of RAM ... so, if your machine has 2G of RAM, it would get 4G of swap partition space.

Next, I put the Linux partition, 10G is plenty for a normal user, and I have been using ext3 format for years with a smile on my face.

Next, I put the home partition, take the rest of the free space, format it ext3

Now, whenever I install from DVD, I can completely reload the Linux partition and the /home partition stays put ... with all my data and personal preferences in place.

Friday, October 30, 2009

Ubuntu 9.10

We, let the install party begin.

I downloaded the installation CD images for Ubuntu 9.10, just released Oct. 29, 2009, and I am ready to rumble.

I hope you noticed that the Microsoft Commercials for "Win7 install parties" were deliberately not called "Win7 upgrade parties" ... no doubt because upgrading from Vista to Win7 will be NO PARTY.

On Steve's Dell laptop it went from 8.10 to 9.04 and then 9.10.

On Kirsten's Dell laptop it went from 8.04 to 8.10 to 9.04 like a dream.

So, see if you can get Microsoft Vista to upgrade to Win7 without loss of data or intervention of any kind .... for free.

Saturday, October 10, 2009

I'm in love with ... python

I have done it. I never thought I would fall victim to a middle age crisis, but, it just happened. #15 was the charm.

After learning 14 other computer languages I found the love of my life.

Python, with wxPython for GUI, wxGlade for GUI layout and postgres for the database.

What can I tell you. With almost no thought or effort the code just falls from my fingertips. Even for a novice GUI developer ... it is nearly effortless.

lists, dictionaries, tuples, object oriented design and I'm still on version 2.6.

Be still my heart.

The efficiency of assembler.
The constant thought required of VB.
The speed of C.
The mind numbing perl with books covering my desk.

I will miss all of them.

The bright side ?

I love coding even more than I did already.

Please don't tell my boss, but, I would do this for free.

Acer Aspire One A0751-1279

Well, I took the plunge. I traded Walmart.com $298.00 for an Acer Aspire One, free shipping, site-to-store.

I love it.

The Vista that came with the machine never had a chance.
No kindness.
No dual boot.
No shot at breathing the breath of life.
I booted Knoppix, partitioned the hard drive, and infused it with Fedora 11 (sorry Steve, but Ubuntu 9.04 did not support the Wifi chip).

The specs on the machine are:

* Intel Atom, Z520 (1.33GHz / 512 KB L2 cache / 533FSB), US15W
* 11.6" Widescreen, Glossy, 1366 x 768 (WXGA/LED)
* MGA500 Graphics (Poulsbo), shared memory, Aux VGA output
* 2GB, DDR2 667
* 250G HD
* 6-in-1 Card Reader
* Web Camera
* RJ-45 Ethernet Jack
* WiFi 802.11b/g
* Bluetooth
* 3 USB 2.0 Ports
* 3 Cell Battery with 4 hour runtime

I put on Fedora, went out to AdamW's site (for the Poulsbo driver) and setup the video for 1366x768. The sound, wifi, ethernet and all worked out of the box.

The little guy is FAST.

The CPU is hyperthreaded (almost like a dual core) and has a 64bit register set.

It plays flash video just fine ... and so far has just been a joy to drive.

Big C

Being a truck driver, Steve runs into a good many people from different walks of life. Basically, anyone shipping large items is going to need the services of a trucking company at some point in time.

Steve has never been one to come up short on opinions. If he loves a product, or hates it, you're likely to hear about.

"Big C" works at a company that enlists the services of Steve's employer, so it would be unlikely that "Big C" has heard Steve relating his Linux stories.

Well, not to long ago Steve gave "Big C" a copy of Ubuntu 9.04 and a demo of Ubuntu on Steve's Dell Ubuntu Laptop (Inspiron 1545N).

"Big C" was impressed, but still had questions about journey from Windows to Linux. The Ubuntu disk sat patiently by until one of "Big C"'s Windows boxes fell to a crafty virus and refused to access the internet.

Well, I answered one question on the phone and "Big C" installed Ubuntu from that CD. He ended up with an Ubuntu Linux 9.04 partition that could access the internet and the accomplishment of creating a "dual boot" machine with Windows and Ubuntu.

I didn't ask "Big C" how many times he had installed an operating system before, but, it would not surprise me if that was his first.

Somehow, I doubt it will be his last.

Sunday, August 2, 2009

System for SAMM

Well, Steve, my truck driving buddy, and his wife, June, told me about June's mom being retired and offline. Because I have a real dislike of putting electronic gear in the landfill, there are usually several computers at my place in need of a good home. They called me and I told them for the cost of freight I could set SAMM (June's mom) up with a system that would be good for e-mail, youtube, light gaming and instant messaging.

The machine selected was:

* AMD Athlon (32bit) 1.6Ghz
* 512M RAM
* Keyboard, mouse, speakers
* USB 2.0 Hub
* USB Webcam
* 19" LCD monitor
* Fedora 11

Now, most of you can tell that this machine is no speed demon. It would not be appropriate for WinXP, Vista or Win7 simply because the the limited amount of RAM ... and would barely run Win2000.

Well, it runs Fedora 11 just fine. It plays DVD's, flash videos, Freecell and Monsterz. It will do almost anything SAMM will need it to do for a while.

Because SAMM has nobody living in her home to help her with computer related things, any hardware or software issues, training or frustration will initiate a phone call to June, and possibly to me. Keeping SAM's life simple means keeping June's life simple, and ultimately, my life simple too.

June setup accounts e-mail and IM on most of the majors, AOL, Yahoo, MSN, Gmail ... keeping track of the usernames and passwords.

I installed the system and setup the codecs for DVD, mp3 and such. The instant messaging and e-mail programs were setup with the accounts that June created. June and I tested all the stuff out, IM, e-mail ... the whole 9 yards.

The system was shipped and delivered. SAMM helped me verify that the CPU and cables were still in place. She put the system together from all the parts, plugged it in and was off and running.

June walked her through the login process, menus, applications, start up, shutdown and such.

DSL should be getting installed soon, then the real adventure starts.

To date, the only frustrations I know of have been expressed by family members that have never used Linux ... they want to help SAMM get the most out of her system and Linux looks like a poor choice to them, but, they don't have the experiences behind them that I do.

This is not the first system I have shipped to OKLAHOMA. I have two friends in the ministry that are still using a Linux they got from me many years ago. That system was a dual boot, Win2000 and Linux. After all these years, the only OS still running is ... Linux. The Win2000 side won't boot any more, it was running slow and giving "the dreaded blue screen of death". The sad part to their story is "they need Windows", but, like so many folks in the ministry, they can not afford the constant Microsoft Taxes. The cost of new hardware, the cost of new versions of Windows, the cost of time spent being a system administrator, anti-virus expert, blah, blah, blah.

I know that Microsoft has made it very difficult to use the products and then break free ... that is why I sent SAMM a box running Linux.

It is easier to avoid starting a bad habit than it is to break free of one.

Tuesday, June 30, 2009

Dell 15N preloaded with Ubuntu

Well, he did it. Steve, my truck driving buddy, has picked up one of those inexpensive Dell 15N laptop computers with Ubuntu Linux.

* 2.16Ghz Celeron processor
* 2G RAM
* 160G Hard Disk
* 15.4" LCD
* Wireless

All for just over $400 ... not too shabby.

Steve got his FIRST COMPUTER a little over a year ago, it is a nicely equipped desktop system that came with Vista and now has Vista and Fedora Linux (dual boot).

Now, I have tried to keep him faithful to Fedora Linux, but, before I could get him to remove Ubuntu Linux from that new laptop, he fell in love.

He only asked me for the security key required to access his wireless router. After that he was on the internet and:

* upgraded Ubuntu 8.10 to 9.04, no loss of personal data ...
* installed the codecs needed to play audio and video multimedia
* customized his environment

This may not be rocket science to a power user ... but he did this without any help and ENJOYED THE PROCESS.

Now, how many of you could update Windows XP to Windows Vista? Do you think you could:
  • upgrade easily?
  • enjoy the process?
  • preserve all your data?
  • succeed without any support from friends?

I have done more of my share of upgrades (friends and family) over the years ... and I have never, ever seen a Windows upgrade that was easy or fun. I have seen more than my share that resulted in loss of data (thank God for backups) and crippled machines.

I will say this, installing and using Ubuntu is easy enough to be FUN.

In closing, if you do decide to upgrade from XP to Vista, and you need help, call:

800-BestBuy

and have your credit card handy.


Best Buy says "You wore out your computer"?

I overheard this at a local Best Buy.

"If your computer is slow, it is probably because
you wore it out and need a new one".


If a car started running like crap after a 6 months of service, nobody would just assume it was worn out. They would be demanding that it be repaired, for free if it was still under warranty. The manufacturer would be financially on the ropes after doing that to EVERY CUSTOMER THEY SERVED FOR A FEW YEARS.

But we, as consumers, have been led to believe that slow computers just need to be replaced. It is the best marketing scam of the century. Computer software companies are not to be held responsible for anything, EVEN CRAPPY SOFTWARE THAT IS INSECURE.

System slow? I guess I just wore it out. What a JOKE.

This may come as a surprise, but, if a computer is "worn out", it won't be SLOW, it will be DEAD.

I have computers that are over 10 years old, still in service, still just as fast as the day they were purchased.

Now lightning strikes have FRIED a couple of my computers over the years, but they were not slow, they were DEAD.

So, what is making old Bessy so slow ?

Let's go over the checklist here:

* bloated operating system .... check
* tons of crapware installed by manufacturer .... check
* added tons of antiviral programs to detect infections .... check
* got a trojan, which in turn installed 400 virus programs ... check
* every installed program constantly checks for updates ... check

I don't know about you, but I don't have the time, patience or money to replace computers every six months, so I don't.

I put LINUX on them and FORGET them. They run fast as the day you bought them, FOREVER.

Tuesday, February 10, 2009

Computers should be like toasters ...

Computers should be like TV sets, or a toaster, or any other appliance.

Turn them on. Use them. Turn them off.

How often does your ...

* DVD player get a virus?
* Refrigerator get a blue screen of death?
* Your stove controls lock up?
* TV Sound slows to a crawl when there is a lot of action on the screen?
* Stereo stop working because you connect a cassette player?

Get real. The local consumer reporter would carry the story and the company that made the device would be changing their name and leaving the country.

That is why I use Linux. I want a computing appliance. I don't want to think about the websites I visit being infected. I don't want to fret over e-mail I open containing a trojan. I don't want my firewall to get wormy or my SQL to get injected (whatever that is). I don't want to buy extra stuff to make my computer work properly (anti-virus, anti-adware, anti-spyware).

I want it to just work. Every time. No excuses. No exceptions. No headaches.

Just like Linux.

Thursday, January 1, 2009

Fedora 10

November brought the release of Fedora 10.

I must say, it was a very welcome upgrade.

Adding RPM Fusion (to get the missing audio/video codecs) was easy.
Adding Adobe Acrobat and Flash was not as easy.
Adding Google Earth was shameful.

All in all, I was up and running in just under 30 minutes (fresh install).

As always, my data and settings were just like I left them.

Try that with Windows.

Monday, August 11, 2008

Friends help friends use Linux

A few weeks back I helped Steve and June, friends of over 30 years, put Fedora 9 on their severely infected computer. We tried to keep the machine running with the old operating system, but, the ANTIVIRUS, SPYBOT, AD-AWARE and HIJACK THIS treatments were not enough. Our phone calls were becoming consumed with talk about "keeping the thing running". It is a shame when you can't spend time on the phone with an old friend without the conversation falling into "geek speak". Even worse, that was just a fraction of the time that was being spent on keeping the system usable. E-mail, phone calls, face time all getting wasted on the security issues that plagued his computer.

To make it worse, the machine was very capable, Dual Athlon 64, 3G RAM, 350G HD and a good video card .. and it crawled like a whipped dog ... booting took MINUTES and launching anything was PAINFULLY SLOW. I'm no slouch when it comes to keeping a system purring, Lord knows I help a lot of folks do just that ... but this was becoming hopeless fast. So, to quote the Gov. of California, we said "Hasta la Vista, baby!" to the old operating system and installed Linux right beside it.

Now I had been bragging about Linux to Steve as much as Steve brags about Sirius Radio to me (and that's a bunch). Steve drives truck for a living, and Sirius rides shotgun with him every day. I'm a geek that drives computers and Linux and Windows ride shotgun with me every day.

Steve has mechanics, at work, to keep the truck humming.

I have full time support staff at work that worry about all the hassles of using computers on a daily basis.

I MAY HAVE TO run Windows at work, BUT I CHOOSE TO run Linux at home.

When I get home I don't want a full time job as a "computer repair man" any more than I want to be a "full time Handy Man".

When I get in my car, I expect it to work.
When I open the fridge, I expect cold soda and ice.
When I put dishes in the dish washer, I expect them to get clean.
When I sit down to MY COMPUTER I EXPECT IT TO WORK.

I mean, really, would you tolerate ....

*** Burnt toast ... every day
*** Spam for lunch, every day
*** Alarm systems that never call the cops
*** A fridge that constantly melted ice-cream and let the meat rot
*** A door lock that refused to unlock because you were not the same person that locked the door (digital rights management).

You get the idea, and well, I digress. Linux got loaded, we spent a day playing questions and answers about the new system and went to dinner.

So, Steve and June can use Linux or Windows Vista on their machine, pick whichever they want when they start up. June still likes to keep in touch with her friends and relatives that run Windows Live Messenger (not available for Linux) and having Vista around lets her do that. Steve uses Linux most of the time, he can do whatever, wherever, however and not worry about getting the machine "horked up with virus programs".

Now Steve and I are spending more time talking about fun stuff these days, motorcycles, old friends, good times ... and maybe, just maybe that Linux operating system deserves credit for some of it.

Saturday, May 3, 2008

Who really uses Linux?

Well, a few folks you may know about ...

Movies
http://www.linuxmovies.org/studios.html

Wall Street
http://www.linuxonwallstreet.com

Pubic Schools
http://www.linuxjournal.com/article/2210
http://k12os.org/

Banking
http://www.linuxjournal.com/article/2927

Airlines
http://blog.wired.com/gadgets/2007/08/virgin-america-.html

Cell Phones
http://www.pcworld.com/article/id,108556-page,1/article.html

Retail Point of Sale
http://www.linuxdevices.com/news/NS9870621040.html



Tuesday, December 25, 2007

LINUX DISTRIBUTIONS

www.centos.org
www.fedoraproject.org
www.novell.com/linux
www.mandriva.com
www.ubuntu.com

Well, now that you know what LINUX is we need to explore how this loose collection of software is made available to the user.

The collections are called DISTRIBUTIONS or DISTROS. Several companies offer their LINUX DISTRO and SUPPORT as a commercial product, some DISTROS are freely available for download.

I am more familiar with REDHAT LINUX, so, I will use them as an example.

RHEL - Red Hat Enterprise Linux - a commercial LINUX DISTRO with SUPPORT
FEDORA - A community supported LINUX DISTRO that can be downloaded at no cost

Fedora may be a community supported product, but, RED HAT pours a good deal of time and money into the Fedora project in the form of employee development time and debugging. In return, the community reports bugs for the product for a wide variety of software configurations and computer equipment configurations. These bug reports and user experiences help RED HAT make improvements to the RHEL product.

So, if you run a business and want your server operating system to have support, RHEL may be the product you need. If you are looking for a LINUX DISTRO that has good community support, FEDORA may be your solution.

There are many DISTROS out there, about 300 at one time. The big ones seem to be:

SUSE (Novell)
RHEL/FEDORA (RedHat)
UBUNTU (Canonical)
MANDRIVA (Mandriva) Formerly MANDRAKE
CentOS a community supported derivative of RHEL

LINUX - what the heck is it, anyway?

Most complex computers systems have software that is organized in "layers".

The bottom most layer, the one that controls the physical machine, is often referred to as the KERNEL, it can be thought of as a resource manager. You need the keyboard, mouse, memory, video -- the program you are running will get to it using the KERNEL.

Under WINDOWS (PC) it is KERNEL32.EXE
Under LINUX (PC) it is KERNEL.
Under OS X (MAC) it is XNU.

The program you are running, say the FIREFOX WEB BROWSER, is obtaining system resources by making a request to the KERNEL of the OPERATING SYSTEM that you are running.

HARDWARE (PC) <--> KERNEL <--> FIREFOX

The operating system is a group of programs, usually the KERNEL and other utilities needed for running the elementary system operations (create file, delete file, view file, move file, backup file .. etc.). These elementary operations will boot the system and get you to the point of logging on and getting to your desktop.

Under LINUX the KERNEL is provided by Linus Torvalds and a team of volunteers (paid and unpaid) that work together over the internet. The LINUX KERNEL and the GNU TOOLS are largely responsible for booting the system and getting you to the point where you can RUN SOFTWARE, like a desktop. This bundle is often called LINUX or LINUX/GNU.

LINUX and GNU by themselves provide the foundation for the DESKTOP and OTHER SOFTWARE that makes up a LINUX DISTRIBUTION.

A normal LINUX distribution will include LINUX, the GNU TOOLS, a WINDOW MANAGER, several DESKTOP ENVIRONMENTS and 1,000's of applications including OFFICE, BROWSERS, NEWS READERS, INSTANT MESSAGING and many, many more.

The best part of all is, in most cases, the DISTRIBUTIONS ARE FREE OF CHARGE, and, FREE TO REDISTRIBUTE. FREE and FREEDOM.

That is the OPEN SOURCE or FREE SOFTWARE way.

Wednesday, December 12, 2007

BIT TORRENT - open source file transfer

www.bittorrent.com

This technology is one of the few that comes along over the years that is SO USEFUL and POWERFUL and so UNKNOWN that it is unbelievable.

If you download files of any kind, you need to know about TORRENT or SWARM technology.

When you download a file you normally get one piece at a time from a single source.

When you download a file using swarm, you get a piece from everyone on the internet that is using the swarm to download the same file. Sometimes you get literally 100's of sources for the same data, and the improvement (in my experience) is UNBELIEVABLE. Files that used to take 8 hours or more are now in my hands in 1.5 hours.

Do a google search on "bittorrent" and read up, then download the torrent client and ENJOY.

FEDORA - open source LINUX OS

fedoraproject.org

Wow, anybody that knows me can tell you that I have a half dozen machines at my house running LINUX, and FEDORA is my LINUX of choice. It has been there for me since 1998 and it is sponsored by RED HAT, a good old NC company. I try others, but, I always end up here. That said, I do carry KNOPPIX with me everywhere I go (See RUN LIVE) and it is my RUN LIVE CD of choice.

It's not that I dislike Microsoft ENTIRELY, but, I just don't want a full time job managing Windows systems at home. I like to PLUG and PLAY ... Linux is the OS that allows me to install and forget (I still use Windows at work, and yes, Win2000 and WinXP made HUGE improvements in my attitude toward Microsoft).