Cramsession Linux Newsletter

Cramsession.com Linux News Archive

Please note that I've stopped writing the Linux News as of January 30, 2003, as Cramsession has cancelled most of their newsletters. You can send any questions or comments about this content to me (sean at ertw . com)
People have been asking for a downloadable version of the archives. [My mbox (one big file, 1.4MB)] [Individual files, text, tarball] [Individual files, html, tarball]
If you're looking for more Linux content, you might like my blog.
Jan 30, 2003
  Linux News - Issue #117
Jan 23, 2003
  Linux News - Issue #116
Jan 16, 2003
  Linux News - Issue #115
Jan 9, 2003
  Linux News - Issue #114
Jan 2, 2003
  Linux News - Issue #113
Dec 19, 2002
  Linux News - Issue #112
Dec 12, 2002
  Linux News - Issue #111
Dec 5, 2002
  Linux News - Issue #110
Nov 28, 2002
  Linux News - Issue #109
Nov 21, 2002
  Linux News - Issue #108
Nov 14, 2002
  Linux News - Issue #107
Nov 7, 2002
  Linux News - Issue #106
Oct 31, 2002
  Linux News - Issue #105
Oct 24, 2002
  Linux News - Issue #104
Oct 17, 2002
  Linux News - Issue #103
Oct 10, 2002
  Linux News - Issue #102
Oct 3, 2002
  Linux News - Issue #101
Sep 26, 2002
  Linux News - Issue #100
Sep 19, 2002
  Linux News - Issue #99
Sep 12, 2002
  Linux News - Issue #98
Sep 5, 2002
  Linux News - Issue #97
Aug 29, 2002
  Linux News - Issue #96
Aug 22, 2002
  Linux News - Issue #95
Aug 15, 2002
  Linux News - Issue #94
Aug 8, 2002
  Linux News - Issue #93
Aug 1, 2002
  Linux News - Issue #92
Jul 25, 2002
  Linux News - Issue #91
Jul 18, 2002
  Linux News - Issue #90
Jul 11, 2002
  Linux News - Issue #89
Jul 4, 2002
  Linux News - Issue #88
Jun 27, 2002
  Linux News - Issue #87
Jun 20, 2002
  Linux News - Issue #86
Jun 13, 2002
  Linux News - Issue #85
Jun 6, 2002
  Linux News - Issue #84
May 30, 2002
  Linux News - May 30, 2002
May 23, 2002
  Pearl In The Shell
May 16, 2002
  Linux Filesystems - Part Two
May 9, 2002
  Inside The Linux Filesystem
May 2, 2002
  CD Burning Under Linux
Apr 25, 2002
  Star Office Vs. Open Office
Apr 18, 2002
  Surfing With Mozilla
Apr 11, 2002
  "We Don't Support Linux..."
Apr 4, 2002
  Visit The UNIX Library
Mar 28, 2002
  Linux and World Domination
Mar 21, 2002
  Working With Keyservers
Mar 14, 2002
  A Look At Public Key Cryptography
Mar 7, 2002
  Monitoring Systems With "vmstat"
Feb 28, 2002
  Star Office 6 Not to be Free for Linux?
Feb 21, 2002
  How Can Programming Benefit a Systems Administrator?
Feb 14, 2002
  Alias: It's Not Just a TV Show
Feb 8, 2002
  Using The diff and patch Utilities
Jan 31, 2002
  How To Detect Cracks
Jan 24, 2002
  Using Razor to Shave Away Spam
Jan 17, 2002
  Stomping Spam
Jan 10, 2002
  Sair Linux Courseware Review
Jan 3, 2002
  2002: The Year of the Penguin!
Dec 27, 2001
  UNIX Apps on a Windows Box?
Dec 20, 2001
  Directory Assistance
Dec 13, 2001
  How Do You Kill Zombies?
Dec 6, 2001
  Using Hard and Soft Symlinks
Nov 29, 2001
  Change Terminal-Based Apps Into Network Apps
Nov 22, 2001
  Adventures In Booting
Nov 15, 2001
  Getting To Know PAM
Nov 8, 2001
  Know Your Enemy
Nov 1, 2001
  Do Mulder and Scully Use X-Windows?
Oct 25, 2001
  A Quick Look at the RHCE Certification
Oct 18, 2001
  What's Up With Linux Certification?
Oct 11, 2001
  Express Yourself Regularly
Oct 4, 2001
  Advice For Lazy Penguins?
Sep 27, 2001
  NVIDIA Jumps On Linux Bandwagon
