\documentclass[letterpaper]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{ÖÐÎÄ°æ The Linux News HOWTO}
\author{×÷Õß: Vince Skahan {\ttfamily \onlynameurl{vince@halcyon.com}}\\ 
ÒëÕß: Hu,Shih-Ming {\ttfamily \onlynameurl{smhu@ish.chna.edu.tw}}}
\date{v1.4, 29 November 1995}
\abstract{Õâ·ÝÎÄ¼þÊÇÃèÊöÈ¥Éè¶¨¡¢Î¬»¤ÔÚ Linux ÏµÍ³ÏÂµÄ USENET News ËÅ·þÆ÷¡£Èç¹ûÄú´òËãÒªÔÚ×Ô¼ºµÄÖ÷»ú»òÍ¬Ê±ÔÚ×Ô¼ºÒÔ¼°±ðÈËµÄÖ÷»úÉÏ¶Á¡¢ÕÅÌùÍøÂ·ÐÂÎÅµÄ»°£¬ÔòÄú¿ÉÄÜÐèÒª´ËÆªÎÄ¼þ¡£Èç¹ûÄú²¢Ã»ÓÐ´òËãÔÚÄúµÄÏµÍ³Ìá¹©ÍøÂ·ÐÂÎÅËÅ·þÆ÷µÄ»°£¬ÄÇÄú¿ÉÒÔ²»ÐëÔÄ¶Á´ËÎÄ¼þµÄ¡£}


\begin{document}
\maketitle
\tableofcontents

\section{½éÉÜ}

±¾ÎÄ¼þµÄÄ¿µÄÊÇÒª½â´ðÒ»Ð©ÓÐ¹Øì¶ Linux ÏµÍ³ÉÏ USENET NewsÉÏ¿´À´·ûºÏËùÎ½¡¸Ê±³£±»Ñ¯ÎÊµÄÎÊÌâ¡¹£¬
ÒÔ¼° Linux Slackware °æ±¾ÉÏµÄÌØ¶¨ÎÊÌâ¡£

±¾ÎÄ¼þ¼°Ïà¹ØµÄ Mail ¼° UUCP "HOWTO"ÎÄ¼þ½«È¡´úÔ­À´ÕÅÌùÔÚ 
comp.os.linux.announce ÉÏµÄ UUCP-NEWS-MAIL-FAQ¡£




\subsection{ÓÐ¹Øì¶±¾ÎÄ¼þµÄ¸üÐÂ°æ±¾}

