Postcards from the Bleeding Edge
Saturday, June 15, 2002

 

Installing redhat 7.3



I couldn't help but notice that David Coursey, executive editor at zdnet, started installing redhat 7.3 at just about the same time I did on thursday.

He's dug himself a small hole.

Note to David: You are installing a 2002 era Linux on a Windows 95 era box, and while you can easily get GNU/linux to run well on such a machine, you have to make some informed choices as to your environment, which you haven't. (yet)

You've got the problems of the genie in the movie Aladdin, which Robin Williams so well vocalizes:


"Enormous Powers!!".
"        Itty bitty living space...."
.

In particular, chosing KDE as your default desktop is not a good idea on such a small/old machine. It has a lot of shared libraries which, well, aren't shared with major productivity applications such as openoffice and mozilla, which are gtk based. You will save an enormous amount of RAM if you were to use GNOME as your default (and it is redhat's default, actually) instead. Even if you stick to KDE or switch to GNOME, I'd suggest burning a few (<60) bucks to get up to 128 or 256mb ram for your machine, and/or switching to an even more lightweight window manager such as icewm or matchbox.

Note 2: Yep, getting the screen set up properly is a pain. But you only have to do it once. It is rather amazing how many otherwise intelligent people running windows don't know enough about it to change their screen resolutions/refresh/color depth on Windows, either.

OK, enough kibitzing on David's article. I look forward to hearing more about his adventures on monday. Here's the story of mine.

My primary machine at home has been a dual, 180Mhz Pentium Pro computer for nearly 6 years now. "Lugosi" has been a great computer. I'm very attached to him, he's done a million things for me - I'm typing up this blog on him now! He's still fast enough for most of what I do, but one of his cpu fans has had a death rattle for months now. The sound has been driving me bonkers.

Frys wanted an outragous 50 bucks for a replacement fan.

I'm sorry, Lugosi, your time has come.

Thursday night I stopped at Central Computer and picked up the new components. They were:







Asus V333 Motherboard155.00
Athlon 2000+ CPU169.00
256MB DDR 2700 DRAM69.00
80GB Seagate Hard Drive125.00
Logitech Itouch wireless keyboard/mouse79.00
Total:597.00

All I really needed was the motherboard, cpu, and ram (440 with tax), as I could cannibalize the rest of the parts from another computer, but I wanted a single, bigger, quieter hard drive, (Rattle and Hum, the album by U2, is vastly preferable to the same tunes by "Lugosi and his 3 hard drives"), and the wireless keyboard was just too cool, so...

It took me about an hour and a half to assemble the dang thing. It took me forever to mount the cpu fan, and in doing so I cut my hand on backplate. Bleeding into a new computer is always a good thing, it's an ancient geek voodoo magic to ensure its long life and reliability. I ran some tests, tweaked some bios settings, installed an old network card, and packed everything up to take into work friday morning.

The IT department at my company convienently keeps a mirror of the redhat distribution on a server, accessible via http and via NFS. It saves on external bandwidth and beats shlepping CDs around. They also keep the mirror updated with the latest rpms and our corporate specific applications. With the aid of a single floppy, also provided by IT, it took me about 5 minutes to boot the machine and get through the configuration steps, and then 16 minutes to get through the network install. The time I spent building and installing a faster machine compares favorably with the time David spent installing an old one.

On reboot, I noted three problems, the network did not see my NIS server, anaconda deleted my USB mouse and keyboard, and the X11 graphical environment would flicker the display a couple times and then fail to start, leaving me with a text only login prompt. Time to login as root and figure things out.

OK, it turned out that in setting medium firewall security on the install, I'd disabled every possible attack against my machine - and also made it less useful than I needed it to be. Security is always a compromise between usefulness and, well, security. So I used the lokkit tool to add support for ssh, http, and dns in this configuration, but I still couldn't convince NFS or NIS to work, so I said "screw it" temporarily and disabled security altogether. (Note to my IT guys - temporarily... temporarily...) I note that even with this level of security disabled, there are plenty of other less invasive internet-proven security measures also in place automatically, a Linux box is more secure than a windows box would be at this stage.