Sep 20, 2001
  Understanding DNS in a Linux Environment
Sep 13, 2001
  Be Careful With Binaries
Sep 6, 2001
  Party Like It's 999,999,999
Aug 30, 2001
  Rooting Out Memory Hogs
Aug 23, 2001
  Spin Your 'Top'
Aug 16, 2001
  Keeping Time With NTP
Aug 9, 2001
  Supporting True Type Fonts
Aug 2, 2001
  Getting Perl To Fetch
Jul 26, 2001
  Who's The Man?!
Jul 19, 2001
  Adobe Cracks The DMCA Whip
Jul 12, 2001
  Due Processes
Jul 5, 2001
  Going Adobe Free
Jun 28, 2001
  Don't Send Mixed SIgnals
Jun 21, 2001
  Everything is a File. (almost)
Jun 14, 2001
  Know Your Partitions
Jun 7, 2001
  Where it's "at"!
May 31, 2001
  A Sneak Peek at RedHat 7.1
May 24, 2001
  Scheduling Tasks With cron - Part 2
May 17, 2001
  Scheduling Tasks With cron
May 10, 2001
  Open Source - Seeing Through The FUD
May 3, 2001
  A Look At Ximian's New Release
Apr 26, 2001
  Rev Up Your X-Windows Session
Apr 19, 2001
  Wrangling With GNU Cash
Apr 12, 2001
  Tame the syslogd Daemon
Apr 5, 2001
  Test Your Admin Skills At Honeynet
Mar 29, 2001
  Software RAID on Your Linux Box
Mar 22, 2001
  Prevent Disasters: Back It Up
Mar 15, 2001
  Notes From Underground!
Mar 8, 2001
  SuSE 7.1 - A First Look
Mar 1, 2001
  Certification Boot Camp
Feb 22, 2001
  Understanding Runlevels
Feb 15, 2001
  What Are The Advantages of Joining a LUG?
Feb 8, 2001
  Diving For Perls
Feb 1, 2001
  How To Secure Your Linux Installation
Jan 25, 2001
  Linux Problem Solving
Jan 18, 2001
  Stand up and Be Counted!
Jan 11, 2001
  2.4.0 is Here!
Jan 4, 2001
  When will Mom use Linux?
Dec 28, 2000
  The Year in Review
Dec 21, 2000
  The SourceForge Solution
Dec 15, 2000
  How to Compile and Install the New Kernel
Dec 7, 2000
  Put Your E-mail Into A Blackberry Basket
Nov 30, 2000
  Using Perl With Linux
Nov 23, 2000
  Working With MP3's Under Linux
Nov 16, 2000
  Apache 2.0 alpha 4
Nov 9, 2000
  Dell loves Linux!
Nov 2, 2000
  What's Up With RedHat 7?
===========================================================
                        LINUX NEWS
                http://www.Cramsession.com
              December 5, 2002 -- Issue #110
===========================================================

-----------------
TABLE OF CONTENTS
-----------------

1) Sean's Notes

2) Linux News

	Group Urges Limits on Open Source
	Linux Jobs *Are* Out There
	Linux Networx Builds Kick Ass Clusters
	Advanced Server Gets More Reliable

3) Linux Resources

	How to Get Hired as an Open Source Developer
	Linux Cluster Information
	Just Look At The Numbers
	IDE RAID Examined
	SUN's Capacity On Demand

4) App o' the Week


~~~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~~~

Serebra Learning Corporation knows that it's true, you get paid
more if you have the skills. Learn at your own pace with our
dynamic training programs for the skills needed to succeed in
today's IT market. The Best Way to Learn Anything, Anywhere,
Anytime. Check out this month's specials!

http://ad.brainbuzz.com/?RC153&AIX32

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For information on how to advertise in this newsletter
please contact mailto:adsales@CramSession.com or visit
http://cramsession.com/marketing/default.asp

===============================================================
1) Sean's Notes
===============================================================

Have 500 systems you need installed identically? Nor do I. But
the techniques you'd use to do this are helpful in other ways.
Say you had a lab box that you reinstall often, but always the
same way (or maybe a few ways). Or maybe you just want a way of
duplicating your current installation, such as when you're
moving out of test and into production on a new box. Through a
technique known as "Kickstart" (Red Hat specific, I know), you
can do this very easily.

Kickstarting hinges around one file, ks.cfg, which contains a
list of the answers to all the questions that get thrown at you
during the installation, everything from your firewall config
down to your package selection.