ÎÄ¼þµÄÐÂ°æ±¾½«¶¨ÆÚµÄÕÅÌùÔÚ comp.os.linux.announce, comp.answers¼°news.answers ÉÏ¡£
Í¬Ê±Ò²»á³öÏÖÔÚÓÐ mirror {\ttfamily ftp://sunsite.unc.edu:/pub/Linux/docs/HOWTO}µÄ anonymous ftp sites ÉÏ£»



Í¬Ê±ÄúÒ²¿ÉÒÔÔÚ LinuxµÄÈ«Çò×ÊÑ¶Íø£¨WWW£©{\ttfamily http://sunsite.unc.edu/mdw/linux.html}ÉÏÃæÈ¡µÃ¡£




\subsection{Òâ¼û»ØÀ¡}

»¶Ó­ÄúÊ¹ÓÃµç×ÓÓÊ¼þÀ´±íÊ¾Äú¶Ô±¾ÎÄ¼þµÄÒâ¼û£¨²»¹ÜÊÇÕýÃæ»òÊÇ¸ºÃæµÄÒâ¼û£©¡£
Èç¹ûÄú·¢ÏÖ´íÎó»òÊÇÃ÷ÏÔÇ·È±Ê²÷áµÄ»°Ò»¶¨ÒªÓëÎÒÁªÏµ¡£

ËùÓÐÊÕµ½µÄµç×ÓÓÊ¼þÎÒ¶¼»á¿´£¬µ«ÊÇ²»Ò»¶¨»áÓÐ·´Ó¦¡£
¶Ôì¶ÒªÇóÔö¼ÓÄÚÈÝµÄÒªÇóÒ²ÐíÔÚÊ±»úÇ¡µ±¡¢
ÓÐÒâÒåµÄÐèÇó£¬»¹ÓÐÃ¿ÌìµÄÑªÑ¹Öµ¶¼ºÏÊÊµÄÇé¿öÏÂ»á¼ÓÒÔ¿¼ÂÇ¡£
£¨Òë×¢£º¿ÖÅÂ»¹ÒªÔÚÕâÐ©Ìõ¼þÉÏÔÙ¼ÓÉÏÒ»¸ö¡¸µ½ÄÇÊ±Èç¹ûÎÒ»¹¼ÇµÃµÄ»°¡¹£»
ÖÁì¶ÖÐÎÄ°æµÄ²¿·ÝÈç¹ûÄú¾õµÃÓÐÈÎºÎÒâ¼ûµÄ»°£¬Çë 
{\ttfamily mailto:smhu@ish.chna.edu.tw}¡££©

flames µÄ»°£¬»á°²¾²µÄµ½ /de/null È¥£¬ËùÒÔ²»ÒªÀ´·³ÎÒ¡£

ÓÐÒ»µã±È½ÏÌØÊâµÄÊÇ Linux µÄµµ°¸ÏµÍ³ÄÚ²¢Ã»ÓÐËùÎ½µÄ±ê×¼µÄÂ·¾¶£¬
ÔÚ±¾·ÝÎÄ¼þÄÚµÄÂ·¾¶ÊÇÖ¸ÔÚ×«Ð´ÎÄ¼þÊ±µÄ±ê×¼»òÊÇÎÒË½ÈËÔø¼û¹ýµÄ¡£
ÇëÄúºÍÄúÊ¹ÓÃµÄ°æ±¾Ö®Ìá¹©ÕßÑ¯ËüÃÇµÄÂ·¾¶¡£

ÄúÈç¹û¶Ôì¶±¾·ÝÎÄ¼þµÄ¸ñÊ½ÓÐÒâ¼ûµÄ»°£¬ÇëºÍ HOWTO µÄÎ¬»¤Õß - 
Greg Hankins ({\ttfamily gregh@sunsite.unc.edu})ÁªÏµ¡£




\subsection{°æÈ¨¸æÊ¾}

News-HOWTO µÄ°æÈ¨ÊÇÊôì¶ Vince Skahan µÄ¡£
£¨Òë×¢£ºµ±È»À²£¬ÖÐÎÄ°æµÄ°æÈ¨¾ÍÊÇÊôì¶ÎÒµÄÀ²! £©

ÔÊÐíÕÕÔ­ÎÄÖð×ÖµÄ¸´ÖÆ¡¢ÖØÖÆ¼°É¢²¥µ½ÈÎºÎÊµÌå»òÊÇµç×ÓÃ½Ìå£¬¶ø²»ÐèÒªÔÙÍ¨Öª×÷Õß¡£
Èç¹ûÒëÕßÌáµ½ÊÇÓÉË­×ªÒëµÄ£¬Ôò·­ÒëÒàÍ¬ÑùµÄ±»ÔÊÐí¡£

¼ò¶ÌµÄÒýÓÃ²»ÐèÔÙÖª»áÔ­×÷Õß£¬
ÑÜÉúµÄ¹¤×÷»òÊÇÌØÊâµÄÉ¢²¥ News-HOWTO ±ØÐè¸úËæÖø±¾·ÝÎÄ¼þµÄÔ­ÎÄ£¬
»òÊÇÖ¸³öÔ­ÎÄµÄ³ö´¦¡£

Í¬Ê±ÔÊÐí¼°¹ÄÀøÉÌÒµÐÔµÄ´«²¥£»²»¹ÜÈçºÎ£¬
ÓÐ¹Øì¶´ËÀàµÄÉ¢²¥×÷Õß½«ºÜÀÖÒâì¶±»Öª»á£¨Èç¹ûÄúÔÙÔùËÍÒ»·Ý¸øÔ­×÷ÕßµÄ»°£©¡£
£¨Òë×¢£ºÎÒÊÇ²»ÓÃÄÇ÷áÂé·³À²£¡Èç¹ûÊÇÉÌÒµÐÔÖÊµÄ´«²¥µÄ»°£¬
Çë½«Ã¿¸ö×ÖÐÂÌ¨±ÒÒ»ÔªµÄ´ò×Ö·ÑÒÔ Linux µÄÃûÒå¾è¸øÏû·ÑÕßÎÄ½Ì»ù½ð»á¾Í¿ÉÒÔÁË£¡£©

ÊÂÊµÉÏ£¬ÎÒÃÇÏ£ÍûÄÜÍ¸¹ý¸÷ÖÖ¹ÜµÀÀ´ÍÆ¹ãÕâÐ©×ÊÑ¶£¬
µ«ÊÇ£¬ÎÒÃÇ»¹ÊÇÏ£ÍûÄÜ¹»±£Áô HOWTO ÎÄ¼þµÄ°æÈ¨¡£

ÎÒÃÇ¸üÏ£ÍûÔÚ HOWTOS ÀïÃæËùÓÐµÄÎÄ¼þ±»¹ãÎªÐû´«¡£
Èç¹ûÄúÓÐÎÊÌâ£¬ÇëÓë Linux HOWTO µÄ¹ÜÀíÕß -- Greg Hankins Á¬Âç£¬
ËûµÄµç×ÓÓÊ¼þÐÅÏäÎª {\ttfamily gregh@sunsite.unc.edu} 




\subsection{³ýÍâÔðÈÎ}

µ±È»À²£¬ÎÒ²»¶ÔÊ¹ÓÃ±¾ÎÄ¼þËùÒýÉêµÄáá¹û¸ºÈÎºÎ±£Ö¤ÔðÈÎ¡£ÄúÊ¹ÓÃÆäÖÐµÄ¹ÛÄî¡¢
Àý×Ó¡¢¼°ÆäËûµÄÈÎºÎ²¿·ÝÖ®·çÏÕÓÉÄú×ÔÐÐ³Ðµ£¡£




\subsection{ÆäËû×ÊÑ¶µÄÀ´Ô´}




\subsubsection{USENET}

\begin{verbatim}
   news.admin.misc         ÍøÂ·ÐÂÎÅËÅ·þÆ÷¹ÜÀíÕßµÄÒ»°ã»°Ìâ¡£
   news.admin.policy       USENET Ëù·¢²¼µÄÒ»Ð©Õþ²ß¡£
   news.admin.technical    Î¬»¤ÍøÂ·ÐÂÎÅËÅ·þÆ÷(moderated)¡£
   news.software.b         ÌÖÂÛÒ»Ð©Óë B-news ÏàÈÝµÄÈíÌå¡£
   news.software.nn        ÌÖÂÛÓÐ¹Øì¶ÐÂÎÅ¶ÁÈ¡³ÌÊ½ "nn"¡£
   news.software.nntp      ÍøÂ·ÐÂÎÅ´«ÊäÐ­¶¨¡£
   news.software.readers   Ò»Ð©ÓÃÀ´¶ÁÈ¡ÍøÂ·ÐÂÎÅµÄÈíÌå¡£
   news.sysadmin           ¶Ôì¶ÏµÍ³¹ÜÀíÕßµÄÆÀÂÛ¡£
   news.announce.newusers  Ò»Ð©ÕÅÌù¸øÐÂÊ¹ÓÃÕßµÄ²¼¸æ(moderated)¡£
   news.newsuers.questions ¶Ôì¶ USENET ÐÂÊÖµÄÎÊÌâÓë½â´ð
\end{verbatim}





\subsubsection{Êé¼®}

ÁÐµÄÊé¼®¿ÉÄÜ¶ÔÄú»áÓÐËù°ïÖú¡£

\begin{itemize}
\item "{\ttfamily Managing UUCP and USENET}" ÓÉ O'Reilly+Associates Ëù³ö°æ¡£
ÒÀÎÒµÄÒâ¼ûÕâÊÇÒ»±¾ÓÐ¹Øì¶ USENET µÄ³ÌÊ½¼°Ð­¶¨Ö®×îºÃÊé¼®¡£
\item "{\ttfamily Unix Communications}" ÓÉ Waite Group Ëù³ö°æ¡£
Ëü¶Ôì¶¸÷¸öµ¥Ôª¼°ËüÃÇÈçºÎ½áºÏÒ»ÆðÓÐºÜºÃµÄÃèÊö¡£
\item "{\ttfamily Practical Unix Security}" ÓÉ O'Reilly+Associates Ëù³ö°æ¡£
¶Ôì¶ UUCP µÄ°²È«ÓÐºÜºÃµÄÌÖÂÛ¡£
\item "{\ttfamily The Internet Complete Reference}" ×Ô Osborne ÊÇÒ»±¾ºÜºÃµÄ²Î¿¼Êé¼®£¬
ËüËµÃ÷¸÷ÖÖÔÚ¹ú¼ÊÍøÂ·ÉÏ²»Í¬µÄ·þÎñ£¬°üº¬ news¡¢mail ¼°ÆäËû¹ú¼ÊÍøÂ·ÉÏµÄ×ÊÔ´¡£
\item "{\ttfamily The Linux Networking Administrators' Guide}" 
À´×Ô Olaf Kirch µÄ Linux DOC¶øÖÁÉÙÓÐ O'Reilly ¼° SSC ³ö°æ¡£
ËüÒ»´Î¾Í°ÑËùÓÐ¹Øì¶UNIX ÍøÂ·µÄ¶«Î÷Ó¦¸ÃÖªµÀµÄ¶«Î÷È«¸æËßÄú¡£
£¨Òë×¢£ººÃºñà¸£¬um... µ±ÕíÍ·±£Ö¤²»Êæ·þ£¡£©
\end{itemize}





\subsection{ÄÇÐ©µØ·½²»ÊÊºÏÇëÇóÐ­Öú}

ÔÚ Linux ÏÂÉè¶¨¼°Ö´ÐÐUSENET µÄ news ²¢Ã»ÓÐÊ²÷áÌØÊâµÄµØ·½£¬
ËùÒÔÇë²»Òª½«Óë news ÓÐ¹ØµÄÎÊÌâÕÅÌùµ½ comp.os.linux.* µÄÐÂÎÅÌÖÂÛÈº¡£
£¨Òë×¢£ºÔÚ tw.bbs.comp.linux ÉÏºÃÏñ±È½ÏÃ»ÓÐÕâÖÖ½û¼É°É£¡Ò²ÐíÊÇÒòÎª´ó²¿·ÝµÄ
ÎÊÌâÒ²Ö»ÊÇ¡¸ÈçºÎ°²×°¡¹À²£¬¡¸ÈçºÎÉè¶¨¡¹»òÊÇ¡¸ÈçºÎÕÒµ½...¡¹ÕâÀàµÄÎÊÌâ°É£¡£©

³ý·ÇÄúµÄÎÊÌâÇ¡ºÃÊÇÕæµÄÖ»ÓÐ Linux ²ÅÓÐµÄ£¨
ÀýÈç£ºÇë¸æËßÎÒÔÚ SLS v1.03 ÉÏÊ¹ÓÃ  bash1.12 ÒªÈ¥Ö´ÐÐ INN µÄ»°£¬
ÐèÒªÄÇÐ©²¹¶¡(patch)£©ÕâÀàµÄÎÊÌâ¡£ÔòÄú¿ÉÒÔÔÚÏà¹ØµÄÍøÂ·ÐÂÎÅÈºÑ¯ÎÊ¡£

ÈÃÎÒÔÙÖØ¸´Ò»´Î

Ò»°ãÀ´Ëµ£¬Ã»ÓÐÀíÓÉÔÚ comp.os.linux Ïà¹ØµÄÐÂÎÅÈºÕÅÌùÓë news ÓÐ¹ØµÄÎÄÕÂ¡£
ÒÑ¾­ÓÐ news.* µÄÐÂÎÅÈº¿ÉÒÔÈ¥´¦ÀíÄúËùÓÐµÄÎÊÌâ¡£
£¨Òë×¢£ºÔÚ±¾µØ£¬news Ïà¹ØµÄÌÖÂÛÔÚ tw.bbs.netnews£»
²»¹ýÄÇ¸ö°æÓÐÐ©´óÀÏ¼¶µÄ´æÔÚ£¬ËùÒÔÒªÕÅÌùÇ°ÇëÔÙÈýË¼£¬
ÔÚÄÇ¶ùÄÖÐ¦»°¿ÉÊÇÒ»µã¶¼²»ºÃÐ¦£»ÏëÏë¿´£¬
Ò»²¿ News Server µÄ¹ÜÀíÕß¾¹Ò²»áÎÊ³öÕâÑù×ÓµÄÎÊÌâ£¬
Èç¹ûÈÃÄúµÄ feeder ÖªµÀÁË£¬
ÎÒ¿´À²£¡ËûÖ»ÒªÒ»Ïëµ½ÓëÄú»¥Ïà×ªÐÅµÄ»°£¬
Ë¯µ½°ëÒ¹¶¼»á¾ªÐÑà¸£¡
-- ÄÇÌìËûµÄ news server Ò²Ðí¾Í±»ÄúÎÞÒâÊ¶µÄÐÐÎª¸ø¸ãËÀÁËÒ²Ëµ²»¶¨£¡£©

{\itshape Èç¹ûÄú½«²»ÊÇÓë Linux ÓÐÌØ¶¨¹ØÏµµÄÎÄÕÂÕÅÌùµ½ comp.os.linux.* £¬
ÄÇÄú¾ø¶ÔÊÇÕÒ´íµØ·½Ñ°ÇóÐ­ÖúÁË¡£
USENET news µÄÀÏÊÖÃÇ²»¼ûµÃ»áÈ¥¿´ Linux Ïà¹ØµÄÐÂÎÅÌÖÂÛÈº
£¨Ò»°ãËûÃÇºÜÉÙÊÇÅÜ Linux µÄ×÷ÒµÏµÍ³µÄ£©¡£\/}

{\itshape ÓëÆäÕÅÌù²»µ¥Ö»ÊÇ Linux ²Å»áÓÐµÄÖ÷Ìâµ½ Linux 
µÄÐÂÎÅÌÖÂÛÈºÊÇÔÚÀË·ÑÄú×Ô¼º¼°ÆäËûÈËµÄµÄÊ±¼ä£¬
²¢ÇÒËüÊ±³£ÑÓÎó¶ÔÄúËùÌáÎÊÌâËùÐèÒªµÄ´ð¸²¡£\/}


\section{Ó²ÌåÐèÇó}

ÔÚ Linux ÏÂÅÜ USENET News ¶ÔÃ»ÓÐÌØ±ðµÄÒªÇó¡£
Ö»ÒªÓÐ×ãÒÔ´¢´æÈíÌå¼°ÏßÐ÷(thread)×ÊÁÏ¿âÒÔ¼°ÆäÍøÂ·ÐÂÎÅÄÚÈÝÖ®ÈÎºÎÐÍÌ¬µÄ´¢´æÃ½Ìå¾Í¿ÉÒÔÁË¡£
¶Ôì¶Ò»¸ö¸Õ¿ªÊ¼Õß×îÐ¡µÄÐèÇóÁ¿ÊÇÓ²µúÀïÓÐ 10 MBµÄ¿Õ¼ä¡£  
£¨Òë×¢£º±ðÌýËûµÄ£¬ÕâÖÖ´ó¸Å¾ÍÊÇÄÇÖÖ¡¸Ö¤Ã÷ËµÎÒÒ²ÄÜ¹»...¡¹µÄÄÇÖÖ°²×°·¨À²£¡
µ¥µ¥Ò»¸ö tw.bbs.* Ò»Ìì¾ÍÓÐ 10 MB ÁË£¬
Ö»ÒªÄúµÄ feeder Ò»¿ªÊ¼¡õËÍ£¬Äú×Ü²»ÄÜÃ¿Ìì expire ¸öÁ½¡¢Èý´Î°É£¡
Èç¹ûÄúÏ£ÍûÎÄÕÂÄÜ¹»±£Áô¸öÁ½ÖÜµÄ»°£¬
ÄÇ 10 * 14 = 140 MB ¾ÍÅÜ²»µôÁË£¬
¼ÓÉÏÒ»Ð©ÓÐµÄÃ»ÓÐµÄ£¬´ó¸ÅÒª 200 MB£¬
Èç¹ûÓÖÓÐÄÇ¸öÃ»Ë®×¼µÄ±Æ±ÆÒ²ËÀÕ¾Éè¶¨¸ö²»ºÃ¶ø×ÊÁÏ»ØÁôµÄ»°£¬
±£Ö¤ÄúµÄ INND ÂíÉÏ¾Í¡¸¹Ò¡¹ÁË£¡£©




\section{È¡µÃ USENET news µÄÈíÌå}

±¾"HOWTO"ÄÚµÄÈíÌå¶¼¿ÉÒÔÓÉãÐ¼ÊÍøÂ·ÉÏµÄ anonymous ftp site È¡µÃ¡£

µ½ {\ttfamily ftp.uu.net} µÄ /networking/news ÄÚÑ°ÕÒ£¬Ò»°ãÀ´ËµÊÇÒ»¸öºÃµÄ¿ªÊ¼¡£

newspak-2.4.tar.z ÄÚº¬ÓÐÔÚ Linux ÏµÍ³ÏÂÕë¶Ô½¨Á¢ uucp¡¢news 
¼° mail ÈíÌåµÄÏà¹ØÉè¶¨µµ(config file)¼°¶ÁÎÒµÄµµ°¸(readme)¡£
ÕâÐ©¶¼ÊÇÃâ·ÑµÄ¡£Äú¿ÉÒÔÔÚ {\ttfamily sunsite.unc.edu:/pub/Linux/system/Mail/news} ÄÚÕÒµ½Ëü¡£
Èç¹ûÄúÔÚÉÏÊöµØ·½Ã»ÓÐ°ì·¨ÕÒµ½µÄ»°£¬
Çë¸øÎÒÒ»¸ö email£¬ÎÒ½«»áÈ·¶¨Äú¿ÉÒÔµÃµ½Ò»¸ö¸´±¾¡£
Òë×¢£º±È½ÏÐÂµÄ°æ±¾¿ÉÒÔÔÚÒÔÏÂµØµãÈ¡µÃ£º
{\ttfamily ftp://mail.ncku.edu.tw/pub/os/Linux/Unofficial/sunsite-incoming/newspak-2.5.tar.gz}
{\ttfamily ftp://ftp.ccu.edu.tw/pub1/unix/Linux/system/news/newspak-2.5.tar.gz}




\section{ÐÂÎÅ´«ËÍÈíÌå}

ÔÚÏÖÔÚ£¬UNIX ÏµÍ³ÏÂÓÐÁ½´óÐÂÎÅ´«ËÍÈíÌå£¬Ò»¸öÊÇ Cnews ÒÔ¼° INN¡£
¶ø¾É°æµÄ Bnews ÒÑÕýÊ½µÄÐû²¼¡¸ËÀÍö¡¹ÁË£¬
¶øÇÒÔ­×÷ÕßÒ²²»ÔÙ¶ÔÆäÖ§Ô®ÁË¡£

ÔÚÕâÀïËùËµµÄÐÂÎÅ´«ËÍÈíÌåÊÇÖ¸ÆäÔÚÄ»áá´¦Àí£¬
ÒÔÊ¹µÃÕÅÌùµÄÎÄÕÂµÃÒÔ´«µÝ¼°Ê¹µÃÐÂÎÅÔÄ¶ÁÈíÌå¿ÉÒÔÈ¥´æÈ¡µÄÈíÌå¡£

Äú¿ÉÒÔÉè¶¨ÄúµÄÂ·¡õµ½ÈÎºÎÄúÏ²»¶µÄµØ·½£¬
Ö»Òª UUCP µÄ¾ø¶ÔÂ·¾¶¿ÉÒÔ×¥µ½ rnew µÄÐí¿Éµµ(Permission file)£¬
ÒÔ¼°ÄúÉè¶¨ÁËÄúµÄÍøÂ·ÐÂÎÅÔÄ¶ÁÈíÌå£¬
Ê¹µÃËü¿ÉÒÔÈ¥ÕÒµ½ "inews" ¼° "mail"¡£  
£¨Òë×¢£ºÄ¿Ç°ÔÚÌ¨ÍåÊ¹ÓÃ UUCP ×î¾ß´ú±íÐÔµÄ´ó¸ÅÊÇÔøÈðÔ´ÏÈÉúµ±Äê½¨Á¢µÄ UUserv ÁË£¡
Ð»Ð» {\ttfamily cthuang@UUserv.NET.tw }ËùÌá¹©ÒÔÏÂµÄÑ¶Ï¢£¡

{$>$}ÄúÔÚ {$<$}4p3h97\$8jj@ish.chna.edu.tw{$>$} ÎÄÕÂÄÚÌáµ½:
{$>$}: ¿ÉÒÔÈ¥ÕÒµ½ "inews" ¼° "mail"¡£  £¨Òë×¢£ºÏÖÔÚ»¹ÓÐÈËÔÚÓÃ UUCPÂð£©
{$>$}µ±È»ÓÐÑ½¡£UUserv ÉçÇøÍøÂ·ÊÇÌ¨ÍåÉÙÊýÌá¹© UUCP µÄµØ·½à¸¡£
{$>$}¶øÇÒÒ²ÊÇÌ¨Íå×î´óµÄ UUCP ¼¯É¢ÖÐÐÄÄØ¡£
um...×¢ÍêÁË    £©

×¢Òâ£ºÈç¹ûÄú³¢ÊÔÍ¬Ê±°²×° Cnews ¼° INN £¬ÄÇÄúÒ»¶¨ÊÇÔÚ×ÔÑ°¿àÄÕ£»
Ö»ÄÜÑ¡Õâ¸ö»òÊÇÁíÍâÒ»¸ö¡£¿ÉÒÔ¼ÓÈë NNTP µÄ "reference Release" µ½ Cnews £¬
ÒòÎª±¾À´ËüÃÇ¾Í´òËã¡¸ÄãÙ¯ÎÒÙ¯¡¹µÄ¡£




\subsection{Cnews Cleanup Release}

Ä¿Ç°ÔÚÍøÂ·ÐÂÎÅÉÏ±ê×¼µÄ°æ±¾Ó¦¸ÃÊÇ Cnews ÁË¡£
ËüÒÑ¾­³öÀ´ºÃ¶àÄêÁË£¬ÎÒÊÇÔÚ1988ÄêµÚÒ»´Î¿´µ½ËüµÄ¡£
Ä¿Ç°µÄ°æ±¾½Ð×ö Cnews Cleanup Release£¬
ËüÊÇÓÉ CR.G ×ö²¹¶¡µÄ¡£

Cnews Ö÷ÒªµÄºÃ´¦ÊÇËüµÄ³ÉÊì¶È¡£Äú»á·¢ÏÖËü¿ÉÒÔÔÚ¸÷ÖÖµÄ *nix ÏµÍ³Ö´ÐÐ£¬
Ä¿Ç°ÔÚÈ«ÊÀ½çÒÑÓÐÊýÒÔÇ§¼ÆµÄÏµÍ³ÊÇÊ¹ÓÃ Cnews µÄ¡£

ËüÖ÷ÒªµÄÈ±µãÔòÊÇËüºÃÏñÊÇÒª¸øÄÇÐ©ÀûÓÃ uucp ¼° modem Á¬½ÓÁ½µãÖ®¼äËùÊ¹ÓÃµÄ¡£
Òò´ËÔÚ¹ÜÀíÍø¼ÊÍøÂ·¼°Ê±ÏµÍ³µÄ¡õËÍ¼°¶ÁÈ¡Ê±£¬
ÐèÒª¶îÍâµÄ NNTP ÈíÌå¡£

¾¡¹ÜÈç´Ë£¬¶Ôì¶Ò»¸öÐÂµÄ USENET ¹ÜÀíÕßÊ×ÏÈ×îºÃÊÇÑ¡ÔñÊ¹ÓÃ Cnews¡£
ÒòÎªËüÊÇÈç´ËµÄÎÈ¶¨£¬
ÓÐÁ¼ºÃµÄÎÄ¼þ¼°ºÃ¼¸Ç§¸öÓÐ¾­ÑéµÄ¹ÜÀíÕß¿ÉÒÔ»Ø´ðÄúµÄÎÊÌâ¡£

'Cleanup Release'±íÊ¾ÁË°üº¬ÁË¶Ô Overview µÄÖ§Ô®£¬
¶øÇÒ±È¹ýÈ¥µÄ»¹Òª¿ì¡£
½á¹ûÄØ¾ÍÊÇÄúÏÖÔÚ¿ÉÒÔÖ±½ÓÊ¹ÓÃ Cnews NOV ËùÌá¹©µÄ¹¦ÄÜ£¬
¶ø²»ÐèÁíÍâÔÙÀûÓÃÆäËûµÄÈíÌåÀ´Ö§Ô®ÍøÂ·ÐÂÎÅ¶ÁÈ¡³ÌÊ½Èç nn¡¢ tin¡¢¼° trn¡£ 

ÎÒ²¢Ã»ÓÐÍêÕûµÄËµÃ÷ÈçºÎÈ¥°²×°¼°Éè¶¨Õâ¸öÈíÌå£¬
Ô­ÒòÊÇÎÒÔÚ¼ÒÀïºÃ¾ÃÒÔÇ°¾Í×ª»»µ½ INNÁË¡£
Èç¹ûÓÐÈÎºÎÈËÒªÌá¹©ÎÒ´Ë·½ÃæµÄÏßË÷£¬
ÇëËÍ¸öµç×ÓÓÊ¼þ¸øÎÒ¡£

ÔÚ sunsite µÄ newspak º¬ÓÐÔÚ Linux ÏµÍ³ÉÏÅÜ Cnews Cleanup Release µÄÉè¶¨µµ¡£
¶øÄúÈç¹ûÒªÊ¹ÓÃ bash1.12 µÄ»°ÔòÄúÐèÒª×öÒ»Ð©²¹¶¡µÄ¹¤×÷¡£

»ù±¾ÉÏÄúÅÜÐÂµÄ 'quiz' ½Å±¾²¢ÇÒ²ÉÓÃÔ¤ÉèÖµ¡£
Äú±ØÐë²Î¿¼ÄúµÄ /usr/include À´»Ø´ðÒ»Á¬´®µÄÎÊÌâ£¬
µ«ÊÇÄúÒ²²»±Øµ£ÐÄ£¬ÄÇÐ©¶¼ÊÇºÜÃ÷È·µÄ¡£




\subsubsection{°²×° Cnews}

°²×° Cnews Cleanup Release ¾ø¶ÔÊÇ·Ç³£µ¥´¿µÄ¹¤×÷£»
Ö»ÒªÈ¡µÃÔ­Ê¼³ÌÊ½£¬½â¿ªËüÃÇ£¬
È»áá°´ÕÕÖ¸Ê¾È¥×÷¾ÍºÃÁË¡£

ÔÚ newspak ÄÚµÄ {\ttfamily quiz.def} ÊÇµ±ÄúµÚÒ»´ÎÖ´ÐÐ quiz Ê±Ëù²úÉúµÄ¡£
¶øÄúÖ»Òª²é¿´ÔÚ /usr/include ÄÚµÄµµ°¸¾Í¿ÉÒÔµÃµ½ÕýÈ·µÄ´ð°¸¡£

ÄúÐèÒª×î½ü°æ±¾µÄ bash ²Å¿ÉÒÔÊ¹ Cnews Í¨¹ý×ÔÎÒ²âÊÔ¡£
Äú¿ÉÒÔÀûÓÃ 'bash -version'À´ÖªµÀÄúÏÖÔÚÊ¹ÓÃµÄ bash µÄ°æ±¾¡£
1.14.2 µÄ°æ±¾¾ø¶ÔÊÇ²»Ôõ÷áµÄ¸ßÃ÷¡£
ÔÚÎÒÐ´Õâ¸öÎÄ¼þµÄÊ±ºò£¬¿´ÆðÀ´ 1.14.5 ºÃÏñÓÐ±È½ÏºÃÐ©¡£

Steve Robbins ÒÑÈ·¶¨×î½üµÄ°æ±¾Ö® 'Cnews Cleanup Release' 
·¢ÏÖÓë GNU µÄshellutils-1.9 ½áºÏÊ±ÓÐÒ»Ö»¡õ£¡
ÎÒ¼ÇµÃ Steve ÓÐ½«Æä²¹¶¡·Åµ½ sunsite¡£




\subsubsection{Éè¶¨ Cnews}

ÖÁÉÙÄúÐèÒªÈ¥±à¼­»òÊÇ¿´Ò»ÏÂµ×ÏÂµÄÒ»Ð©µµ°¸£¬
ËüÃÇ¶¼·ÅÔÚ /usr/local/lib/news¡£

\begin{verbatim}
active             - active µµ°¸¡££¨Òë×¢£º¾ÍÊÇ´æ·ÅÄúÒªÊÕµÄÍøÂ·ÐÂÎÅÌÖÂÛÈºµÄÃû×Ö£©
batchparms         - Åú´Î×÷ÒµµÄ²ÎÊý¡£
explist            - Éè¶¨ÎÄÕÂ´æ»îµÄÊ±¼ä¡£
mailname           - mail replies Ê±ÔÚ header µÄÃû×Ö¡£
mailpaths          - ÒªÕÅÌùÎÄÕÂµ½ moderated Ê± mail µÄÂ·¡õ¡£
organization       - ÄúµÄ¹«Ë¾Ãû³Æ¡£
sys                - ¿ØÖÆÄÇÐ©ÊÇÄúÒª½ÓÊÕ»òÊÇ¡õËÍµÄ¡£
whoami             - ÔÚ Path: ÄÇÐÐÄúµÄÖ÷»úÃû³Æ¡£
\end{verbatim}





\subsubsection{Î¬»¤ Cnews}

Ê×ÏÈ£¬×îÖØÒªµÄÔ­Ôò¾ÍÊÇ²»ÒªÊÖ¶¯È¥ÅªÂÒÄÇÐ©±¾À´ÓÐ¹«ÓÃ³ÌÊ½È¥Éè¶¨µÄµµ°¸¡£
ÌØ±ðÊÇ²»ÒªÊÖ¶¯È¥Éè¶¨ newsfeed 
£¨Äú¿ÉÒÔÅÜ {\ttfamily addfeed}£©¼°ÅªÂÒÄúµÄ active µµ°¸
£¨Äú¿ÉÒÔÅÜ {\ttfamily addgroup}£©¡£
µ±ÄúÓÐÒÉÎÊµÄÊ±ºò£¬¶Á...ÔÙ¶Á¸½ÔÚÔ­Ê¼³ÌÊ½ÄÚµÄÎÄ¼þ¡£

Ã¿¼þÊÂ¶¼¿ÉÒÔÀûÓÃ {\ttfamily cron} À´×ö¡£ 
ÎÒµÄ crontab ÄÚÓÐ¹Øì¶ news µÄ²¿·ÝÈçÏÂ£º

\begin{verbatim}
        # take the compressed batches that came in from other systems
        # also, post (locally) articles that originated here
        20 *       * * * /usenet/sw/news/bin/input/newsrun  

        # batch 'em up to go out
        0 *        * * * /usenet/sw/news/bin/batch/sendbatches myfeedsite

        # expire C-news 
        59 0       * * * /usenet/sw/news/bin/expire/doexpire 

        # monitor stuff and report if needed
        10 5       * * * /usenet/sw/news/bin/newsdaily 
        00 5       * * * /usenet/sw/new/bin/newswatch 

        # turn processing of incoming news batches off 6:30AM - 4:00 PM
        30 6       * * * /usenet/sw/news/bin/input/newsrunning off 
        00 16      * * * /usenet/sw/news/bin/input/newsrunning on 
\end{verbatim}





\subsection{InterNetNews (INN)}

INN ÊÇÐÂÔ¾ÉÏÎèÌ¨Õß£¬µ«ÊÇÓÉì¶ËüµÄÍêÕûÐÔÊ¹µÃËü»ñµÃ»¶Ó­¡£
ËüÖ÷ÒªµÄºÃ´¦ÊÇËüµÄ ËÙ¶ÈÒÔ¼°°üº¬ÁËÍêÕûµÄ nntp µÄ°ü×°¡£
ËüÖ÷ÒªµÄÈ±µãÊÇËüÊÇÊôì¶±È½ÏÐÂ¶øÉÐÎ´ÔÚÐí¶à±ê×¼µÄ *nix ÏµÍ³ÉÏ°²×°¼°Ã»ÓÐè¦´ÃµÄÅÜ¹ý¡£
ÁíÍâ£¬ËüÐèÒªÓÐ¸öÊØ»¤Éñ£¨daemon£©Ò»Ö±ÔÚÖ´ÐÐ£¨{\ttfamily innd}£©
¼°ÔÙ¼ÓÉÏÒ»¸ö overchan µÄ daemon È¥´¦ÀíÏßÐ÷(threading)¡£
ËüµÄ±êÖÄ¿´À´¾ÍÊÇ¿É¹ÛµÄ¼ÇÒäÌå¼°½Ï¿ìµÄËÙ¶È¡£

ÎÒÔø¾­ÔÚÒ»Ì¨ 8MB 386-33£¨Ã»ÓÐÅÜ Xwindows£©
µÄÖ÷»úÉÏÓÃ INN ÒÔ UUCP µÄÐÎÊ½Í¸¹ý14.4 kb modem 
¶øÓÐ¹ýÒ»¸öÍíÉÏ×î¸ß 5 MB ÐÂÎÅ¡õËÍÁ¿µÄ¼ÇÂ¼£¬
²¢ÇÒÃ»ÓÐÈÎºÎµÄÎÊÌâ¡£

¾¡¹ÜËüÔÚ Linux ÏÂÊÇ¿ìËÙ¶øÇÒÏàµ±µÄÎÈ¶¨£¬
µ«ÊÇÓÉì¶Ëü¶Ôì¶¸Õ¿ªÊ¼µÄÐÂÎÅËÅ·þÆ÷¹ÜÀíÕß¶øÑÔ²¢Ã»ÓÐÍêÕûµÄÎÄ¼þ
£¨ËäÈ»ÕæÊµµÄÇéÐÎÊÇÈç¹ûÄú¡õ½âÒÔáá£¬ÅÜËüÊÇÏàµ±µÄÈÝÒ×µÄ£©¡£
ËùÒÔÐÂµÄ USENET¹ÜÀíÕß×îºÃÊÇÏÈÓÃ Bnews »òÊÇ Cnews £¬
Ö±µ½Äú¶ÔÍøÂ·ÐÂÎÅÓÐÁËÏàµ±µÄ³Ì¶ÈááÔÙÈ¥Ê¹ÓÃ INN¡£
£¨Òë×¢£º±ðÌýËûµÄ£¬
ÔÚÌ¨ÍåÊÇÒ»°ÙÌ¨ÐÂÎÅËÅ·þÆ÷Ö÷»úÖÁÉÙÓÐ¾ÅÊ®ÎåÌ¨ÊÇ°²×° INN µÄ£¬
ÎÄ¼þÉÙÊÇÕæµÄ£¬²»¹ýÔÚ Linux ÉÏ°²×°²¢²»ÊÇºÜÀ§ÄÑ£¬
ÎÄ¼þÏÖÔÚÓÐ News FAQ part 1-9ÒÔ¼°Ïàµ±ÍêÕûµÄmanual  page£¬
Ö»ÊÇÄúËùÐèÒªµÄÖ»ÊÇ¶à×öµã¹¦¿Î¾ÍÊÇÀ²£¡
ÓÈÆäÊÇÓÐÎ» C.S.Chen £»Ãâ¾ªÀ²£©

INN µÄ permission ÊÇºÜÌØ±ðµÄ£¬±ð°ÑËüÃÇÅª»ìÁË¡£

INN ¶Ôì¶±ê×¼µÄ TCP/IP µÄÒªÇóÒ²ºÜÌØÊâ£¬
Linux ÔÚÕâ·½Ãæ²¢²»ÊÇºÜºÏºõÌõ¼þ£¬
Òò´ËÄú×îºÃÊÇÈ¥Ò»°ã Linux µÄ archie site 
×¥ÌØ¶¨¸ø Linux ÓÃµÄ INN À´ÓÃ¿ÉÄÜ±È½ÏÍ×µ±¡£
£¨Òë×¢£ºÕâÒ»·½ÃæÔÚ Linux 1.3.67 ÒÔÉÏµÄ°æ±¾Æä TCP/IP ¼º¾­·ûºÏÆäÒªÇóÁË£¬
Ä¿Ç°×î smart µÄÊÇkernel 1.3.70ÒÔÉÏÔÙ¼ÓÉÏ
inn1.4unoff4  um...¾ÝËµ unoff5 ¶¼³öÀ´ÁË£¡ 
Ê¹ÓÃ redhat 3.0.3 µÄ¿ÉÒÔµ½ËûÃÇ¹«Ë¾µÄ ftp site ÏÂÔØ 
newspak-unoff3~5.rpm Î¥ÊÇÒ»¸ö binary distribution£©    




\subsubsection{°²×° INN}

( {\ttfamily ÒÔÏÂÀ´×Ô Arjan de Vet - devet@info.win.tue.nl} )

ÎÒÎªÁËÒªÊ¹ INN 1.4 ¿ÉÒÔÔÚ Linux ÉÏÅÜ£¬
ì¶ÊÇ×öÁË±ØÒª²¹¶¡¼°Éè¶¨µµ£¬
Äú¿ÉÒÔÔÚÒÔÏÂµÄµØ·½È¡µÃËü£º

{\ttfamily ftp.win.tue.nl:/pub/linux/ports/inn-1.4-linux.tar.gz}

INN ÐèÒªÒ»¸öÁ¼ºÃµÄ /bin/sh¡£ÎÒÊ¹ÓÃ bash 1.13 beta°æ
£¨Äú¿ÉÒÔÔÚ¸÷¸ö ftp site ÕÒµ½Ëü£©¡£
bash 1.12 ÓÐÒ»Ð©Ð¡ÎÊÌâ£¬
ÓÐÐ©ÍøÂ·ÐÂÎÅÈºËü²¢²»ÄÜÕýÈ·µÄÕÆ¿Ø
£¨Ò²Ðí»¹ÓÐÆäËûµÄÎÊÌâ£¬²»¹ýÎÒ²»¼ÇµÃÁË£©¡£




\subsubsection{Éè¶¨ INN}

»ù±¾ÉÏÖ»ÒªÄú°´ÕÕ Arjan's µÄÖ¸Òý£¬
¾Í¿ÉÒÔ°ÑËüÉè¶¨Íê³É¡£
ÕâÀïÊÇÒ»Ð©ÐëÒª×öÐ©Ê²÷áµÄÕªÒª¡£

\begin{itemize}
\item ÔÚ config.data£¬È·¶¨ÄúÒÑ½« HAVE\_UNIX\_DOMAIN Éè¶¨³É DONT¡£
£¨Òë×¢£ºÔÚÊ¹ÓÃÐÂµÄ kernel¼° inn-1.4unoff4 Ê±£¬Äú¿ÉÒÔÉè¶¨³É DO£©
\item ½«ÄúÅÜ innd µÄÄÇÌ¨Ö÷»úÃû³Æ¼ÓÈë hosts.nntp£¬
Èç¹ûÄúÖ»Ê¹ÓÃ uucp µÄ»°£¬
¾ÍÌîÈëÄúµÄ sitename¡£
\item È·¶¨ÄúµÄ {\ttfamily /etc/inetd.conf} ÄÚÄÇÐÐ nntp ÒÑ¾­ÓÃ"\#"ºÅ½«Ëü comment µôÁË¡£
£¨Òë×¢£ºÈç¹ûÓÃ±©Á¦Ò»µãµÄ·½Ê½£¬¾ÍÇ¬´à½«Ëü kill µô£©
\item Èç¹ûÄúÓÐ°²×° Taylor UUCPµÄ»°£¬
Ôò»¹Òª½« config.data ÄÚµÄ {\ttfamily HAVE\_UUSTAT Éè³É DO}¡£
Èç¹ûÄúÔÚ´ËÉè¶¨´íÎóµÄ»°£¬
»áµ¼ÖÂÃ»ÓÐ°ì·¨½« news ÍâËÍ¡£
\item Èç¹ûÄúÅÜ INN£¬ÄúÎñ±Ø¼ÇµÃÒªÈ¥ÐÞ¸Ä {\ttfamily syslog.conf}£¬Õâ¶ÔÄúÓÐºÜ´óºÜ´óµÄ°ïÖú¡£
\end{itemize}

INN ÓÐ¸öºÜÌØ±ðµÄ FAQ£¬Ã¿¸öÔÂ¶¼»á¶¨ÆÚµÄÕÅÌùµ½ news.software.nntp, 
news.software.b,news.answers¡£
ÄúÒ²¿ÉÒÔÔÚ 
{\ttfamily rtfm.mit.edu:/pub/usenet-by-hierarchy/news} ÏÂÈ¡µÃ¡£
Äú½«»áºÜ¸ßÐËÄú×öÁË£¡




\subsubsection{Î¬»¤ INN}

ÎÒ·¢ÏÖ Linux µÄ INN site ³ýÁËÉè¶¨Ò»Ð© cron Íâ£¬
Ëü¼¸ºõ²»ÐëÊ²÷áÕÕ¹ËµÄ¡£
»ù±¾ÉÏÄúÐèÒªÒ»Ð©ÏñÒÔÏÂµÄ crontab£º

\begin{verbatim}
        # daily maint, also expire the .overview database and articles
        1 0 * * * /usenet/sw/inn/bin/news.daily expireover delayrm < /dev/null

        # send 'em out
        5 * * * * /usenet/sw/inn/lib/send-uucp
\end{verbatim}


£¨Èç¹ûÄúÒÑ¾­¸ÄÓÃ bash 1.13 Ôò {\ttfamily "{$<$} /dev/null"} ¾Í²»ÐèÒªÁË£©




\subsection{Ò»Ð©ÆäËûµÄÍøÂ·ÐÂÎÅ´«ËÍÈíÌå}

ÒÔÏÂÁÐ³öÒ»Ð©ÔÚ Linux ÉÏÈ·ÈÏÒ²¿ÉÒÔÅÜµÄÍøÂ·ÐÂÎÅ´«ËÍÈíÌå£º
\begin{itemize}
\item dynafeed
\item nntp1.5.11
\item slurp1.05
\end{itemize}





\subsection{ÒëÕßµÄ»°}

·­ÒëÁËÀÏ°ëÌì£¬½á¹ûÊÇÓú·­Óú»ð´ó¡£
»¹ºÃÊÇµ±³õÎÒÔÚ°²×° INN µÄÊ±ºò£¬
»¹Ã»ÓÐ¿´µ½Õâ¸öHOWTO£¬
·ñÔò¿´ÁËÀÏ°ëÌì£¬ÄÜ²»ÄÜ°²×°µÄÆðÀ´£¬
ÎÒ¿´»¹ÊÇ¸ö´óÎÊÌâ£¡
ÒÔÏÂÊÇÀûÓÃ Slackware Linux
£¨ÎÒÍüÁËÄÇÒ»¸ö°æ±¾ÁËÀ²£¡µ«²»ÊÇ 3.0 µÄà¸ :-(   
ÕÕÑùÀ´¶ÎÉùÃ÷£º
Èç¹ûÄúÒªÀûÓÃ 3.0ÒÔÉÏµÄ°æ±¾À´°²×°£¬
·¢ÉúÒ»ÇÐÒâÍâ£¬Æäáá¹ûÓÉÄú×ÔÐÐ³Ðµ££¬
²»¹ýÎÒºÜ»³ÒÉÄÑµÀ Slackware µÄ°²×°»á¸ÄÁËÂð£¿
Èç¹ûÄúÀûÓÃ 3.0 °²×°ááÓÐÁË½á¹û£¬
Çë email ¸æËßÎÒ£©

Ê×ÏÈÄØ¾ÍÊÇÄúÒªÓÐ Slackware Linux À²£¬
ÒªÔõ÷áÈ¡µÃÄú¾Í×Ô¼ºÉè·¨°É£¡
¿´ÊÇÒªÓÃ hopenet µÄ¹âµú£¬
»¹ÊÇÒªÀûÓÃÍøÂ·°²×°£¬
»òÊÇÒªÂòÕýÊ½°æ±¾µÄ Slackware 
ÎÒ¶¼Ã»ÓÐÒâ¼ûÀ²£¡

Äú¿ÉÒÔÀûÓÃ pkgtool À´°²×° N ÏµÁÐÀïÃæµÄ innd¡£
Ëü»á°ïÄú°²×°µÄ²î²»¶à£»
µ«ÊÇ£¬Ö»ÊÇ²î²»¶à¶øÒÑà¸£¬
²¢²»ÊÇ°ïÄú°²×°µÄºÃºÃµÄÄØ£¡
Äú»¹ÊÇÐèÒªÔÙÈ¥×öÒ»Ð©Éè¶¨µÄÀ²£¡

ÓÐÒ»µãÒªÌáÐÑ¸÷Î»µÄÊÇ£¬
Slackware µÄ inn ÊÇ°²×°µ½ /usr/lib/news È¥£¬
¶ø²»ÊÇÒ»°ãµÄ/usr/local/lib/news à¸¡£

È»ááÄú¾Í cd /usr/lib/news/tools.linux £¬
Õâ¸öÀïÃæÓÐºÃ¶àµÄ±¦²ØÄØ£¬
Ê×ÏÈÄúÏÈ°ÑÓÐ¸ö½ÐINSTALL.linux µÄ¸øÓ¡ÁË³öÀ´£¬
È»ááÄú¾Í°´ÕÕÉÏÃæµÄ²½ÖèÒ»²½Ò»²½µÄ×öÏÂÈ¥´ó¸Å¾Í½Ó½üÍê³ÉÁË¡£
ÎÒÔÚÏÂ±ßËù¸½µÄÊÇ´ÓÄÇ¶ù·­Òë¹ýÀ´µÄÎÄ¼þ£¬
µ«»¹ÊÇÇ¿ÁÒµÄ½¨ÒéÄú×îºÃ»¹ÊÇ¿´Ô­Ê¼µÄ¡£

---------------------------------------------------------------------
ÏµÍ³ÐèÇó£º
\begin{itemize}
\item ld.so
\item libc.so.4  -{$>$} libc.so.4.5.19
\item smail »òÊÇ sendmail
\end{itemize}


°²×°²½Öè£º
\begin{enumerate}
\item   ÀûÓÃÄúÌ××°µÄ¹¤¾ß½â¿ª³ÌÊ½×é£¬
ÔÚ Slackware Linux ÔòÊÇÀûÓÃÆä¹«ÓÃ³ÌÊ½ pkgtool¡£
\item   È·¶¨ÄúµÄÏµÍ³ÄÚÓÐ¸öÊ¹ÓÃÕß¼°Èº×éÃû³Æ½Ð news µÄ¡£
\begin{verbatim}
    /etc/passwd
                 news:*:9:13:news:/usr/lib/news:
                      | |  |____ GID 13 !
                      | |_______ UID 9 !
                      |_________ Õâ¸öÔ­ÎÄÐ´´íÁË£¬Èç¹ûÄúÊÇÓÃnews::9:13
    µÄ»°£¬ÈÎºÎÈË¶¼¿ÉÒÔÊ¹ÓÃ news µÄÉí·Ý²¢ÇÒ²»ÐèÒª password ¾Í¿ÉÒÔ login 
    ÁË£¬Èç¹ûÄúÃÇÊÇÕâÑù×ÓÉè¶¨£¬Çë¸æËßÎÒ£¬ÄÇÌìÈ¥×ø×ø.....    ^_^ 

    /etc/group
                 news::13:news
                        |_______GID 13!
\end{verbatim}
\item   ÒòÎªÓÐÒ»Ð© script »á¼ÄÐÅ¸ø usenet£¬ËùÒÔ±ØÐëÉè¶¨Ò»¸ö mail µÄ alias£¬
°ÑËü·ÅÔÚ /etc/aliases¡£ÄÚÈÝÈçÏÂ£º
\begin{verbatim}
    /etc/aliases:
                  news: root
                  usenet: root
\end{verbatim}

È»ááÔÙÀûÓÃ newaliases ÃüÁîÖØ½¨ alias µÄ×ÊÁÏ¿â¡£ 
\item   µ½ /etc/rc.d/rc.local ¼ÓÈë inn Æð¶¯µÄ script "rc.news"
\begin{verbatim}
    # start inn
    /usr/lib/news/etc/rc.news
\end{verbatim}
\item   ½«ÔÚ /usr/lib/news/tools.
ÀïÃæÓÐ¸ö½Ð×ö crontab-news µÄµµ°¸¸´ÖÆµ½ 
/usr/spool/cron/crontabs/newsÈ¥£¬
²¢ÇÒ½«Ëü×öÊÊµ±µÄÐÞ¸Ä¡£
½«ËüÀïÃæÓÐ¸öÃû×Ö¸Ä³É¡õËÍÍøÂ·ÐÂÎÅ¸øÄúµÄÖ÷»úÃû³Æ¡£
\item   ÄúÏÖÔÚµÄ news LIBDIR ÊÇÔÚ /usr/lib/news¡£
µ«ÒòÎªÓÐºÜ¶àµÄÐÂÎÅ¶ÁÈ¡³ÌÊ½»áµ½
/usr/local/lib/news È¥¶ÁÈ¡Ïà¹ØµÄÉè¶¨£¬
Òò´ËÄúÐèÒª×öÒ»¸ö·ûºÅµÄÁ¬½á£º
\begin{verbatim}
    ln -s /usr/lib/news /usr/local/lib/news
\end{verbatim}

Èç¹ûÄúÔÚÒÔÇ°Ôø¾­°²×°¹ý Cnews µÄ»°£¬
ÄÇ¾ÍÒÑ¾­´æÔÚ¸ö /usr/local/lib/newsÁË£¬
Òò´ËÄúÐèÒªÏÈÀûÓÃ rm ½«ËüÄÃµô£¡
\item   news µÄ spool Ä¿Â¼ÔÚ /var/spool/news¡£
Èç¹ûÔÚÄúµÄÏµÍ³ÄÚÒÑ¾­ÓÐÔÚ²»Í¬Ä¿Â¼ÏÂµÄ news ÎÄÕÂÊ±£¬
¶øÄúÓÖÒÑ¾­ÓÐ /var/spool/news µÄÄ¿Â¼Ê±£¬
ÏÈÒÆ³ý/var/spool/news Ä¿Â¼£¬
È»ááÔÙ½«ÄúµÄ news spool Ä¿Â¼×ö¸ö·ûºÅÁ¬½á
£¨ÀýÈçËµ£¬Èç¹ûÄúÔ­ÓÐµÄÔÚ /news µÄ»°£©
\begin{verbatim}
    ln -s /news /var/spool/news
\end{verbatim}


\item   ÐÞ¸ÄÔÚ /usr/lib/news ÏÂµÄ config µµ£º
ÔÚÒÔÏÂµÄµµ°¸ÄÚÈÝÀïÃæÈç¹ûÓÐ¿´µ½ manlobbi £¬
Õâ±íÊ¾ÊÇ¸öÐÂÎÅËÅ·þÆ÷Ö÷»ú£¬
¶ø knobel ÊÇÎÒµÄÍøÂ·ÐÂÎÅÆ÷¿Í»§¶Ë¡£
Äú±ØÐëÈ¥ä¯ÀÀÔÚ /usr/lib/news ÄÚµÄÒÔÏÂµµ°¸¡£
\begin{verbatim}
    
    expire.ctl hosts.nntp inn.conf moderators newsfeeds
    nnrp.access nntpsend.ctl passwd.nntp
\end{verbatim}


ÒÔÉÏÒ»¶¨ÒªÐÞ¸ÄµÄÓÐ inn.conf, hosts.nntp, newsfeeds, nnrp.access 
ÆäËûµÄ ... um.. ¾Í¿´Öø°ìºÃÁË¡£
Èç¹ûÄúÊÇÓÃ nntpsend µÄ»°£¬
ÄÇÄú¾ÍÐèÒªÈ¥¸Ä nntpsend.ctl

\item   ½¨Á¢Ò»¸ö¿ÕµÄhistory database ¼° log
\begin{verbatim}
    :>/usr/lib/news/history
    :>/usr/lib/news/history.dir
    :>/usr/lib/news/history.pag
    :>/usr/lib/news/errlog
    :>/usr/lib/news/log
    chmod 664 /usr/lib/news/{history*,log,errlog}
    chown news.news /usr/lib/news/{history*,log,errlog}
\end{verbatim}




\item  ÒÔ root µÄÉí·ÝÖ´ÐÐ makedirs.sh
\item ÀûÓÃ man news-recovery È¥¶Á news-recovery¡£
Ëü°üº¬µ±ÄúÒÑ½«ÄúµÄ news ÏµÍ³Éý¼¶µ½ INN Ê±ÈçºÎÈ¥»Ø¸´Ëü¡£
\item  È·ÈÏÄúµÄ uucp permission file ÔÊÐí uux È¥ÅÜ rnews ¼° grnews¡£
um... ÀÁµÃÔÙ·­ÏÂÈ¥ÁË£¬
Õâ¸öÕæµÃÊÇ¹úÇé²»Í¬£¬
ÄãÒªÓÃ uucp Âð£¿
Ë³±ãÌáÒ»ÏÂ£¬
Èç¹ûÄú¶ÔÍâµÄÆµ¿íµÍì¶ 28.8k µÄ»°£¬
ÄÇÎÒ¿´¾ÍËãÁË£¬
²»ÒªÔÙ×°Ê²÷á news server ÁË£»
Ç°Ð©ÈÕ×Ó¡õµÃÎÞÁÄËãÁËÒ»ÏÂÏÂ£¬
Èç¹ûÖ»½Ótw.bbs.*µÄ»°£¬
Ò»Ìì»á³ÔµôÒ»Ìõ 14.4k µÄÆµ¿í¡£
\item  ÕâÌõÓÐµã¶ùÎÊÌâ£¬
Èç¹ûÃ»ÓÐ¼Ç´íµÄ»°£¬
ÔÚ News FAQ ÀïÃæ½¨ÒéµÄ¸Ä·¨¿ÉÄÜ»áºÃÒ»Ð©£¡
\begin{verbatim}
    ¾ÍÊÇÔÚ /etc/syslog.conf ÄÚ¼ÓÈë

    *.=info;*.=notice;news.none   /usr/adm/messages
                     ^^^^^^^^^^
                      ¼ÓÉÏÈ¥ 
    news.crit                     /var/log/news/news.crit
    news.err                      /var/log/news/news.err
    news.notice;news.info         /var/log/news/news.notice
\end{verbatim}


ÕâÈý¸öµµ£¬news.daily ÔÚÃ¿ÌìÖ´ÐÐµÄÊ±ºò£¬
»á½«ËüÃÇÑ¹ËõÆðÀ´£¬
È»áá·Åµ½/var/log/news/OLD ÀïÃæÈ¥£¬
Ô¤ÉèÖµÊÇ´æÆßÌì£¬
Ãû×ÖºÃÏñ¾ÍÊÇ news.err.gz.1ÕâÖÖÑù×Ó£¬
Ö±µ½ .7 ÎªÖ¹´ú±íÆßÌìÇ°µÄÒ»Ð© log ¡£

ÎÒÔø¾­¿´¹ýºÜ¶àÈËµÄ¶¼ÊÇ·Åµ½ /usr/adm/messages ¼° /usr/adm/syslog 
ÀïÃæÈ¥£¬ÕâÑù×Ó×öµÄÈ±µãÊÇ messages »áÒ»Ö±³¤´ó£¬
¶ø news.daily ²¢²»»áÈ¥´¦Àí messages Õâ¸öµµ£¬
µ½ÁËÓÐÒ»Ìì£¬ÄúÒ²Ã»ÓÐÊ²÷á¹¤¾ß³ÌÊ½¿ÉÒÔ¿´Ëü»òÊÇÈ¥±à¼­Ëü£¬
¾ÍÖ»ÓÐ°ÑËü¸øÉ¾³ýµôÕâÒ»ÌõÂ·¶øÒÑ¡£
¿ÉÊÇÄúÖªµÀÄÇÑù×Ó¿ÉÄÜÓÐÐ©ÖØÒªµÄÑ¶Ï¢¾Í±»Äú¸ø...ÁË¡£

um...¹ûÈ»ÊÇÄê¼Í´óÁË£¬³£³£Íü¶«ÍüÎ÷µÄ£¬
Äú»¹ÒªÀûÓÃ ps ÕÒµ½ syslogd µÄ pid£¬
È»ááÀûÓÃ kill -HUP pid ÖØÐÂÆð¶¯Ëü²ÅÓÐÓÃà¸£¡



\item  ÐÞ¸Ä /etc/inetd.conf µÄÄÚÈÝ¡£
½«ÀïÃæÓÐÒ»ÐÐ nntp µÄ°ÑËü¸øÉ¾³ýµô£¡
»òÊÇÔÚÄÇÐÐµÄÇ°Ãæ¼ÓÉÏÒ»¸ö "\#" ºÅ¡£
Õâ¸öÄ¿µÄÊÇÔÚ Cnews ÀïÃæÊÇÀûÓÃ inetd È¥¼àÌý
port 119 Èç¹ûÓÐ connect µ½Õâ¸ö port µÄ»°£¬
inetd ¾Í½ÐÓÃ nntp À²¡£
µ«ÊÇ INN µÄ×÷·¨²»Ì«Ò»Ñù£¬
ËüÊÇÀûÓÃ innd Õâ¸ö daemon È¥¼àÌýÕâ¸ö port µÄ£¬
ËùÒÔÈç¹ûÕâ¸ö port ±»Ê¹ÓÃÁË£¬ 
innd ±»²»ÄÜÔÙÀûÓÃËüÁË¡£

¶ÔÁË£¬
ÏÈÀûÓÃ ps ax ²é¿´ inetd µÄ pid £¬
È»ááÀûÓÃ kill -HUP pid ÖØÐÂÆð¶¯ inetd¡£
\item  ÀûÓÃÏÂÊöµÄÃüÁîÆð¶¯ innd£¬
¼ÇµÃÒªÒÔ root µÄÉí·Ýà¸£¡
\begin{verbatim}
   
    /usr/lib/news/etc/rc.news
\end{verbatim}




\end{enumerate}

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

ÏÖÔÚÄúµÄ innd Ó¦¸ÃÒÑ¾­Æð¶¯ÁË£¬
Äú¿ÉÒÔÀûÓÃ ps µÄÖ¸Áî¿´µ½Ëü¡£
Èç¹ûÃ»ÓÐ¿´µ½µÄ»°´ó¸ÅÊÇÈ¥±¨µ½ÁË£¬
µ½ /var/log/news ¿´Ò»ÏÂ news.err ¼° news.crit °É£¡
¿´¿´´íÎóÑ¶Ï¢ÊÇÊ²÷á£¡
È»áá¾ÍÈ¥·­ NEWS FAQ part 3:Reasons why INN isn't start¡£
¿´¿´ÄúµÄÇé¿öÊÇ²»ÊÇÔÚ FAQÀïÃæÓÐÌáµ½£»
Èç¹ûÃ»ÓÐÌáµ½µÄ»°£¬
ÔÙ·­ NEWS FAQ part 5:Other error messages and what they mean¡£
Èç¹û»¹ÊÇÃ»ÓÐµÄ»°£¬
¾ÍÖ»ºÃ NEWS FAQ ÓÉpart 1µ½ part 9 ¶¼¿´Ò»´ÎÁË£¡
¿´¿´ÓÐÃ»ÓÐÊ²÷áÁé¸Ð£¬Èç¹û»¹ÊÇÃ»ÓÐµÄ»°£¬
½¨ÒéÄúÔÙ¿´Ò»´Î£»Èç¹ûÈÔÃ»ÓÐµÄ»°£¬
ÔÙ¶ÁÒ»´Î£¬Ë³±ã°ÑËü³ÉÖÐÎÄ¡£
ÕæµÄ£¬ÎÒ²»ÊÇ¿ªÍæÐ¦µÄ£¬
Äú¶ÁÁË£¬Óë¶¯ÊÖÈ¥°ÑËü·­³ÉÖÐÎÄÕâÖÐ¼ä£¬
ÈÏÖªÉÏµÄÒâ¾³»¹ÊÇÓÐÏàµ±³Ì¶ÈµÄ²î±ðµÄ¡£
Èç¹ûÁ¬ÕâÑù¶¼»¹ÊÇÓÐÎÊÌâ£¬
ÄÇÄú¿ÉÒÔÕÒÍ¬Òâ¡õËÍ×ÊÁÏ¸øÄúµÄ news server ¹ÜÀíÕß£¬
ÎÒÏàÐÅËûÃÇ¶¼»á²¦¸ö¿Õ°ïÄú¿´¿´µÄ£¬
¿ÉÄÜÓÐÄÇ¸öµØ·½ÓÐÎÊÌâ£¬
Ò²ÐíÕâ¸öÎÊÌâ»áÎ£¼°ÓëÄú»¥Ïà¡õËÍµÄ news server Ò²Ëµ²»¶¨¡£
Èç¹ûÁ¬ËûÒ²Ã»ÓÐ°ì·¨½â¾öµÄ»°£¬
½«ÄúµÄÎÊÌâ post µ½ tw.bbs.netnews£¬
»òÊÇÄúÒª smart Ò»ÏÂ post µ½ news.software.nntp Ò²²»´íÀ²£¡
²»¹ý post Ö®Ç°ÔÙÏëÒ»ÏÂ£¬
Èç¹ûÄÜË½ÏÂ½â¾öµÄÎÊÌâ£¬
¾ÍË½ÏÂ½â¾ö°É£¡
Í¬ÑùÊÇ°ÑÎÊÌâ½â¾öÁË£¬
¿ÉÊÇ tw.bbs.netnews ÉÏÓÐºÃ¼¸Î» news µÄ¹ÜÀíÕßÒ²ÔÚ¿´ÄØ£¡
ËùÒÔÌ«ÄÇ¸öµÄÎÊÌâ£¬
ÓÐÊ±»¹»á±»ÄÃÈ¥µ±½Ì²ÄËµ£¡
ÁíÍâ¾ÍÊÇÆäËûÈËÒ²»á¾õµÃÅÂÅÂµÄ£¬
ÒòÎª news µÄÌØµã¾ÍÊÇ server Óë server ÏàÁ¬µÄ£¬
½ñÌì¶àÁËÒ»¸ö²»ÊÇºÜ³ÆÖ°µÄ¹ÜÀíÕß¾ÍËãÎÒ¶¼»áµ¢ÐÄ£¬
ÄÇÌì¾ÍÕâÑù±»°ÚÁËÒ»ÏÂ×ÓÒ²Ëµ²»¶¨ÄØ£¡

¶ÔÁË£¬Íü¼ÇÌáÒ»µã£¬ÔÚ /usr/lib/news/etc/rc.news ÄÚÓÐÒ»ÐÐÊÇÓÃÀ´Éè¶¨ 
innwatch ÊÇ·ñÒªÆð¶¯µÄ£¬
default ÖµÊÇ false ½¨Òé¸Ä³É true £»
Èç¹ûÄú¶¨³É true µÄ»°£¬
ÔÚÆð¶¯ innd µÄÍ¬Ê±£¬
ËüÒ²»áÆð¶¯ innwatch¡£
¶ø innwatch µÄ¹¦ÄÜ¾ÍÊÇ¼àÊÓ innd ÊÇ²»ÊÇËÀµôÁËÀ²£¡
£¨innd Ò²ÊÇ»áËÀµôµÄ£¬
²¢ÇÒÊÇÄªÃûÆäÃîµÄËÀµô£¬
¶øÇÒ»¹ÊÇËÀµÃÎÞÉùÎÞÏ¢µÄ£¬
Äú¶¼²»ÖªµÀßÖ£¡
²»¹ý»°Ëµ»ØÀ´£¬
Èç¹ûËÀµÄÓÐÉùÓÐÉ«µÄ»°£¬
ÄÇ¿ÉÊµÔÚÌ«¿ÉÅÂÁËÀ²£¡£©
Èç¹ûÓÐ innwatch µÄ»°£¬
Ëû»á¼Ä·âÐÅ¸ø root¡£
»¹ÓÐ¾ÍÊÇÏµÍ³µÄ load Ì«¸ßÀ²£¬
»òÊÇÓ²µúµÄ¿Õ¼ä²»¹»ÁË£¬
Ëü»á°Ñ innd ÏÈÍ£×¡
£¨ÓÐÊ±Äú»¹»áÆøµÄÏë°ÑËü¸øÍ£µôÄØ£¡
Ã÷Ã÷Ã»Ôõ÷áÂï£¡
ÕâÊ±ºòÄúÐèÒªÈ¥µ÷Õû innwatch.ctl ÀïÃæµÄÒ»Ð©²ÎÊýÖµ£©¡£
ÓÈÆäÊÇÓ²µúµÄ¿Õ¼äÈç¹ûÓÃ¹âµÄ»°£¬
ÔÙ½ÓÖøÏÂÀ´£¬
ÄúÒªÊÇÄÜ¹»ÎÞÉËµÄÖØÐÂÆð¶¯ innd µÄ»°£¬
ÄÇ»¹ÕæµÄÊÇÄúµÄÔì»¯ÄØ¡£

ÁíÍâ¼ÇµÃÒ»µã£¬
ÒÔááÒªÐÞ¸ÄÉè¶¨À²£¬
»òÊÇ¼ÓÈëÐÂµÄ feed site £¬
»¹ÊÇÐÂµÄ newsgroup µÈµÈ£¬
·´Õý³ýÁËÆð¶¯ rc.news Ö®ÍâµÄÒ»ÇÐÓë news Ïà¹ØµÄ£¬
Äú¶¼ÒªÓÃ news µÄÉí·ÝÈ¥×÷£¨su news)¡£ 

ÔÚ¿ªÊ¼ÍøÂ·´«ËÍÖ®Ç°£¬
Äú¿ÉÒÔÏÈ¿´ INN FAQ Part 4: The debugging tutorial (setup of feeds etc.)¡£
²¢²ÎÕÕÉÏÃæµÄ½¨Òé£¬
ÏÈÊÔÊÔ¿´ÄúµÄÉè¶¨ÊÇ·ñ¶¼ÊÇÕýÈ·µÄ¡£
Èç¹ûÕâÒ»¹ØÄúÒ²Í¨¹ýÁËµÄ»°£¬
ÔÙÖ´ÐÐ¸ö /usr/lib/news/bin/inncheck -v£¬
¿´¿´ÓÐÃ»ÓÐ´íÎóµÄÑ¶Ï¢£¬
Èç¹ûÒ²Ã»ÓÐµÄ»°£¬
ÕâÊ±ºòÓ¦¸Ã¾Í¿ÉÒÔÍ¨ÖªÄúµÄfeeder ¿ªÊ¼¡õËÍÏà¹ØµÄÍøÂ·ÐÂÎÅÌÖÂÛÈº¸øÄúÁË£¡




\section{News Readers}

ÕâÀïËùÎ½µÄ News Readers ÊÇ·º³ÆÐí¶à¼Ü¹¹ÔÚ  Linux ÉÏÓÃÒÔÔÄ¶Á newsµÄÌØ¶¨ÈíÌå¡£ 
¶øÒ»°ãÀ´Ëµ£¬
×îÈÝÒ××Ô Linux ºÍ newspak ÖÐÈ¡µÃµÄ°æ±¾ÊÇ"{\ttfamily tin}"£¬"{\ttfamily rn}"£¬"{\ttfamily trn}"¡£

»ù±¾ÉÏ£¬µ±Ñ¡ÔñÒ»¸ö news reader Ê±£¬
Æä±ê×¼²»ÍâÊÇÊ¹ÓÃ¼òµ¥£¬
ÓëÈÝÒ×Éè¶¨(Ò×ì¶Ñ¡ÔñÓÐÐËÈ¤ÏëÔÄ¶ÁµÄnews£¬
²¢É¸³ýµô²»ÏëÔÄ¶ÁµÄÎÄÕÂ)¡£

Äú¿ÉÒÔÉè¶¨Â·¾¶µ½ÈÎºÎÄã¸ßÐËµÄµØ·½£¬
Ö»ÒªÈ«²¿µÄÐÂÎÅ¶ÁÈ¡³ÌÊ½¿ÉÒÔ´ÓÄã°²×°µÄINN»òCnewsÕÒµÃµ½
"{\ttfamily inews}"¼°"{\ttfamily mail}"³ÌÊ½ÒÔËÍÐÅÈ¥»Ø¸²ÕÅÌù²¼¸æ¡£
( Òë×¢: Èç¹ûÄúÊ¹ÓÃµÄÊÇ Slackware Linux£¬
ÔÚ°²×°Ê±Ò²ÓÐÑ¡Ôñ°²×° NÏµÁÐ£¬
ÄÇ÷áÏµÍ³¾Í»á×Ô¶¯°ïÄúÕýÈ·°²×°ºÃ INN Óë C-News £¬
ÄúËùÐëÒª×÷µÄ¾ÍÖ»ÊÇ¸úÖø /usr/lib/news/tools.linuxÄ¿Â¼ÖÐµÄ 
INSTALL.linuxµµ°¸ËùËµÃ÷µÄµ÷ÕûÒ»Ð©Éè¶¨µµ¶øÒÑ¡£ )

±¾ÕÂ½ÓÏÂÀ´½«»á¼ò¶ÌµØÌá¼° news reader ÖÐ¼¸¸ö½ÏÊÜ»¶Ó­ÇÒ³£¼ûµÄÈíÌå¡£
²»ÒªÄãÎÊ£¬ÎÒÓÐºÜ¶àÀíÓÉÈ¥ÓÃ"{\ttfamily nn}"¡£




\subsection{Tin}

Tin ÊÇÒ»¸öÏàµ±ÊÊì¶ÐÂÊÖÊ¹ÓÃµÄ¡¸ÌÖÂÛ´®Ê½ÐÂÎÅ¶ÁÈ¡³ÌÊ½¡¹¡£
Ëü¿ÉÖ§Ô®É¾³ýµµ°¸Óë NOV ´®ÁÐ·½Ê½¡£
Èç¹ûÄúÊ¹ÓÃµÄÊÇ INN £¬
ÄÇ÷á Tin Ô¤ÉèÎª¶ÁÈ¡ NOV.overlay µÄµµ°¸£¬
¶ø²»Ð´Ë÷Òýµµ¡£

ÈçÄúÏëÒªÔÚ Linux µÄ»·¾³ÏÂ±àÒï Tin £¬
»ù±¾ÉÏÖ»ÐèÔÚ makefile ÖÐÉè¶¨ÆäÈíÌåËùÔÚÎ»ÖÃ
( ÓÈÆäÊÇ inews ËùÔÚµÄÎ»ÖÃ ) £¬
È»ááÊäÈë "make linux" µÄÃüÁî¼´¿É¡£ 
¶Ôì¶ÔÚ Linux ÏÂ²Ù×÷µÄ news ¶øÑÔ£¬
²¢²»ÐèÒªÌØ±ðµÄ²¹¶¡Âë¡£

ÖÁì¶ÌÖÂÛ´®Ê½µÄÔÄ¶Á£¬
Äú¿ÉÒÔÊäÈë "tin -u" À´ update Ë÷Òýµµ¡£

ÎªÁËÈ·±£¿ÉÒÔÊ¹ÓÃ NNTP Ð­¶¨À´ÔÄ¶Á news £¬
ÔÚ±àÒïµÄ¹ý³ÌÖÐ£¬ 
Äú±ØÐëÉè¶¨ "NNTP\_ABLE"£¬
Õâ¸ö²ÎÊýµÄÉè¶¨ÔÚÊ¹ÓÃ local host ¶ÁÈ¡µÄÇé¿öÏÂ»áÉú³É "tin" £»
¶øÒÔ NNTP ·½Ê½¶ÁÈ¡ news Ê±£¬Ôò»á²úÉú "rtin" µÄµµ°¸¡£
¼üÈë"tin -r"½«¿ÉµÃµ½Óë¼üÈë"rtin"ÏàÍ¬µÄ¹¦ÄÜ¡£

Iain  Lea ÏÈÉú½¨ÒéÔÚ  crontab  ÖÐ¼ÓÈëÒÔÏÂµÄÐðÊö£¬
²¢¼üÈë  "make daemon" À´ make "tind" ¡£

\begin{verbatim}
        # thread the database
        35 * * * * /usenet/bin/tind -u
\end{verbatim}


ÎÒÔøÔÚ SLIP Ð­¶¨ÏÂ°Ñ {\ttfamily tin} µ±³É NNTP-based µÄ newsreader Ê¹ÓÃ¹ý¡£
Èç¹ûÄúËùÒª½ÓÉÏµÄÏµÍ³½ÓÊÜÈ«²¿µÄÐÂÎÅÈº×éÊ±£¬
ÔòÄú¾Í±ØÐë»¨ºÜ¶àÊ±¼äÔÚµÈ´ýÏµÍ³ÔØÈë "active"Õâ¸öµµ°¸¡£




\subsection{Trn/Mthreads}

trn ÈíÌåµÄÇ°ÉíÊÇ "rn" £¬
¶øÁ½Õß¼äµÄ²»Í¬ÔòÔÚì¶Ç°Õß¿ÉÒÔÌá¹©ÌÖÂÛ´®Ê½µÄÔÄ¶Á¡£
trn3.2 »òÕß¸üÐÂµÄ°æ±¾¿ÉÒÔÑ¡ÔñÊ¹ÓÃ "mthreads" ·½Ê½ 
( trn µÄÄÚ¶¨ ) »òÊÇ NOV ·½Ê½ ( INN ) À´×ö´®ÁÐÊ½µÄÔÄ¶Á¡£

ÏëÒª±àÒë±¾ÈíÌå£¬
Ö»ÐèÖ´ÐÐ Configure £¬
²¢½ÓÊÜÆäËùÆÀ¹À¹ýµÄÄÚ¶¨Öµ¡£
»¹ÓÐ¾ÍÊÇÄãµÄÏµÍ³ÖÐÖÁÉÙÒªÓÐ lib4.4.1 ºÍ bash-1.13 
(ÏÖÔÚÔÚºÜ¶àµÄLinux archive sitesÒÑ¾­ÓÐbeat°æ±¾)
²ÅÄÜÊ¹Configure ³É¹¦µÄÖ´ÐÐ¡£
Äã¿ÉÄÜÍ¬Ê±ÐèÒªbash1.13ºÍlibs4.4.1ÒÔÊ¹µÃÐÂµÄConfigure¿ÉÒÔÕýÈ·µÄÖ´ÐÐ¡£

ÔÚ sunsite µÄ newspak °üº¬ÓÐÔÚ Linux ÏÂ¸ø trn ÓÃµÄ¿ÉÒÔ¹¤×÷Ö®config µµ°¸¡£

Ò»°ãÀ´ËµÈ¥ÐÞ¸Ä trn µÄ config.sh µµ°¸²¢²»ÊÇ´ÏÃ÷µÄ¾Ù¶¯£¬
³ý·ÇËµÖ»ÊÇÒ»Ð©·Ç³£µ¥´¿ÈçÐÞ¸ÄÂ·¾¶ÒÔ·ûºÏÄãµÄ¹¤×÷Ö®ÀàµÄ¶¯×÷¡£
Èç¹ûÄúÏëÕâÑù×öµÄ»°£¬
Ò²×îºÃÔÚÖ´ÐÐ"make depend"¡¢
"make"¡¢
"make install"
Ö®Ç°ÏÈÖ´ÐÐ"Configure -S"¡£

¾¡¹ÜÔÚ Linux ÉÏÒÔ bash1.12 Ö´ÐÐ "configure" Ê§°Ü£¬
µ« "Configure -S" È´¹¤×÷µÄºÜºÃ£¬
Òò´ËÈç¹ûÄãÒÔ newspak µÄ config.sh ×÷ÎªÒ»¸öÆðµã£¬
ÄÇÄã¾ÍºÜ½Ó½üÁË¡£

±àÒëÊ¹ÓÃ NNTP ¶ÁÈ¡µÄ trn Ò²Ö»ÊÇµ± Configure ÎÊÄãÊÇ²»ÊÇÒªÈ¥×öÊ±¼òµ¥µÄ»Ø´ð"yes"¶øÒÑ£¬
( ¼ÙÉè Configure ¿ÉÒÔÕý³£×÷¶¯ ) ¡£
Î´À´µÄÐÂ°æÒ²½«»á°Ñ NNTP ¶ÁÈ¡µÄ config.sh °üº¬½øÀ´ -- 
Ò»ÈçÔÚ local host ¶ÁÈ¡ÕßµÄ config.sh ¡£

ÎÒÔøÔÚ SLIP Ð­¶¨ÏÂ°Ñ {\ttfamily trn} µ±³É NNTP-based µÄ newsreader Ê¹ÓÃ¹ý¡£
Èç¹ûÄúËùÒª½ÓÉÏµÄÏµÍ³½ÓÊÜÈ«²¿µÄÐÂÎÅÈº×éÊ±£¬
ÔòÄú¾Í±ØÐë»¨ºÜ¶àÊ±¼äÔÚµÈ´ýÏµÍ³ÔØÈë "active"Õâ¸öµµ°¸¡£

trn ÓÐÏàµ±¶àµÄÃüÁîÁÐÖ¸Áî¿É¹©Ê¹ÓÃ£¬ 
Äú¿ÉÒÔÇáÒ×µØ×ÔÆä man page ÖÐÈ¡µÃÄúËùÐèÒªµÄ×ÊÑ¶Ï¸½Ú¡£
ÖÁì¶ÎÒÔòÊ¹ÓÃÁíÒ»¸öÓÐ·½±ãµÄ·½·¨À´Éè¶¨trn £º

\begin{itemize}
\item °ÑËùÓÐµÄ²ÎÊýÉè¶¨Ð´ÔÚ ~/.trnrc
\item Ö´ÐÐÒÔÏÂÃüÁî export TRNINIT="~/.trnrc"
\end{itemize}


ÔÚÄ¿Ç°µÄ newspak ÖÐ¶¼»áÓÐÒ»¸ö .trnrc µµ¿É×öÎªÀý×Ó£¬Äú¿ÉÒÔ²ÎÕÕ¿´¿´¡£

trn3.2 ¼°¸üÐÂµÄ°æ±¾¿ÉÒÔ×ÔÓÉÑ¡ÔñÊ¹ÓÃÖ§Ô®  NOV »ò mthreads µÄ´®ÁÐÔÄ¶Á·½Ê½¡£
Òò´Ë£¬ÎÒ¸öÈË½¨ÒéÉè¶¨ trn ÈíÌå£¬
Ê¹Ö®Á½ÖÖ¸ñÊ½¶¼¿ÉÔÄ¶Á (¿ÉÔÚ ConfigureÖÐÉè¶¨ ) £¬
È»ááÔÚÆô¶¯ trn Ê±ÔÙÑ¡ÔñÆäÖÐÒ»ÖÖÀ´Ê¹ÓÃ£¬
ÀýÈç£º Äú¿ÉÒÔÓÃ "trn -Zo"Ñ¡Ôñ NOV ¸ñÊ½£»
»òÕß "trn -Zt" Ê¹ÓÃmthreads £¬
¶øÇÒÄú¿ÉÒÔÔÚ alias ÖÐÐ´ÈëÉÏÊöÃüÁî£¬
Õâ»áÊ¹ÄúµÄÊ¹ÓÃ¸ü·½±ã¡£

ÎªÁËÒª½¨Á¢Ê¹ÓÃ   mthreads  ´®ÁÐÊ½ÔÄ¶ÁµÄ×ÊÁÏ¿â£¬  ÄúÉÐÐëÔÚ  news
crontab ÖÐÊäÈëÒÔÏÂÐðÊö¡£

\begin{verbatim}
        # thread the trn database
        35 * * * * /usenet/bin/mthreads all
\end{verbatim}



\subsection{NN}

Äú¿ÉÒÔÔÚ sunsite ÉÏÈ¡µÃÕâÒ»Ì×ÈíÌå£¬
ÇÒÆäÖÐÒà°üº¬°²×° nn6.4.18 Ê±ÍêÕû¿ÉÊ¹ÓÃµÄ×éÌ¬µµ (working configure file)£¬
ÄúÖ»ÐèÈ¡µÃ´ËÈíÌå£¬ 
²¢ÔÚ Linux ÏÂ¼üÈë  "make"  ±ã¿É×ÔÐÐ±àÒï£¬
»¹ÓÐ¾ÍÊÇ´Ë×éÌ¬µµÔÚnn6.5b3( nn6.5 µÄ beta °æ ) Òà¿ÉÊ¹ÓÃ¡£

±àÒïÍê³Éáá£¬½øÐÐÏÂÁÐ²½Öè£º
\begin{itemize}
\item           - Ö´ÐÐ "inst" ÃüÁîÒÔ°²×°È«²¿µÄ¶«Î÷¡£
\item           - ³õÊ¼»¯×ÊÁÏ¿â¡£
\item           - Ö´ÐÐ nnmaster
\end{itemize}


ÓÐ¹ØµÄÏ¸½Ú£¬Äú±ØÐëÔÙÏê¶ÁËænn¶øÀ´µÄÎÄ¼þµµ¡£
³ýÁËÄú±ØÐë°ÑnnmasterÉè¶¨ÔÚcrontabÖÐÖ´ÐÐ¶ø²»ÊÇµ±³ÉÔÚ±³¾°Ö´ÐÐµÄÊØ»¤Õß(daemon)Íâ£¬
ÔÚ Linux ÖÐ±àÒï£¬
Éè¶¨ÓëÖ´ÐÐ nn ºÍÔÚÆäËû *nix ÏµÍ³²¢ÎÞ²»Í¬¡£
´ËÍâÈç¹ûÄú³¢ÊÔ°Ñ nnmaster Ö±½Ó¶ªµ½±³¾°À´Ö´ÐÐ£¬
ÄÇ÷áËüÒ²ÎÞ·¨ÕýÈ·µÄ±»Çý¶¯¡£

Éè¶¨ nn µÄÖ´ÐÐÊÇÏàµ±¼òµ¥µÄ£¬ÄúÖ»ÐèÔÚ crontab ÖÐ¼ÓÈëÒÔÏÂÐðÊö£º
\begin{verbatim}
        # run nnmaster to collect "nn" stuff
        # (not needed if you use NOV from INN in nn-6.5beta3)
        25 * * * * /usenet/sw/nn/lib/nnmaster

        # expire the nn database
        # (not needed if you use NOV from INN in nn-6.5beta3)
        0  4       * * * /usenet/sw/nn/bin/nnadmin =EYW 

        # stash a copy of the active file for "nngoback" and keep last 7
        0 3 * * * /usenet/sw/nn/lib/back_act 7 
\end{verbatim}


ÎÒÔøÊÔÖøÔÚ SLIP Ð­¶¨ÏÂ°Ñ {\ttfamily nn} µ±³É NNTP-based µÄ newsreader Ê¹ÓÃ¹ý¡£
ÔÚÕâÖÖÇé¿öÏÂ¶Ô {\ttfamily config.h} µµ°¸ÉÔ×öÐÞ¸ÄÈÔÊÇ±ØÒªµÄ£¬
¶øÄú¿ÉÒÔÔÚ¸Ãµµ°¸µÄ×¢½âÎÄ×ÖÖÐµÃµ½¸üÏ¸½ÚµÄ×ÊÑ¶¡£
°Ñ nn µ±³É  NNTP-based  µÄnewsreader Ê¹ÓÃÊ±£¬ 
nn »áÔÚ¼º¶Ë (local) Ö´ÐÐ {\ttfamily nnmaster}±£ÓÐÒ»·Ý´®ÁÐÊ½ÔÄ¶ÁµÄ×ÊÁÏ¿â£¬
Òò´Ë£¬ÔÚ¼º¶ËÑ¡ÔñÎÄÕÂµÄ¶¯×÷»á±ÈÆäËûÈíÌå¿ìÐí¶à¡£
( µ±È»£¬Èç¹ûÄúÊÇÊ¹ÓÃ modem ÉÏ silp £¬Ò»Ð©ºÏÀíµÄµÈ´ýÊ±¼äÈÔÊÇÎÞ¿É±ÜÃâµÄ¡£ )

ÐÂ°æµÄ {\ttfamily nn} (6.5.x) µ±È»Ò²Ö§Ô® INN µÄ NOV ×ÊÁÏ¿â¸ñÊ½£¬
ÇÒµ±ÄúÊ¹ÓÃ´Ë¹¦ÄÜÊ±£¬
Äú¾Í¿ÉÒÔ²»±ØÖ´ÐÐ {\ttfamily nnmaster} ÁË£¬
ÎÒ¸öÈË{\itshape Ç¿ÁÒ\/}ÍÆ¼öÊ¹ÓÃ´Ë¹¦ÄÜ£¬
ÒòÎªÈç´ËÄú¾Í¿ÉÒÔ²»ÓÃÀË·Ñ cpu µÄÊ±¼äÈ¥Ö´ÐÐ {\ttfamily nnmaster}
ÓëÈ¡µÃ´®ÁÐÊ½ÔÄ¶ÁµÄ×ÊÁÏ¿â£¬
ÖÁì¶ÕæÕýµÄ news ÎÄÕÂÔÚ´Ë¹¦ÄÜÏÂÔòÊÇ·ÇÍ¬²½µÄÈ¡µÃ¡£


\subsection{ÆäËûµÄÐÂÎÅ¶ÁÈ¡³ÌÊ½}

ÏÂÁÐÊÇÒ»Ð©Òà¿ÉÔÚ Linux ÏÂÊ¹ÓÃ£¬µ«Î´Ìá¼°µÄ newsreader¡£
\begin{itemize}
\item tass
\item xrn
\item gnus
\end{itemize}





\section{¸ÐÐ»}



¸ÐÐ»ÒÔÏÂËùÁÐµÄ¸÷Î»ÏÈÉúÃÇ£¬ ËûÃÇÔø¾­Ìá¹©Ðí¶à±¦¹óµÄ×ÊÑ¶Óë¾­Ñé£¬Ð­
Öú±¾ÆªÎÄÕÂµÄÍê³É¡£

Ed Carp, Steve Robbins, Ian Taylor, Greg Naber, Matt Welsh, Iain Lea, Arjan de
Vet

Èç¹ûÎÒ»¹ÍüÁËË­£¬ÎÒµÀÇ¸£¡




\section{¹Øì¶ USENET ¾­³£±»Ñ¯ÎÊµÄÎÊÌâ}






\subsection{ÎªÊ²÷áÎÒ²»ÄÜÔÚ moderated µÄÍøÂ·ÐÂÎÅÈº×éÕÅÌù²¼¸æ}

ÔÚ×¼±¸ÕÅÌùÊ±£¬
ÄúµÄ newsreader »áÆô¶¯ /bin/mail À´µÝËÍÓÊ¼þ£¬
Èç¹ûÄúµÄ mail ³ÌÊ½°æ±¾¹ýì¶³Â¾É£¬
ÄÇ÷á newsreader ÓÐ¿ÉÄÜ²»»á×÷¶¯¶øµ¼ÖÂ´ËÒ»½á¹û¡£
Èç¹ûÊÇÕâÑùµÄ»°£¬
½â¾öÖ®µÀ¾ÍÊÇ¸ü»»½ÏÐÂµÄ°æ±¾Ê¹ÓÃ£¬
ÀýÈç½ÏÐÂ°æ Slackware ÖÐµÄ mailx-5.5.tar.z£¬
ÇÒÄú¿ÉÒÔÓÃ  SlackwareÖÐµÄ {\ttfamily pkgtool} ÃüÁîÀ´°²×°²¢Éè¶¨Ö®¡£

ÁíÒ»¸ö¿ÉÄÜÐÔÔòÊÇËäÈ»ÔÚÄúµÄÏµÍ³ÖÐ´ËÒ» newsgroup ÊÇ¶¨³ÉÃ»ÓÐ¹ÜÖÆÕß(moderator)£¬
µ«ÔÚ¡õËÍÄúÏµÍ³µÄÉÏÓÎÈ´½«´Ë newsgroup ¶¨³ÉÓÐËù¹ÜÖÆµÄ£¬
ÄÇ÷áÒ²ÐíÄúµÄÎÄÕÂÔÚ¹ÜÖÆÕß 
( ÎªÒ»ÏµÍ³ÈíÌå£¬
²¢²»ÊÇÒ»¸öÕæÕýµÄÈË) ´¦¾Í±»É¾³ýÁË¡£
Äú¿ÉÒÔÔÚÊÕµ½ÓÉ news.admin ËÍ´ïµÄÎÄ¼þÖ®áá£¬
Ö´ÐÐ checkgroup ÃüÁîÀ´È·ÈÏ¡£




\subsection{ÎªºÎÎÒ»áÓÐÓë permission ÓÐ¹ØµÄÎÊÌâ£¿}

ÒòÎª±¾À´¾ÍÄÇÑù :-)

¼ì²éÄúµÄ permission ÊÇ·ñÕýÈ·£»
¼ì²éÔÚÄúÊÇ·ñÔÚ /etc/passwd ¶¨ÒåÓÐÒ»¸ö½Ð news µÄÊ¹ÓÃÕß£»
ÊÇ·ñÔÚ /etc/group ÖÐ¶¨ÓÐÒ»¸ö½Ð news µÄÈº×é£¬
ÉÏÊöµÄ¶¨Òå²¢²»ÊÇ Linux µÄ±ê×¼ÕÊºÅ£¬
ËùÒÔÄú±ØÐë×ÔÐÐ×¢Òâ¡£

³ýÁË /usr/local/lib/news/setnewside µÄ uid ±ØÐëÊÇ root Íâ£¬
ËùÓÐÔÚ /usr/local/lib/news ×ÓÄ¿Â¼ÏÂµµ°¸µÄÓµÓÐÕß  (uid) ºÍËùÊôÈºÌå
(gid) ¶¼±ØÐëÊÇ news ( ¼´ news.news) ¡£

Äú¿ÉÒÔÓÃÈÎºÎÊýÖµ×÷Îª "news" µÄ UID  Óë GID¡£

( Òë×¢: ÔÚÄú install Slackware Ê±£¬ 
ÏµÍ³»á×Ô¶¯°ïÄúÄÚ¶¨Ò»Ð©  GIDÓë UID £¬
Ò»°ãÀ´Ëµ£¬Ã»ÓÐÌØÊâµÄÀíÓÉ£¬
ºÜÉÙÓÐÈë»áÈ¥ÐÞ¸ÄÕâÐ©ÄÚ¶¨Öµ¡£)


\subsection{ÎªºÎÎÒÕÅÌùµÄ²¼¸æÔÚ±¾µØ¿ÉÒÔ¿´µÃ¼û£¬ µ«ÊÇÔÚÆä¡õËÍµÄÏÂÓÎÈ´Ã»ÓÐ³öÏÖ£¿}

Ò²ÐíÊÇÒòÎªÄúÎ´ÔÚ cron ÖÐÉè¶¨Ö´ÐÐ newsrun ³ÌÊ½£»
Ò²ÐíÒòÎªÄú×ÔÐÐÊÖ¶¯ÐÞ¸ÄÏµÍ³µµ°¸£¬
ÒÔÖÂÏµÍ³ÂÒµô£»
Ò²ÐíÊÇÄúÉÙµôÁË /usr/spool/news/out.goingÕâ¸ö×ÓÄ¿Â¼»òÊÇÊ²÷áµÄ£¬
»òÕßÓÐ¿ÉÄÜÄúËùÈ¡µÃµÄÊÇ "Performance" »ò "Cleanup" °æ±¾µÄ cnews £¬
¶øËüÐèÒªÔÚ cron ÖÐÉè¶¨Ö´ÐÐ newsrun À´×öÅú´Î´¦Àí£¬
·ÖËÍ news ÖÁÆäËûÕ¾Ì¨£¬
»òÊÇÔÚÒÑ¶ËÏÔÊ¾ÎÄ¼þ¡£

Ç§Íò²»Òª³¢ÊÔÊÖ¶¯È¥ÐÞ¸Ä¼ÓÈë active µµ°¸»òÏµÍ³µµ°¸£¬
ÕýÈ·µÄ·½·¨ÊÇÊ¹ÓÃÔÚ /usr/local/lib/news/bin/maint  
ÏÂµÄ¹«ÓÃ³ÌÊ½À´Íê³ÉÕâÐ©¶¯×÷¡£




\subsection{ÎªÊ²÷áÎÒµÄ¿ÉÖ´ÐÐ°æ±¾ÄÚÃ»ÓÐ nntp £¿}

ÎªÁËÒªÔÚ Linux ÏµÍ³ÏÂÖ§Ô® plug-n-play £¬
²¢ÇÒ±ÜÃâ SLS µÄ news ÏµÍ³ÒòÒªÍ¬Ê±¾ßÓÐ nntp ºÍ non-nntp
°æ±¾µÄ newsreader Óë´«Êä³ÌÊ½ 
(news transport programs) ¶øµ¼ÖÂÕû¸öÏµÍ³µÄ¹ý´ó¡£




\subsection{ÔÚ×ö expire Ê±£¬ÎªÊ²÷áÃ÷Ã÷»¹ÓÐºÜ¶àµÄ´¢´æ¿Õ¼ä£¬¿ÉÊÇËü¾¹È»¸æËßÎÒËµ¡¸¿Õ¼ä²»×ã¡¹ÄØ£¿}

ÒòÎªÏµÍ³¶Á²»µ½ /etc/mtab µµ¡£
¼ÇµÃ°Ñ¸ÃµµµÄ mode ¶¨³É 644 ¡£
ÕâÖÖÇé¿ö³£»á·¢ÉúÔÚÄúÒÔrootµÄÉí·ÝÈ¥
umountÒ»¸öfilesystemÊ±(umask)£¬
Õâ¸öÃüÁî»áµ¼ÖÂÊôì¶ root µÄµµ°¸ÎÞ·¨±»ÆäËûÊ¹ÓÃÕß¶ÁÈ¡¶ø²úÉú´Ë´íÎó¡£
( Òë×¢: ÏÖÔÚÁíÒ»¸ö×î³£·¢ÉúµÄÇé¿öÔòÊÇ inode Êý²»×ã£¬
½¨ÒéµÄ½â¾öÖ®µÀÊÇÔÚ¼Ü¹¹ÏµÍ³Ê±Ñ¡Ôñ½Ï¶àµÄ inode £¬
Èç 1024bytes/inode ¡£
ÓÈÆäÊÇ /var/spool/news/tw/bbsÊ±£¬*sign*)




\subsection{ÎªÊ²÷áÃ¿Ñù¶¼¿´ÆðÀ´ºÜÕý³££¬¿ÉÊÇÈ´²»ÄÜÕÅÌù²¼¸æÄØ£¿}

ºÃÏñ¾É°æµÄ Linux ÔÚ×°Éè cnews Ê±¶¼ºÜÈÝÒ×ÓÐ´ËÒ»ÎÊÌâ (blow up) ¡£
ÓÈÆäÊÇµ±ÄúÔÚÒ»½Ï¾É°æµÄ  SLS  ÉÏ×°ÉèÊ±£¬
ÄúÒ»¶¨Òª¼ì²é  /bin  ºÍ/usr/bin £¬
È·ÈÏÄúÖ»ÓÐÒ»Ì××îÐÂ°æµÄ news ¡£

ÒòÎªÔÚ 1993 Äê¶þÔÂ "Performance Release" ÒÔÇ°µÄ°æ±¾£¬
Äú¶¼±ØÐëÔÚcron ÀïÖÜÆÚÐÔµØÆô¶¯ newsrunÒÔÖ´ÐÐÄ³Ð©³ÌÐò¡£
¶øÕâÕýÊÇºÜ¶àÈË³£³£²»ÖªµÀµÄ¡£




\subsection{ÎÒ¿ÉÒÔ½«ÐÂµÄ news overview( NOV) ·Å½ø trn/tin/nn ÄÚ£¬ÒÔ´úÌæ¸÷ÖÖ²»Í¬µÄ×ÊÁÏ¿âÂð£¿}

ÊÇµÄ£¬{\ttfamily trn}, {\ttfamily tin}
¼° {\ttfamily nn} µÄ beta °æÏÖÔÚ¶¼ÒÑ¾­Ö§Ô®ÕâÏî¹¦ÄÜÁË¡£ 

Äú¿ÉÒÔ°ÑÐÂµÄ news overview(NOV)  ·ÅÈë 
"Performance  Release" "Cleanup Release"µÄ cnews £¬
»òÊÇÆäËûµÄÐÂÎÅ¶ÁÈ¡³ÌÊ½¡£
ÎÒÏÖÔÚÊÖÉÏÓÐµÄ nn6.5µÄ beta °æÒ²Ö§Ô® NOV ¸ñÊ½£¬
¶øÇÒÔÚ Linux ÏÂÒ²¹¤×÷µÄºÜºÃ£¬
ËüÏÖÔÚ¿ÉÒÔ±»Ö´ÐÐ¶øÎÞÐëÔÙÅÜ nnmaster ¡£
Äú¿ÉÒÔÔÚ uniwa.uwa.edu.au ÕÒµ½Õâ¸ö°æ±¾µÄ nn ¡£




\subsection{ÎªºÎÃ»ÓÐ¿ÉÖ´ÐÐ°æ±¾µÄ NNTP £¿}

ÒòÎªÄú±ØÐë¶¨ÒåÐí¶àÔÚ¼º¶ËÏµÍ³Ëù¶ÀÓÐµÄ×ÊÑ¶£¬ 
¶øÕâÐ©Éè¶¨ÊÇÎÞ·¨ÔÚÖ´ÐÐÊ±ÓÉ³ÌÊ½×Ô¶¯°ïÄúÉè¶¨µÄ¡£
Èç¹ûÄãÒª×öÕâÖÖÊÂ£¬
ÇëÓÃINN¶ø²»ÒªÓÃCnews ¼Ó NNTP¡£




\subsection{ÈçºÎÉè¶¨ NNTP£¬¿ÉÒÔÔÊÐíÍ¸¹ýÍøÂ·È¥¶Á»òÕÅÌù²¼¸æ£¬¶øÔÚ±¾µØ²»Òª´¢´æÈÎºÎµÄÎÄÕÂ»òÊÇ×ÊÁÏ¿â£¿}

( mdw@sunsite.unc.edu (Matt Welsh) )
\begin{itemize}
\item   1) È¡µÃnntp µÄ"reference implementation" ºÍ rnÈíÌå
Äú¿ÉÒÔµ½ ftp.uu.net:/networking/news/nntpÏÂÈ¡µÃ
nntp.1.5.11.tar.Z
\item   2) ±àÒï nntp ÈçÏÂ:
¿½±´ common/conf.h.dist µ½ common/conf.h¡£ 

                ÐÞ¸Ä common/conf.h ÒÔÉè¶¨ÏÂÁÐ²ÎÊý: 
ÒÔÏÂÎªÎÒËùÉè¶¨µÄ: 

DOMAIN: ²»¶¨ÒåËü(¾ÍÊÇ½«ÄÇÐÐ¸ÄÎª {\ttfamily \#undef DOMAIN}).

                REALDOMAIN: Ðë¶¨Òå£¬Ëü»áÀûÓÃlibrariesËÑÑ°domain¡£ 

SERVER\_FILE: Éè¶¨Îª¶¨ÒåÓÐÄú  news ËÅ·þÆ÷ ( ¾ÍÊÇÄú¶Á»òÌù news
µÄÄÇÒ»Ì¨Ö÷»ú ) Ö÷»úÃû³Æ (hostname) µÄµµ°¸Ãû³Æ£¬ÎÒÊ¹ÓÃµÄÂ·¾¶Ãû
ºÍµµ°¸ÃûÎª "/usr/local/lib/news/server" 

PASSFILE: Èç¹ûÄúµÄnewsËÅ·þÆ÷ÐèÒª±»ÊÚÈ¨(Ä³ÖÖusername/password)
²ÅÄÜÕÅÌù²¼¸æ£¬ÄÇ÷á°Ñ´ËÏî²ÎÊýÉèÎªº¬ÓÐ¸Ãusername/password
µÄµµ°¸£¬ÎÒÊ¹ÓÃµÄÂ·¾¶ÃûºÍµµ°¸ÃûÎª "/usr/local/lib/news/nntppass" ¡£

Èç¹ûÄú¾ö¶¨Òª°ÑËùÓÐ news ÓÐ¹ØµÄµµ°¸ÖÃì¶ /usr/local/liib/newsµÄÄ¿Â¼ÏÂ£¬
½«ÆäËûÐèÒª¶¨µ½Â·¾¶Ãû³ÆµÄµØ·½(ACTIVE\_FILE, NEWSGROUPS\_FILE... etc) 
È«¶¨³É /usr/local/lib/news ¡£ ÕâÆäÖÐÓÐºÜ¶àÊÇÉè¶¨¸ø NNTP server ÓÃµÄ 
( ·Ç client) £¬µ«ÎªÁË°²È«¼Æ£¬ ÎÒ°ÑËüÃÇÈ«²¿¸Ä±äÖ¸ÏòÕýÈ·µÄÎ»ÖÃ£¬Äúµ±
È»¿ÉÒÔÊ¹ÓÃÄÚ¶¨µÄÂ·¾¶Ãû£¬²»¹ýÒªÏÈÈ·¶¨ÄúÓÐ¸Ã¶ÔÓ¦µÄ×ÓÄ¿Â¼¡£



3) ½¨Á¢Ò»¸öÊ¹ÓÃÕß½Ð "usenet" ¡£ inews µÄÈíÌå»áÐèÒªÒÔÕâ¸ö userÀ´Ö´ÐÐ¡£
²»¹ýÄúÒ²Ö»ÐèÒªÕâÒ»¸ö userid £¬Äú²»ÐèÒªÅä¸ø¸Ã userid Èç×ÓÄ¿Â¼ 
(homedirectory) »òÊÇÆäËûµÄ¶«Î÷¡£ ÔÚ´ËÏîÖÐ£¬ËùÓÐÄú±ØÐè×÷µÄ¾ÍÊÇÔÚ 
/etc/passwd µÄµµ°¸ÏÂ¼ÓÈëÏÂÁÐÕâÒ»ÐÐ
\begin{verbatim}
                                usenet:*:13:1::/:
\end{verbatim}

È·¶¨ÄúµÄ userid ÊÇÎ¨Ò»µÄ ( ÉÏÊöÊÇ 13) ¡£ group ¿ÉÒÔ¶¨³ÉÊÇÆäËû
µÄ¶«Î÷£¬ÔÚÕâÀïÎÒ¶¨³É "daemon"(gid 1) ¡£

\item   4) ½¨Á¢ÉÏÊöµÄSERVER\_FILE£¬ÀýÈçËµÎÒµÄnewsËÅ·þÆ÷Ãû³ÆÎª "wonton.tc.cornell.edu"            £¬           ÄÇ÷áÎÒ¾Í±ØÐëÔÚ
/usr/local/lib/news/server ÖÐ¼ÓÈëÏÂÐÐ:
\begin{verbatim}
                 wonton.tc.cornell.edu
\end{verbatim}
\item   5) ½¨Á¢PASSFILE¡£¸ñÊ½ÈçÏÂ:
\begin{verbatim}
                <server name> <username> <password>