The USB problem was nifty. For some reason the USB drivers weren't being started on bootup. I googled for USB linux HOWTO, and after a little reading, I figured out that the usb kernel modules weren't being inserted. I had a bad moment when I did a modprobe of the core usb driver by hand - and my keyboard "locked up"! A few moments of twiddling later I realized that I had enabled usb but not enabled my usb keyboard driver. Grr. OK, one nice thing about Linux is that you can log into it from another machine using telnet or ssh and do the same amount of work, so I did that, and, following that USB howto, inserted more driver modules until my keyboard worked again.

Rather than figure out the right way to enable usb on boot, I just added
modprobe usb-uhci
mount -a
modprobe hid
modprobe mousedev
modprobe keybdev
modprobe wacom # My graphics tablet


to the /etc/rc.d/rc.local file, which is the last thing run as part of the system startup, and added a line to /etc/fstab:

none /proc/bus/usb usbdevfs defaults 0 0

so that the usb device filesystem will be mounted (made available).

Now, a typical windows or NT guy would have rebooted multiple times at this point, but me, I just did a:
telinit 3; sleep 5; telinit 5
to restart graphics.

Hot dang, it came up, at the right resolution and everything. I fiddled with the default Redhat tools and environment for a while, and decided that, while it was pretty good, Ximian's GNOME desktop was better. So I popped over to Ximian's site, and started an install of their entire desktop suite, while I went off to get some real work done. (The install would have gone much faster if my IT guys mirrored Ximian as well as redhat, but I digress)

Ximian has a cool thing called Red Carpet, which makes it really easy to get new applications and update existing applications. I spent a little time updating the machine to the most current, recomended upgrades, notably mozilla 1.0, and subscribed to the OpenOffice channel and installed OpenOffice, and debated seriously about maybe trying the GNOME 2.0 test release.

I did a couple other things to improve my user experience, notably, I changed my mozilla preferences to support tabbed browsing by default and to open new tabs in the background (This last is a godsend for browsing over slower links), started a copy of several gigabytes of corporate apps. Then I did what every veteran NT and Windows administrator longs to do in the middle of an install... I went home.
Interlude for dealing with Valley traffic and dinner excluded
From home, I logged onto to the new machine and resumed working.

"Wait, wazzat?", Cryeth the Windows user! "But your new machine is at your office!".

