
                           sD Leafsite mini-HOWTO
                                       
Florian Kuehnert, sutok@gmx.de Ķ: Mile Yeh mile@mail.timenet.net

   v0.3, 4@ 1998
     _________________________________________________________________
   
   o HOWTO N|UAw Usenet sD]w@Ӥp leafsite ϥΧKOn
   M Leafnode .D, ĳMN,мgH Florian Kuehnert
   (sutok@gmx.de).Abo쪺~]аe. (C) 1998 by Florian
   Kuehnert.
     _________________________________________________________________
   
1. ϥ Leafnode? 

2. b̨o Leafnode?

3. ڭnpw˥?

4. ڭnp@ leafnode?

5. OpB@?

6. ӨϥΤ newsreader (sDŪ)?

7. b̧ڥiHoh?

8. 
     _________________________________________________________________
   
1. ϥ Leafnode?

   bзǮרҤWpGAnbAaqWuݷsD Awˤ@ӷsDA
   nN INN Ϊ CNews.A] nϥ nntp Ϊ uucp pAsDW.
   ƹWo˪M]tAݭnhS,w Leafnode A| n.
   
   Leafnode OϥΤW²\hBD`pO@ I: b@ǿ~oͪ
   ΤU Leafnode OwCM򥢷sD . oNOAnϥΥ@Ӥj
   sDA, M,oOAӤHΤ,ϥΪ̤nO \hɶ]w
   INN.
   
2. b̨o Leafnode?

   LeafnodeOb [1]ftp://ftp.troll.no/pub/freebies/ iHoMO Arnt
   Gulbrandsen ҵoi,LO Troll Tech AS @¾.̪񪺪O 1.4 M
   b@ Linux distributions (Ҧp Debian), Leafnode Q ]tb䤤.Lצp
   ,Twϥγ̱ߪ 1.4 ץFXӭnD.
   
3. ڭnpw˥?

   MM@_Ӧ@ӤpwU,ڭ̤@_a :-) --pGA
   distribution XfɬO Leafnode >=1.4 , oOϥΨƥ½ĶnM
    BJ 1 4.
   
   1.)TwSOsDAbAqW .AJ
   $ telnet localhost nntp
   ANo@ӿ~H.pGAo@ӳsܦ^ A shell W ,A
   nϦw INN , CNews Ϊ̤ޤA{bb 檺sDAMdbA
    /etc/inetd.conf nntp 
   
   2.)b /etc/passwd ˬdoӦW,d@ӨϥΪ̥s "news", .pGb
   S,إߤ@ (ΪJ
   $ adduser news
   Ϊ̨ϥΧA distribution HӨӪu).
   
   3.) Ѷ}lX:
   $tar xfz leafnode-1.4.tar.gz
   ܥؿlXؿ
   $ cd leafnode-1.4
   
   4.) sĶ{Mw˥
   $ make; make install
   
   5.)s /usr/lib/leafnode/config (o]\ObOmO
   /etc/leafnode AϥΧA Linux distribution @Өƥ½Ķn
   ).o@ "server ="nXA ISPsDA
   
   6.)s /etc/nntpserver.oN]AAaDW (localhost Ϊ̤ޤ
   AqW,RO hostname NUA).pGb@ǰ_ɮ׹O
   /etc/profile Ϊ  /.bash_profile ܼƬOQwq,A ]nվA
   qW.
   
   7.)s /etc/inetd.conf:dS@}ݨϥ "nntp".pGo˪@,b
   o@e@ "#" .M[UCU:
   nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode
   H (ҦpA :-)sAqb NNTP port, leafnode }lpPA
   {.
   
   8.) H root Ϊ news isuM{ "fetch" .Ĥ@ fetch
   }l,oN|UA ISP sDsժM.o ]\@Iɶ̧As
   tשM A ISP  active-File sժƥئөw.
   
   9.) }lA̷R newsreader (sDŪ) (slrn, (r)tinM knews O@
   n}l)Mq\Anݪs.pߤnu q\oǸs,]iJsդ,Y
   ϷL̬OŪ.
   
   10.) s}lҰ fetch UҦQnosժsD .
   
4. ڭnp@ leafnode?

   {bA@ӹB@sDtΥb,O M@Ǩƪn.A]\ns
    /usr/lib/leafnode/config ӳ]wAsժ.oXNO,
   He HQR.pGAݪ@Ǹsզ\hsDзǮɶ 20 ѳq`OL
   h Ӫ, wAtΦӨ 4 ѩΪ̤@ӬP ObhƱpUO@Ӧnɶ.
   wҦsէAiHܭp⵲G ("expire = n" hӪs n),O
   AiD leafnode w@Ǥ}sէܮɶgpU
   groupexpire foo.bar n
   ws foo.bar  n ѥh]wɶ.
   
   oW߳]w| leafnode RHeªH,@ }{|tdwo
   : texpire.o]\O}l @ cron u@Ϊ̾aROC.pGAq
   OѭԶ}, A]\n[UCU news' crontab ɮ (s o,
   news nJMJ "crontab -e"Ϊ̥H root J"crontab -u news
   -e"):
   0 19 * * * /usr/local/sbin/texpire
   oy cron daemon C@Ѧb 19:00 }l texpire .ˬd crontab 
   hվyz.pG AqOSWha},A]\nC@Ұ
   texpire ,A`NoHPoܱoC.ϥ "cron-method" B@ܦn.
   
5. OpB@?

   Leafnode O@ "u" NNTPA,NOAiH]q@ӤPqW
   nJ (gѸU, .CAΧA newsreader (sDŪ)iJ
   @Ӹs,A reader (Ū) eƨ leafnode MШD.pGs S
   sb, leafnode N|гy@ɮ /var/spool/news/interesting.groups,Wr
   Os.UAB fetch ,oN|osժH.pG@ sDsըS
   @өTwɶQX, leafnode N| ho峹Mq
   /var/spool/news/interesting.groups RW .ҥHpGAN~auq
   \F@ yqsDs,A]\naʧRɮ ,U@ӬPAN
   nUҦT.
   
   @ӬPOwAO?AnhװTP MMnosD?,S
   ﶵb leafnode  ܥ.OAiHsɮ leafnode.h Mss
   Ķ. #defined q`O TIMEOUT_LONG M TIMEOUT_SHORT,un]w ɶbH
   p.t~,²檺ѨMOwq@ cron-job C߰ "touch
   /var/spool/news/interesting.groups/*" o.
   
   pGAno@ӾӪiΪsժM,ݤ@Uɮ
   /usr/lib/leafnode/groupinfo,b̧AN|@²uyzs.
   
   pGAnqAsDW孫sŪsDsժM (| Anݤ@ӷss
   ),unRɮ /var/spool/news/active.read. Fetch UoɱN|гy
   M osM.Fetch ]N|C@sŪsղM ,ҥHAݭn
   o.
   
6. ӨϥΤ newsreader (sDŪ)?

   Sw Linux  newsreader (sDŪ),NOS s边.ڳ̷R
   newsreader (sDŪ)O gnusҦU emacs bw Linux  ̦hi
   ]w reader (Ū) .hƤHb׺ݾWOϥ slrnM tin ,b X U\
   hHϥ knews.]ϥ trn, nn Mh reader (Ū),ҥHոդO
   A߷R.ߤ@AnϥΪO reader (Ū) Netscape ,Oj, SS
   ,íw,M ɥإa posting(iK).Lצp,oOAӤHM
   w.
   
   Lצp, knews AĤ@gOҼ{,O ϥΪ̤͵Me
   F.
   
7. b̧ڥiHoh?

   @ǤO LeafnodeM󴣨 (  INSTALL M README,lXO]Q
   쪺).pG AnDh "¾~"M "j"sDAȾ, ˬd INN
   FAQ (L̬O INN M󴣨Ѫ).o A newsreader (sDŪ
   ),J man "name of your newsreader" (AsDŪW) Ϊˬd
   Ob /usr/doc.
   
   pGADsDt,unb@AsDsյo (
   news.software.ALL Ų´).
   
   pGA߰,`ѩΪ̭qo HOWTO,u޼gH (sutok@gmx.de).
   
8. 

   ڷQ Michael Schulz (michaels@home.on-luebeck.de) wLU
   @ǻyDM Cornelius Krasel (krasel@wpxx02.toxi.uni-wuerzburg.de)
   wL "touch *"-ޥ.

References

   1. ftp://ftp.troll.no/pub/freebies/