\end{verbatim}

ÔÙ¾ÙÀýËµÃ÷£¬Èç¹ûÄúµÄnewsËÅ·þÆ÷Ãû³ÆÎª shoop.vpizza.com£¬
¶øÔÚ´Ë»úÆ÷ÉÏÕÅÌù²¼¸æ±ØÐèÒª±»ÊÚÈ¨Îª news(password=floof)²Å¿ÉÒÔ£¬
ÄÇ÷áÄú¾Í±ØÐëÔÚ /usr/local/lib/news/nntppass ÏÂ¼ÓÈë:
\begin{verbatim}
                shoop.vpizza.com news floof
\end{verbatim}
\item   6) inews ÊÇÒÔ "usenet" µÄ id ÔÚÖ´ÐÐµÄ£¬ËùÒÔÎªÁË°²È«Ó¦°Ñ news µÄ
Ä¿Â¼ºÍ nntppass µµ°¸µÈµÄËùÓÐÕß¶¨³ÉÊÇ usenet ¡£
\begin{verbatim}
        chown usenet /usr/local/lib/news 
        chmod 755 /usr/local/lib/news 
        chown usenet /usr/local/lib/news/nntppass 
        chmod 600 /usr/local/lib/news/nntppass 
\end{verbatim}

Èç¹ûÕâÑù×÷£¬¾ÍÃ»ÓÐÈËÄÜ¶Áµ½ÕâÐ©µµ°¸ÁËÂð?²»!ÔÚµµ°¸ÖÐµÄÃÜÂë²¢Î´±»±àÃÜ¡£
\item   7) »Øµ½ nntp1.5.11 µÄÄ¿Â¼ÖÐ£¬ÏÂ´ï "make client" µÄÃüÁî£¬ 
È»ááÄú¾Í¿ÉÒÔµÃµ½ NNTP °æµÄ inews£¬ÕâÊÇ NNTP client ÉÏ¿ÉÊ¹ÓÃµÄÎ¨Ò»ÈíÌå¡£