Well, out of the box, Linux supports Client/Server networking & client/server X11 graphics. This is an extra cost option for windows NT/2000 users (Windows Terminal Services - I couldn't help but laugh when I looked up this link - Microsoft has announced an important licensing hotfix. Linux programmers focus on producing better applications, not licensing schemes!)

Close to 100% of all Linux applications work transparently over the network (The ones that don't are things like dvd players and games that require extraordinary amounts of bandwidth). No matter where I go, on whoever's computer I'm on, I can be at my desktop, running my applications. I don't even have to be running a linux box where I am, there are many easy ways to take advantage of this capability - putty is a great Windows ssh tool, and you can go either go the free route (cygwin's XFree86) for X or get a commercial X11 for your PC such as starnet's product. Mac OS-X is already X11 based, so you don't need to do anything to it to run graphical apps over the network though I still recomend finding an ssh client.

But as much as I like point and drool interfaces, (I regularly run xemacs, mozilla, and evolution over my DSL link) sometimes using a command line is more efficient. I happily browsed the web using the "links" tool; I got audacity audio editor, (which is comparable to CoolEdit) and it's related libraries, libdvdcss, and lm-sensors (useful for seeing things like tempurature inside your machine), among other useful things. Lots of interesting tools and applications for linux can be found by browsing sourceforge, freshmeat, and rpmfind.

Graphical installers are all the rage in the Windows/Mac world, but I really don't understand what's so hard about typing
rpm -Uvh *.rpm
, especially when you can install a whole bunch of packages, all at once! by just typing rpm -Uvh *.rpm after your download frenzy.

Maybe people on other OSes like going through graphical installer after installer, clicking on next button after next button, and reading EULA after EULA, and clicking "yes I agree" to terms written in the most obtuse legalese - but I don't. I do Linux because I don't have to put up with that sort of crap....

OK, so after about 10 hours or so (4 of active use) I've got a mostly built machine that does most of what I need it to do, I'm a happy camper. There are things left to do (like getting printing setup, and in fixing a performance issue I noticed) that I'll blog about later.

In conclusion I just wanted to point out some things that typical reviewers rarely point out about Linux:

  • A network based install of the core OS takes 16 minutes. It had a useful, full desktop and office productivity suite, out of the box, as well as hundreds of other applications. Getting hung up on the ease of the install is a barrier to linux, but once you're over that hump it gets easier. I think it would be only fair for this veteran Linux user to tell his horror story on installing Windows 2000, but not today.
  • I did a significant portion of the install remotely. It didn't require rocket science.
  • I didn't have to co-ordinate with license lawyers, corporate or otherwise
  • I upgraded to the latest and greatest stuff using an innovative network based installer
  • The software cost was... nothing. The hardware cost was... next to nothing.


  • More news as it happens. I hope that perhaps my sharing my install, methods, and tools, will make your linux experience a more enjoyable one. Have a good weekend!



    Michael

     
    Comments: Post a Comment



    << Home
    David Täht writes about politics, space, copyright, the internet, audio software, operating systems and surfing.


    Resume,Songs,
    My new blog, NeX-6, My facebook page
    Orgs I like
    The EFF - keeping free speech in the world
    Musical stuff I like
    Jeff, Rick, Ardour, Jack
    Prior Rants - Axioms One of my axioms about technology is that ... Electric Cars - why not? Back when I lived on the... Blog. Blog. Blog. I note that in creating this blo...
    Best of the blog:
    Uncle Bill's Helicopter - A speech I gave to ITT Tech - Chicken soup for engineers
    Beating the Brand - A pathological exploration of how branding makes it hard to think straight
    Inside the Internet Mind - trying to map the weather within the global supercomputer that consists of humans and google
    Sex In Politics - If politicians spent more time pounding the flesh rather than pressing it, it would be a better world
    Getting resources from space - An alternative to blowing money on mars using NEAs.
    On the Columbia - Why I care about space
    Authors I like:
    Doc Searls
    Where's Cherie?
    UrbanAgora
    Jerry Pournelle
    The Cubic Dog
    Evan Hunt
    The Bay Area is talking
    Brizzled
    Zimnoiac Emanations
    Eric Raymond
    Unlocking The Air
    Bob Mage
    BroadBand & Me
    SpaceCraft
    Selenian Boondocks
    My Pencil
    Transterrestial Musings
    Bear Waller Hollar
    Callahans
    Pajamas Media BlogRoll Member

    If you really want to, you can poke through the below links as well.

    ARCHIVES
    06/09/2002 - 06/16/2002 / 07/28/2002 - 08/04/2002 / 08/11/2002 - 08/18/2002 / 08/18/2002 - 08/25/2002 / 08/25/2002 - 09/01/2002 / 09/22/2002 - 09/29/2002 / 11/10/2002 - 11/17/2002 / 12/15/2002 - 12/22/2002 / 12/22/2002 - 12/29/2002 / 12/29/2002 - 01/05/2003 / 01/05/2003 - 01/12/2003 / 01/19/2003 - 01/26/2003 / 01/26/2003 - 02/02/2003 / 02/09/2003 - 02/16/2003 / 02/16/2003 - 02/23/2003 / 03/02/2003 - 03/09/2003 / 03/16/2003 - 03/23/2003 / 04/06/2003 - 04/13/2003 / 04/13/2003 - 04/20/2003 / 04/20/2003 - 04/27/2003 / 05/04/2003 - 05/11/2003 / 05/18/2003 - 05/25/2003 / 05/25/2003 - 06/01/2003 / 06/01/2003 - 06/08/2003 / 06/08/2003 - 06/15/2003 / 06/15/2003 - 06/22/2003 / 06/22/2003 - 06/29/2003 / 06/29/2003 - 07/06/2003 / 07/20/2003 - 07/27/2003 / 07/27/2003 - 08/03/2003 / 08/03/2003 - 08/10/2003 / 08/10/2003 - 08/17/2003 / 08/17/2003 - 08/24/2003 / 08/24/2003 - 08/31/2003 / 08/31/2003 - 09/07/2003 / 09/07/2003 - 09/14/2003 / 09/14/2003 - 09/21/2003 / 09/21/2003 - 09/28/2003 / 09/28/2003 - 10/05/2003 / 10/05/2003 - 10/12/2003 / 10/12/2003 - 10/19/2003 / 10/19/2003 - 10/26/2003 / 10/26/2003 - 11/02/2003 / 11/02/2003 - 11/09/2003 / 11/09/2003 - 11/16/2003 / 11/30/2003 - 12/07/2003 / 12/07/2003 - 12/14/2003 / 12/14/2003 - 12/21/2003 / 12/28/2003 - 01/04/2004 / 01/11/2004 - 01/18/2004 / 01/18/2004 - 01/25/2004 / 01/25/2004 - 02/01/2004 / 02/01/2004 - 02/08/2004 / 02/08/2004 - 02/15/2004 / 02/15/2004 - 02/22/2004 / 02/22/2004 - 02/29/2004 / 02/29/2004 - 03/07/2004 / 03/14/2004 - 03/21/2004 / 03/21/2004 - 03/28/2004 / 03/28/2004 - 04/04/2004 / 04/04/2004 - 04/11/2004 / 04/11/2004 - 04/18/2004 / 04/18/2004 - 04/25/2004 / 04/25/2004 - 05/02/2004 / 05/02/2004 - 05/09/2004 / 05/09/2004 - 05/16/2004 / 05/16/2004 - 05/23/2004 / 05/30/2004 - 06/06/2004 / 06/06/2004 - 06/13/2004 / 06/13/2004 - 06/20/2004 / 06/20/2004 - 06/27/2004 / 06/27/2004 - 07/04/2004 / 07/04/2004 - 07/11/2004 / 07/11/2004 - 07/18/2004 / 07/18/2004 - 07/25/2004 / 08/08/2004 - 08/15/2004 / 08/22/2004 - 08/29/2004 / 08/29/2004 - 09/05/2004 / 09/05/2004 - 09/12/2004 / 09/19/2004 - 09/26/2004 / 09/26/2004 - 10/03/2004 / 10/03/2004 - 10/10/2004 / 10/10/2004 - 10/17/2004 / 10/17/2004 - 10/24/2004 / 10/24/2004 - 10/31/2004 / 10/31/2004 - 11/07/2004 / 11/07/2004 - 11/14/2004 / 11/14/2004 - 11/21/2004 / 11/21/2004 - 11/28/2004 / 11/28/2004 - 12/05/2004 / 12/05/2004 - 12/12/2004 / 12/12/2004 - 12/19/2004 / 12/19/2004 - 12/26/2004 / 12/26/2004 - 01/02/2005 / 01/02/2005 - 01/09/2005 / 01/16/2005 - 01/23/2005 / 01/23/2005 - 01/30/2005 / 01/30/2005 - 02/06/2005 / 02/06/2005 - 02/13/2005 / 02/13/2005 - 02/20/2005 / 02/20/2005 - 02/27/2005 / 02/27/2005 - 03/06/2005 / 03/06/2005 - 03/13/2005 / 03/27/2005 - 04/03/2005 / 04/03/2005 - 04/10/2005 / 04/10/2005 - 04/17/2005 / 05/29/2005 - 06/05/2005 / 06/05/2005 - 06/12/2005 / 06/12/2005 - 06/19/2005 / 06/19/2005 - 06/26/2005 / 06/26/2005 - 07/03/2005 / 07/03/2005 - 07/10/2005 / 07/10/2005 - 07/17/2005 / 07/24/2005 - 07/31/2005 / 07/31/2005 - 08/07/2005 / 08/07/2005 - 08/14/2005 / 08/14/2005 - 08/21/2005 / 08/21/2005 - 08/28/2005 / 08/28/2005 - 09/04/2005 / 09/04/2005 - 09/11/2005 / 09/11/2005 - 09/18/2005 / 09/18/2005 - 09/25/2005 / 09/25/2005 - 10/02/2005 / 10/02/2005 - 10/09/2005 / 10/09/2005 - 10/16/2005 / 10/16/2005 - 10/23/2005 / 10/23/2005 - 10/30/2005 / 10/30/2005 - 11/06/2005 / 11/06/2005 - 11/13/2005 / 11/13/2005 - 11/20/2005 / 11/20/2005 - 11/27/2005 / 11/27/2005 - 12/04/2005 / 12/04/2005 - 12/11/2005 / 12/11/2005 - 12/18/2005 / 12/18/2005 - 12/25/2005 / 01/01/2006 - 01/08/2006 / 01/08/2006 - 01/15/2006 / 01/15/2006 - 01/22/2006 / 01/22/2006 - 01/29/2006 / 01/29/2006 - 02/05/2006 / 02/19/2006 - 02/26/2006 / 03/05/2006 - 03/12/2006 / 03/19/2006 - 03/26/2006 / 03/26/2006 - 04/02/2006 / 04/02/2006 - 04/09/2006 / 04/09/2006 - 04/16/2006 / 04/23/2006 - 04/30/2006 / 05/07/2006 - 05/14/2006 / 05/14/2006 - 05/21/2006 / 05/21/2006 - 05/28/2006 / 06/04/2006 - 06/11/2006 / 06/11/2006 - 06/18/2006 / 06/18/2006 - 06/25/2006 / 06/25/2006 - 07/02/2006 / 07/02/2006 - 07/09/2006 / 07/09/2006 - 07/16/2006 / 07/23/2006 - 07/30/2006 / 08/06/2006 - 08/13/2006 / 08/13/2006 - 08/20/2006 / 09/03/2006 - 09/10/2006 / 09/17/2006 - 09/24/2006 / 09/24/2006 - 10/01/2006 / 10/01/2006 - 10/08/2006 / 10/22/2006 - 10/29/2006 / 11/19/2006 - 11/26/2006 / 11/26/2006 - 12/03/2006 / 12/03/2006 - 12/10/2006 / 12/10/2006 - 12/17/2006 / 12/17/2006 - 12/24/2006 / 12/24/2006 - 12/31/2006 / 01/07/2007 - 01/14/2007 / 01/14/2007 - 01/21/2007 / 01/28/2007 - 02/04/2007 / 02/11/2007 - 02/18/2007 / 02/18/2007 - 02/25/2007 / 02/25/2007 - 03/04/2007 / 03/04/2007 - 03/11/2007 / 03/18/2007 - 03/25/2007 / 04/01/2007 - 04/08/2007 / 04/08/2007 - 04/15/2007 / 04/15/2007 - 04/22/2007 / 04/22/2007 - 04/29/2007 / 04/29/2007 - 05/06/2007 / 05/06/2007 - 05/13/2007 / 05/20/2007 - 05/27/2007 / 05/27/2007 - 06/03/2007 / 06/03/2007 - 06/10/2007 / 06/10/2007 - 06/17/2007 / 06/17/2007 - 06/24/2007 / 07/01/2007 - 07/08/2007 / 07/08/2007 - 07/15/2007 / 07/22/2007 - 07/29/2007 / 07/29/2007 - 08/05/2007 / 08/05/2007 - 08/12/2007 / 08/26/2007 - 09/02/2007 / 09/09/2007 - 09/16/2007 / 09/23/2007 - 09/30/2007 / 09/30/2007 - 10/07/2007 / 10/07/2007 - 10/14/2007 / 10/14/2007 - 10/21/2007 / 10/21/2007 - 10/28/2007 / 10/28/2007 - 11/04/2007 / 11/04/2007 - 11/11/2007 / 11/11/2007 - 11/18/2007 / 11/18/2007 - 11/25/2007 / 11/25/2007 - 12/02/2007 / 12/02/2007 - 12/09/2007 / 12/09/2007 - 12/16/2007 / 12/16/2007 - 12/23/2007 / 12/23/2007 - 12/30/2007 / 01/06/2008 - 01/13/2008 / 02/03/2008 - 02/10/2008 / 02/17/2008 - 02/24/2008 / 02/24/2008 - 03/02/2008 / 03/02/2008 - 03/09/2008 / 03/09/2008 - 03/16/2008 / 03/16/2008 - 03/23/2008 / 03/23/2008 - 03/30/2008 / 03/30/2008 - 04/06/2008 / 04/20/2008 - 04/27/2008 / 04/27/2008 - 05/04/2008 / 05/04/2008 - 05/11/2008 / 05/11/2008 - 05/18/2008 / 05/18/2008 - 05/25/2008 / 05/25/2008 - 06/01/2008 / 06/01/2008 - 06/08/2008 / 06/08/2008 - 06/15/2008 / 06/15/2008 - 06/22/2008 / 06/22/2008 - 06/29/2008 / 07/06/2008 - 07/13/2008 / 07/13/2008 - 07/20/2008 / 07/20/2008 - 07/27/2008 / 07/27/2008 - 08/03/2008 / 08/03/2008 - 08/10/2008 / 08/10/2008 - 08/17/2008 / 08/17/2008 - 08/24/2008 / 08/31/2008 - 09/07/2008 / 09/07/2008 - 09/14/2008 / 09/14/2008 - 09/21/2008 / 09/21/2008 - 09/28/2008 / 09/28/2008 - 10/05/2008 / 10/05/2008 - 10/12/2008 / 10/12/2008 - 10/19/2008 / 10/19/2008 - 10/26/2008 / 10/26/2008 - 11/02/2008 / 11/02/2008 - 11/09/2008 / 11/09/2008 - 11/16/2008 / 11/16/2008 - 11/23/2008 / 12/07/2008 - 12/14/2008 / 12/21/2008 - 12/28/2008 / 12/28/2008 - 01/04/2009 / 01/18/2009 - 01/25/2009 / 01/25/2009 - 02/01/2009 / 03/22/2009 - 03/29/2009 / 05/10/2009 - 05/17/2009 / 05/17/2009 - 05/24/2009 / 05/31/2009 - 06/07/2009 / 06/14/2009 - 06/21/2009 / 06/21/2009 - 06/28/2009 / 06/28/2009 - 07/05/2009 / 07/05/2009 - 07/12/2009 / 07/12/2009 - 07/19/2009 / 07/26/2009 - 08/02/2009 / 08/09/2009 - 08/16/2009 / 08/23/2009 - 08/30/2009 / 09/06/2009 - 09/13/2009 / 09/20/2009 - 09/27/2009 / 09/27/2009 - 10/04/2009 / 10/04/2009 - 10/11/2009 / 10/11/2009 - 10/18/2009 / 10/18/2009 - 10/25/2009 / 10/25/2009 - 11/01/2009 / 11/29/2009 - 12/06/2009 / 12/27/2009 - 01/03/2010 / 01/31/2010 - 02/07/2010 / 02/07/2010 - 02/14/2010 / 02/28/2010 - 03/07/2010 / 03/07/2010 - 03/14/2010 / 03/28/2010 - 04/04/2010 / 04/18/2010 - 04/25/2010 / 05/16/2010 - 05/23/2010 / 05/30/2010 - 06/06/2010 / 06/13/2010 - 06/20/2010 / 06/20/2010 - 06/27/2010 / 07/04/2010 - 07/11/2010 / 07/11/2010 - 07/18/2010 / 07/18/2010 - 07/25/2010 / 08/08/2010 - 08/15/2010 / 08/29/2010 - 09/05/2010 / 09/05/2010 - 09/12/2010 / 09/19/2010 - 09/26/2010 / 09/26/2010 - 10/03/2010 / 10/10/2010 - 10/17/2010 / 10/17/2010 - 10/24/2010 / 10/31/2010 - 11/07/2010 / 11/28/2010 - 12/05/2010 / 12/05/2010 - 12/12/2010 / 12/12/2010 - 12/19/2010 / 12/26/2010 - 01/02/2011 / 03/06/2011 - 03/13/2011 / 03/13/2011 - 03/20/2011 / 05/22/2011 - 05/29/2011 / 08/07/2011 - 08/14/2011 / 08/14/2011 - 08/21/2011 / 09/18/2011 - 09/25/2011 / 10/02/2011 - 10/09/2011 / 10/09/2011 - 10/16/2011 / 11/06/2011 - 11/13/2011 / 01/15/2012 - 01/22/2012 / 04/22/2012 - 04/29/2012 / 06/24/2012 - 07/01/2012 / 08/05/2012 - 08/12/2012 / 08/11/2013 - 08/18/2013 / 03/01/2015 - 03/08/2015 / 10/04/2015 - 10/11/2015 / 11/08/2015 - 11/15/2015 / 12/22/2019 - 12/29/2019 / 04/05/2020 - 04/12/2020 / 07/21/2024 - 07/28/2024 /


    Powered by Blogger