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
              November 28, 2002 - Issue #109
===========================================================

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

1) Sean's Notes

2) Linux News

	It'll Save You Money, Even If You Don't Use It
	Quoth the Penguin, "Open Source"
	The Top 5 Misconceptions About LindowsOS
	Sun's Parts with $35Million

3) Linux Resources

	Speaking With A LISP
	Desktop Linux Roundup
	Using the Logical Volume Manager
	FreeBSD Early Adopters Guide
	Building A Mailbot in PHP

4) App o' the Week


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

Try our IT Certification Courses FREE! SmartCertify Direct gives
you classroom-quality IT training at a fraction of the cost of
traditional courses. You'll get 24-hour online mentoring from
certified IT pros, hands-on interactive exercises, the popular
Test Prep Exams, industry-approved content and more! Our
personalized courses are so powerful that you'll get certified
GUARANTEED. Choose from MCSE, Cisco, A+, CIW, Linux, and many
more. Click below to try our courses FREE and register to WIN a
Dell PC worth $2,400!

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

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

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
===============================================================

Blogging seems all the craze these days. I suspect it has been
so for a while, it's just that I'm behind the times and am just
catching up. Regardless, installing blogging software on your
own machine is pretty simple, and combined with a cable modem or
DSL, makes it easy for you to carve out your own space of
blog-land.  (Is "blog-land" even a word?)

Movable Type (MT) is a great piece of software upon which to run
a blog. After the initial installation, you manage it completely
from the web. It's easy to use and customize, too. Installing it,
though, can be a problem, judging by various sites that offer
assistance with MT installation. This week, I'm going to guide
you through the installation, and hopefully, steer clear of the
pitfalls.

Fire up your browser, and jump on over to:

http://www.movabletype.org/download.shtml

Download the Full version, no libraries. Since we have full
reign over our own system, we may as well install all the
libraries centrally.

I downloaded it into /usr/local/src

# tar -xzf MT-2.51.tar.gz
# mkdir /var/www/html/blog
# cp -r * /var/www/html/blog

RedHat throws all your web-related files into /var/www/html. By
creating the "blog" subdirectory, the site will be accessible at:

http://my.site/blog/

(if you haven't registered a domain, the IP address of your
Linux box is fine.) If you want it to be the root directory of
your site, then by all means delete the "blog" from the
commands. If /var/www/html isn't where your distribution places
HTML files, then adjust as appropriate.