µ±ÎÒ½¨ inews Ê±£¬ÎÒ·¢ÏÖº¯Ê½¿âÖÐÓÐÒ»¸ö´íÎó»áÊ¹µÃÔÚ uname.c
ÖÐµÄº¯Ê½ uname() »á²»Í£µØ×Ô¼ººô½Ð×ÔÒÑ¡£Èç¹ûÄú·¢ÏÖÄúµÄ inews 
¿´ÆðÀ´ºÃÏñµ±»úÁË£¬ÇÒÄúµÄÏµÍ³Ã÷ÏÔµØ±äÂý£¬ÄÇ÷áÄú×îºÃ±à¼­Ò»ÏÂ
uname.c µµ£¬ °Ñ uname() ¸Ä³ÉÏñ my\_uname() Ö®ÀàµÄÃû×Ö£¬ 
²¢ÇÒ°Ñ inews.c ÖÐºô½ÐµÄ²¿·ÝÒ²¸Ä³É my\_uname() ¡£
Èç¹ûÄúÒ²Óöµ½ÈçÑùµÄÎÊÌâ µÄ»°£¬ÇëÄú¼ÄÒ»·â mail ¸øÎÒ (Matt) ¡£
\item   8) ÏÂ´ïÃüÁî "make install\_client" ¡£ÕâÑù°²×° inews µÄµµ°¸µ½ÄúµÄÏµÍ³ÖÐ¡£
²¢ÇÒÁ¬½á/usr/local/lib/news/inewsµ½ /usr/local/bin/inews 

È»ááÄúÓ¦¸Ã¾Í¿ÉÒÔ¿ªÊ¼ÕÅÌù²¼¸æÁË(ÊÖ¶¯)£¬Äú¿ÉÒÔÊÔÊÔÏÂÊöµÄ:
\begin{verbatim}
                $ inews -h << EOF
                Newsgroups: misc.test
                From: me@foo.bar.com
                Subject: Testing
                Reply-To: my-real-address@wherever.edu

                This is a test.
                EOF
\end{verbatim}

Èç¹û³É¹¦£¬ inews »á°ÑÎÄÕÂÌùÉÏ¡£¶øÇÒÄú»áÖªµÀ£¬
ÒòÎª misc.testµÄ test-responders »á»ØÐÅµ½ÉÏÊöµÄ Reply-To µÄÎ»Ö·¡£
Çë²»ÒªÔÚÆäËûµÄ°åÃæÉÏÕÅÌù²âÊÔµÄÎÄÕÂ(ÀýÈçAmerican On Line)¡£
\end{itemize}


\end{document}