There are two ways to go about making ks.cfg.  The first is to
use "ksconfig", a GUI tool that lets you check off all the
options, and generate the output file. If you're looking to
clone an existing installation, later versions of Red Hat dump a
file called "anaconda-ks.cfg" in /root, which is, in a nutshell,
the Kickstart file containing all the options you selected in
the last installation. Subject to a couple of caveats, you can
pick up that file, and clone your system hundreds of times with
one floppy. Of course, any changes you made after the system
came up won't take effect unless you script them in yourself;
we'll see this later.

There is a third option for generating ks.cfg, namely starting
from scratch, but I highly recommend grabbing something that
works and editing from there. Kickstart is picky, and you'll
save yourself a lot of grief if you start off with something
that's at least close to working.

ks.cfg has three sections. First is the command section, where
you have to specify if you're doing an install or upgrade, if
the network, X, or other components are to be configured, and
other questions that pop up during the install. Next is the list
of packages you want installed. Finally, there is a section
containing scripts that get run before and after the install.
As usual, blank lines are ignored, and # means a comment. Here
is a very basic file: I'll point you toward the complete list
of commands at the end.

# install or upgrade?
install
# where is the install media?
cdrom
# Languages being used?  For some reason, you need both lines.
lang en_US
langsupport --default en_US en_US
# keyboard type
keyboard us
# mouse?  microsoft is a popular one, and --device specifies the
# port, ignoring the leading /dev/
mouse microsoft --device ttyS0
# give a root password, I'm using "password"
rootpw password
# firewall settings, I'm disabling it for now
firewall --disabled
# basic shadowed passwords, MD5 hashes
authconfig --enableshadow --enablemd5
# timezone setting
timezone Canada/Central

Those basic options should be self-explanatory. The fun part is
the disk related stuff:

# where does the bootloader go, and which one to use?
# default is GRUB, unless you use --useLilo
bootloader --location=mbr
# VERY DANGEROUS!  This will clear your partition table!
# make sure you don't need the data on the drive!
clearpart --all
# build the partitions.  For ease of demonstration,
# I'm making a 128MB swap file, and making the rest the root
# by saying that the partition is 1MB, but can grow to fit the disk
part swap --size 128
part / --fstype ext3 --size=1 --grow

Make sense? The first command tells the install program where to
put the boot loader. After that, the partition table is wiped
clean, and the two partitions are created. After that, it's a
matter of telling Red Hat what packages you want. Note you can
select both package names, or package groups by prefixing the
name with @

%packages
# Select the groups of packages
@Network Support
@Dialup Support
@NFS File Server
@Anonymous FTP Server
@SQL Database Server
@Web Server
@Router / Firewall
@DNS Name Server
@Network Managed Workstation
@Utilities
@Software Development
@Kernel Development
# individual packages
httpd

Finally, we can run a couple of commands after the install
finishes:

%post
echo "System installed on `date`" >> /etc/motd
echo "nameserver 192.168.1.1" > /etc/resolv.conf
echo "domain example.com" >> /etc/resolv.conf

Before you go thinking that I'm pulling all of these commands
out of thin air, browse on over to the official Red Hat
instructions for the complete list:

http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guid
e/ch-kickstart2.html

Now that we have our glorious ks.cfg, the easiest way to perform
a Kickstart is to copy the file onto a boot disk:

# dd if=/mnt/cdrom/images/bootnet.img of=/dev/fd0
# mcopy ks.cfg a:\ks.cfg

The first command uses the bootnet.img file from the first Red
Hat CD to create a boot floppy. Since the boot disk is actually
an MS-DOS filesystem, you can use the mcopy command to copy the
ks.cfg to the disk without needing to mount it.

Finally, boot your test computer with this boot floppy.
Remember, it's going to automatically clear your partition
table and install Linux, so make sure you don't need that disk!
(This is where VMWare is especially helpful). At the first
prompt, enter:

linux ks=floppy

To start a Kickstart from the floppy. Stand back, and watch it go!

There are many more options available. For example, I store the
Red Hat installation tree on my workstation and export it with
NFS or FTP. Rather than the "cdrom" directive, you can pass the
NFS or FTP information and install over the network.

If you play with this long enough, you're bound to run into some
bugs. Believe me, there are lots. If you miss a directive, the
install will stop and ask you for the missing information. If
you mess up a keyword, it will crash, giving you a cryptic error
message. I spent half an hour trying to figure what I had done
wrong, when it turns out I had forgotten the comment symbol in
front of what should have been a comment. Still, the ability to
bring up a test box to a known state with barely any
intervention is worth the time investment.

