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
            RESOURCES & LINKS FROM BRAINBUZZ.COM
                Thursday, March 29, 2001
===========================================================

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

1) Sean's Notes

2) Linux News

	2.2.18 Kernel Exploit (Local)
	Tux in Space
	How Perl Creates Orders for the Air Force
	Red Hat Acquires Planning Technologies, Inc.

3) Linux Resources

	Install a Hard Drive in 5 Steps
	Free Database Hosting
	Solaris Jumpstart
	Solaris 8 Essential Reference
	RAID Upgrade

4) App o' the week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~
                       CYBERSTATE U

In Line or Online - Where Do You Want To Spend Your Time?
With massive shortages of skilled IT and technical personnel,
and the rapid releases of new products and technologies -
traditional classroom training and methodologies cannot keep
up with Internet time. CyberState's Synergy Learning System
provides the finest, E-training methodology for individuals
and corporations seeking proficiency in network infrastructure
technologies. MCSE, CTE, CCNA, CNE, LPI Linux.

Call 1-888- GET-EDUCated or visit
http://ad.brainbuzz.com/?RC06&AI61
for special promotions.

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

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

===========================================================
1) Sean's Notes
===========================================================
Last week I made a big goof when I wrote that RAID-0 was
called mirroring.  In fact, RAID-1 is mirroring (which stores
data on two drives simultaneously), and RAID-0 is striping
(in which data is stored over two drives in a non-redundant
fashion). Take 2x9G drives.  RAID-1 will give you a 9G drive
set that can withstand the loss of one of the drives.  RAID-0
will give you a 18G drive set that will break if one of the
component drives goes to that big spindle in the sky, but
should have better performance than just one 18G drive.

While I'm on the subject of RAID, I'll show you how to set
up software RAID on your Linux box.  The first thing you'll
need is a couple of drives.  You'll probably want to
partition them into just one partition, we'll call them hdb1
and hdc1 for now. When you're in partitioning them, set them
as type "fd" (the 't' option in fdisk).

http://www.ibiblio.org/pub/linux/docs/howto/mini/Partition
has further information on partitioning hard drives.

By default, all RAID configuration goes in /etc/raidtab.
The format is typical of most UNIX programs.  Each RAID
device starts with

raiddev   /dev/mdX

where X is the device number.  Start from 0 and go from
there.  After that, give some more information about the raid
volume:

# raid-level (0,1,5,linear)
raid-level    0
# store RAID info on the drive too, so the kernel doesn't
# necessarily have to reference /etc/raidtab
persistent-superblock 1
# chunk size specifies how many K are used per stripe
chunk-size 64

As you can see from above, we're creating a RAID-0 device
(striping). Now, we specify how many drives form the array,
how many spares are available, and then assign drives to
those jobs.  Here, we've got two drives and no spares:

nr-raid-disks  2
nr-spare-disks 0
# device and raid-disk must be paired, with device first
# hdb1 is therefore the first drive in the array (zero indexed!)
device /dev/hdb1
raid-disk 0
# hdc1 is the second drive in the array
device /dev/hdc1
raid-disk 1

If you had a spare disk hdd1 (not much use in raid-0) you
would have changed nr-spare-disks to 1, and added

device /dev/hdd1
spare-disk 0

Now that raidtab is defined, it's time to build the RAID set.

# mkraid /dev/md0

Warning!  You'll lose everything on those drives!  We're
creating a fresh drive here!

Check the status of the drive:

# cat /proc/mdstat
Personalities : [raid0]
read_ahead 1024 sectors
md0 : active raid0 hdd1[1] hdc1[0]
      3313088 blocks 32k chunks

unused devices: <none>