If you did check it out with your web browser, you should see a
nice note that you can't view the contents of the directory,
along with a pointer to the installation instructions. You
*could* follow those (which is essentially what I'm doing), but
I'm hoping to steer you clear of the pitfalls, and let you know
what it is you're really doing.

First thing to do is to edit the mt.cfg file that's in the
directory. It's a pretty simple format, just a tag and a value.
The first, CGIPath, tells MT where all the CGI scripts go. (CGI
is what lets you run code on the web server to generate dynamic
web pages.) In my case, I'm using my test machine:

CGIPath  http://www.linux/blog/

Next, MT needs to know where to store its data. Rather than use
a SQL server, we'll take the easy way out and use DBM files, a
very simple but powerful way of storing data within files.
Though the installation suggests "./db", I'm going to put it in
"/var/blog". Put it wherever you want, just remember that
directory for later! Just as a side note, the "blog" above
doesn't correspond to the "blog" below, I just happened to
choose the same name. Users of the site will never know where
you're storing the data.

DataSource /var/blog

Now, take that directory and create it:

# mkdir /var/blog
# chown apache /var/blog
# chmod 700 /var/blog

Here, the directory is created, and changed to be owned by the
web server, and only readable by the web server (700 means
"owner can do anything. Everyone else stay out!" Read up on
octal file permissions at:

http://ertw.com/~sean/news/Jul-4-2002.html

May as well set permissions on the web directories so you can
write to them:

# cd /var/www/html/blog
# chown -r apache .
# chown -R root *.cgi extlib lib

Here, we're letting the web user own the directories, but are
explicitly taking away control of the binaries and the libraries.

All that remains is to tell the webserver that cgi files in the
blog directory are to be executed instead of returned to the
browser. You'll know if you missed this step, because once you
try to view your new blog, you'll see a mess of perl code on
your screen. Edit httpd.conf, it's likely in /etc/httpd/conf

Add the following lines to the end, and restart your web service.

AddHandler cgi-script .cgi
<directory /var/www/html/blog>
options +execcgi
</directory>

The first line says "anything ending in .cgi is to be executed
as a CGI script". The second line says "the following commands
are valid only in the blog directory". The third line turns on
the execution of CGIs, since by default they are disabled. The
last line closes off the directory tag above.

I'm going to hit:

http://www.linux/blog/mt-check.cgi

If all works out, I'll get a page showing me what modules I'm
missing. CPAN is what we'll use to get those installed:

# perl -MCPAN -e shell

If you're prompted to configure, you can chance it with the
defaults by selecting "no", or say "yes" and configure it
properly. I find the latter safer, simply accepting all the
defaults, but picking a local mirror toward the end. You'll be
prompted to choose it by your continent and country.

>From the CPAN prompt, I can install all the modules that
mt-check told me I was missing.

cpan> install HTML::Template
...
cpan> install Image::Size
...
cpan> install DB_File
...

Using CPAN is so much easier than doing it the long way!

Hit that url again to make sure all your modules were built fine.

Last step is to run the script that builds the databases, again,
through the web:

http://www.linux/mt/mt-load.cgi

If all goes well, you'll see the message "All went well". You
should also note the message to delete mt-load.cgi. I'm never a
fan of deleting these types of things outright, but I sure don't
want other people accessing it.  File permissions to the rescue:

# chmod 000 mt-load.cgi

000 ensures that nobody can run it without really going out of
their way (and being root).

That's it! The rest is all configuration.

http://www.linux/blog/mt.cgi

Log on with the username of "Melody", and the password of
"Nelson". Go to "Edit your profile", and change your username
and password to something that you want, and can remember.

Then, head on over to "First Blog", and "Blog Config". Just
make sure all the paths are correct. Feel free to change the
name, since "First Blog" is quite boring.

>From here, navigate the menus to add new entries, or change the
layout of the site. Just don't forget to rebuild your site when
it prompts you too.

Linux makes a great web platform. Combined with a great web
server such as Apache, and some good content management software
such as Movable Type, you can express yourself to the world, or
just have a quiet place to write your thoughts.

Happy blogging.

Long live the Penguin,

Sean
swalberg@cramsession.com


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

----------------------------------------------
It'll Save You Money, Even If You Don't Use It
----------------------------------------------

Just the mention of your company going to Linux might be enough
to get your Microsoft rep to drop their prices. While you're
probably better off giving Bill the heave-ho, it just goes to
show that Linux is so good, you don't even need to use it for
it to help you.

http://story.news.yahoo.com/news?tmpl=story&u=/nf/20021127/bs_nf/20
105


--------------------------------
Quoth the Penguin, "Open Source"
--------------------------------

Proving that a million monkeys sitting at a million keyboards
eventually put something good out, the Cramsession ByteBack
newsletter brings you this clever and inspiring poem.

http://newsletters.cramsession.com/Newsletters/NewsletterArchive/By
teBack/november-26-2002byteback.html


----------------------------------------
The Top 5 Misconceptions About LindowsOS
----------------------------------------

I've heard a lot about LindowsOS in the past, not much of it
good. But this article goes some way toward explaining some of
the things said about this product. Turns out that not
everything said is true (including having to run as root).

http://www.osnews.com/story.php?news_id"40


---------------------------
Sun's Parts with $35Million
---------------------------

"Sun's Terraspring purchase will provide the foundation for its
1 vision (architecture for data centers). Enterprises should
start assessing architectures for policy-based computing services
and design road maps to them."

http://techupdate.zdnet.com/techupdate/stories/main/0,14179,2898638
,00.html


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

--------------------
Speaking With A LISP
--------------------

The Emacs editor can be extended with a language known as Lisp.
Aside from Emacs, though, Lisp is a very powerful programming
language. Using Emacs as a programming environment,
uber-programmer Sanjay shows you the basics of Lisp.

http://infocenter.cramsession.com/techlibrary/gethtml.asp?ID45


---------------------
Desktop Linux Roundup
---------------------

Extremetech takes a look at many desktop Linux distributions,
and gives them an overall ranking. No surprises with RedHat,
Mandrake, and SuSE, but others like Lycoris and Lindows make
this an interesting read.

http://www.extremetech.com/article2/0,3973,647840,00.asp


--------------------------------
Using the Logical Volume Manager
--------------------------------

As you start to get a lot of disks, managing them into
partitions and file systems becomes tedious. The logical volume
manager gets around this by letting you build logical disks out
of physical disks, and grow them on the fly.

http://www.linuxgazette.com/issue84/vinayak.html


----------------------------
FreeBSD Early Adopters Guide
----------------------------

Looking to get in on the bleeding edge of BSD? Look at this
guide for instructions on using the developer preview of
5.0-RELEASE.

http://www.freebsd.org/releases/5.0R/DP2/early-adopter.html


-------------------------
Building A Mailbot in PHP
-------------------------

I'm continually surprised how far people are able to push the
PHP language. It's got to the point where PHP is its own command
line shell scripting tool instead of just a web module! This
article follows the development of a mailbot in PHP.

http://www.phpbuilder.com/columns/galloway20021105.php3


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

As someone with more than a passing interest in IP Telephony,
this program caught my eye. Most protocols that phones use don't
play well with NAT, Cisco's proprietary "Skinny" being one. This
perl script claims to be able to proxy this odd-named protocol.

http://cvs.oisec.net/cgi-bin/cvsweb.cgi/skinny-proxy/


===============================================================
(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

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