That's a quick look at Kickstart, folks. It's a powerful tool
for mass roll outs, or creating identical installations of lab
equipment. Anyone looking to sit the RHCE certification lab exam
will want to know this topic inside and out. Since it's fully
scriptable, you can have your final product as polished as you want.


Long live the Penguin,

Sean
swalberg@cramsession.com


===============================================================
2) Linux News
===============================================================

---------------------------------
Group Urges Limits on Open Source
---------------------------------

The "Initiative For Software Choice" suggests that a defence
contractor's report on the benefits of Open Source may be
incorrect. Not surprisingly, Microsoft and Intel are major
backers. Cisco is the one that surprises me, as they've been
written up as huge users of Free software. Et tu, CompTIA?

http://news.com.com/2100-1001-975578.html?tagı_top


--------------------------
Linux Jobs *Are* Out There
--------------------------

The surveys are in, and the results show that Linux skills are
in demand... but what in particular? What combinations of
skills are being sought? Read on to find out.

http://www.linuxplanet.com/linuxplanet/print/4564/


--------------------------------------
Linux Networx Builds Kick Ass Clusters
--------------------------------------

"Aerodynamics engineers with Boeing's Expendable Launch Systems
division in Huntington Beach, CA used a 96-node cluster of PCs
with Advanced Micro Devices 850-MHz Athlon processors running
Red Hat Linux, rather than a $500,000 supercomputer, to keep
costs low in pursuit of its goal. Linux cluster-management
company Linux Networx helped to develop the environment."

http://www.informationweek.com/story/IWK20021127S0035


----------------------------------
Advanced Server Gets More Reliable
----------------------------------

Red Hat is taking a cue from the OSDL Carrier Grade Linux
Working Group, who are looking to bring telco-standard
reliability to Linux. I'm looking forward to seeing the
enhancements coming from Red Hat, and the markets they'll try
to get into with their enterprise offerings.

http://www.redhat.com/about/presscenter/2002/press_elf_rhas.html


===============================================================
3) Linux Resources
===============================================================

--------------------------------------------
How to Get Hired as an Open Source Developer
--------------------------------------------

Though the example here is for a company that uses a lot of Open
Source tools, the advice is good for anyone looking to get a job
in development. Blasting your resume out doesn't seem to be the
key; rather, a targeted approach is necessary.

http://www.theopenenterprise.com/story/TOE20021202S0001


-------------------------
Linux Cluster Information
-------------------------

Perdue's computing services group has taken hundreds of recycled
computers and turned them into massive Linux clusters for
research. I don't know what's more disappointing -- that their
"recycled" computers are better than my desktop, or that I don't
get to play on the cluster. Either way, some interesting
information on how a cluster is used in a real environment.

http://www.itap.purdue.edu/rcs/linuxclusters.cfm


------------------------
Just Look At The Numbers
------------------------

"This paper provides quantitative data that, in many cases,
using open source software / free software is a reasonable or
even superior approach to using their proprietary competition
according to various measures. This paper examines market share,
reliability, performance, scalability, security, and total cost
of ownership." An excellent paper.

http://www.dwheeler.com/oss_fs_why.html


-----------------
IDE RAID Examined
-----------------

Though SCSI is still king of storage, many of the computers we
encounter will still have IDE. It's cheap, it works, and it,
too, can have the redundancy usually enjoyed in server systems
without having to resort to software RAID. This article looks at
the performance of various IDE-RAID cards, and talks a bit about
RAID itself.

http://tech-report.com/reviews/2002q4/ideraid/index.x?pg=1


------------------------
SUN's Capacity On Demand
------------------------

The utility model for computing has been seen in various forms
over the years. The concept is intriguing... these whitepapers
give a bit more information on how Sun plans to pull it off.

http://www.sun.com/datacenter/cod/


===============================================================
4) App o' the Week
===============================================================

I've often pointed out scripts that help in managing Red Hat
patches, but this is the first I've come across for other
distros (Debian users, apt-get upgrade doesn't count!). This
time, it's a script for SuSE.

http://fou4s.gaugusch.at/


===============================================================
(C) 2002 BrainBuzz.com, Inc. All Rights Reserved.
===============================================================
_______________________________________________________

          This message is from CramSession

You are currently subscribed to the following list
   Hottest Linux News and Resources
   as: sean@ertw.com

To un-subscribe from this newsletter by e-mail,
   send a blank email message to:
   mailto:leave-linuxnews-3825955Y@list.cramsession.com

To subscribe to this newsletter and many others visit
our site at:
http://newsletters.cramsession.com/signup/default.asp

-------------------------------------------------------