(That's from my system, so some of the numbers are different)

At this point, you have a drive (/dev/md0) that's like a
real hard drive. May as well put a filesystem on it:

# mke2fs /dev/md0

This week's resource section also has a link on how to set
up a new hard drive, the procedure there can be followed to
make this volume a permanent addition to your system.

You stop the RAID volume via

# raidstop /dev/md0
(the filesystem has to be unmounted)

and start it up again

# raidstart /dev/md0

Most distributions auto detect the presence of RAID and will
do the raidstart for you.  If not, you'll have to put it in
your config files.

A couple of warnings.  Don't do this on your root partition
without some extra research.  Remember that this will destroy
existing data, so don't do this to an existing partition.
I haven't covered reconstruction, so if you plan to rely on
this do some more reading to find out what to do when a drive
does die!

http://www.linas.org/linux/Software-RAID/Software-RAID.html

Linux software RAID is very versatile.  Changing this
configuration to a mirror is pretty easy.  You can also
build RAID devices out of other RAID devices, such as
mirroring two stripe sets (or striping two mirrors).


Long live the Penguin,

Sean
mailto:swalberg@brainbuzz.com

Visit The Linux Newsletter Board
http://boards.brainbuzz.com/boards/vbt.asp?b–2


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

-----------------------------
2.2.18 Kernel Exploit (Local)
-----------------------------
A bug has been found in kernels up to 2.2.18 involving a
race condition in some system calls. The result is that a
local user can get root if they can run a setuid program.
Ouch. If you know a bit of C, the exploit itself is a
worthwhile read.

http://www.securityfocus.com/archive/1/171708

------------
Tux in Space
------------
One of NASA's divisions has funded a two year project to
build a version of Linux suitable for use in space vehicles.
It's using part of RedHat's embedded software toolkits.
The article brings forward some interesting things about
the restrictions, such as limited transmission windows.

http://www.newsforge.com/article.pl?sid/03/13/2112221

-----------------------------------------
How Perl Creates Orders for the Air Force
-----------------------------------------
By creating a web based order system, an Air Force group
was able to save between 900-1500 man hours per year, and
improve efficiency and service.

http://www.perl.com/pub/1998/07/rwperl.html

--------------------------------------------
Red Hat Acquires Planning Technologies, Inc.
--------------------------------------------
RedHat announced that it has acquired Planning Technologies,
Inc., an Atlanta-based Professional Consulting Service
company that specializes in infrastructure consulting for a
wide array of clients, including enterprise, service
providers and government.

http://www.redhat.com/about/presscenter/2001/press_planning.html


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

-------------------------------
Install a Hard Drive in 5 Steps
-------------------------------
Installing a hard drive under Linux is a bit different than
in Windows just due to the nature of the OS. Like all other
things in Unix, there are some decisions to be made,
commands to be run, and config files to edit. Read on to
find out the details.

http://www.linuxnewbie.org/nhf/intel/hardware/hd_add.html

---------------------
Free Database Hosting
---------------------
Ever wanted to start learning SQL and databases like MySQL
and PostgreSQL, but didn't have the ability to get the
server running? This site offers free database hosting (just
MySQL for now, others to come)! Now you can have a database
without the trouble of administering it.

http://superid.dyndns.org:8080/freesql/index.php

-----------------
Solaris Jumpstart
-----------------
Jumpstart is a Solaris tool that allows you to set up a lot
of machines at once. If you thought Kickstart (RedHat's
version) was hard, Jumpstart will make your head spin.
Having an example worked out for you will help out
immensely, so here you go.

http://www.amorin.org/professional/jumpstart.php

-----------------------------
Solaris 8 Essential Reference
-----------------------------
This book is designed to be the ideal reference for Solaris
users who know what they want to do, but just need to know
how to do it. It's a great reference book for people who
work with SUN's operating system on a daily basis.

http://itresources.brainbuzz.com/tutorials/tutorial.asp?t=S1TU1211

------------
RAID Upgrade
------------
As it turns out, many IDE controllers can be easily converted
into hardware RAID controllers by some software upgrades and
perhaps a touch of solder. Most chipsets are used in both the
IDE controller and RAID version, so it makes sense that the
manufacturer would just make one board and cripple the RAID
functionality (ala 486SX FPU's). If your controller or
motherboard is listed here, you might just be able to go RAID.

http://www.tweakhardware.com/guide/


===========================================================
4) App o' the week
===========================================================
Remember the old Sierra games like Leisure Suit Larry,
King's Quest, and Police Quest? You probably have them
kicking around somewhere, just waiting to be played again.
Rather than the traditional VMWare or WINE methods of
playing DOS/Windows games, this group of people created
FreeSCI, an emulator for Sierra games.

http://freesci.linuxgames.com/

===========================================================
(C) 2001 BrainBuzz.com. All Rights Reserved.
===========================================================

_______________________________________________________

         This message is from BrainBuzz.com.

You are currently subscribed to the
   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 by e-mail:
   send a blank email message to:
   mailto:join-linuxnews@list.brainbuzz.com
_______________________________________________________