








			   sD Leafsite mini-HOWTO

      Florian Kuehnert, sutok@gmx.de Ķ: Mile Yeh mile@mail.timenet.net

			       v0.3, 4@ 1998



				   Abstract

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



1.  ϥ Leafnode?

bзǮרҤWpGAnbAaqWuݷsD Awˤ@ӷsDAnN
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ϥΥ@ӤjsDA,
M,oOAӤHΤ,ϥΪ̤nO \hɶ]w INN.


2.  b̨o Leafnode?

LeafnodeOb ftp://ftp.troll.no/pub/freebies/1	iHoMO Arnt Gulbrand
sen ҵoi,LO Troll Tech AS @¾.̪񪺪O 1.4 Mb@ Linux dis
tributions (Ҧ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 ,AnϦw
INN , CNews Ϊ̤ޤA{bb 檺sDAMdbA /etc/inetd.conf
nntp 


____________________

1. <URL:ftp://ftp.troll.no/pub/freebies/>

sD Leafsite mini-HOWTO						      1





sD Leafsite mini-HOWTO						      2



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վAqW.

7.)s /etc/inetd.conf:dS@}ݨϥ
"nntp".pGo˪@,bo@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ɶ̧Astש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`OLh Ӫ,
wAtΦӨ 4 ѩΪ̤@ӬP
ObhƱpUO@Ӧnɶ.wҦsէAiHܭp⵲G ("expire = n"








sD Leafsite mini-HOWTO						      3



hӪs n),OAiD leafnode w@Ǥ}sէܮɶgpU

groupexpire foo.bar n

ws foo.bar  n ѥh]wɶ.

oW߳]w| leafnode RHeªH,@ }{|tdwo: tex
pire.o]\O}l @ cron u@Ϊ̾aROC.pGAqOѭԶ},
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@ӤPqWnJ
(gѸU, .CAΧA newsreader (sDŪ)iJ@Ӹs,A
reader (Ū) eƨ leafnode MШD.pGs Ssb, leafnode
N|гy@ɮ /var/spool/news/interesting.groups,WrOs.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@ӬPANnUҦT.

@ӬPOwAO?AnhװTP MMnosD?,Sﶵb
leafnode  ܥ.OAiHsɮ leafnode.h MssĶ.  #defined
q`O TIMEOUT_LONG M TIMEOUT_SHORT,un]w
ɶbHp.t~,²檺ѨMOwq@ cron-job C߰ "touch
/var/spool/news/interesting.groups/*" o.

pGAno@ӾӪiΪsժM,ݤ@Uɮ /usr/lib/leafn
ode/groupinfo,b̧AN|@²uyzs.

pGAnqAsDW孫sŪsDsժM (|
Anݤ@ӷss),unRɮ /var/spool/news/active.read. Fetch
UoɱN|гyM 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ոդOA߷R.ߤ@AnϥΪO
reader (Ū) Netscape ,Oj, SS,íw,M ɥإa post
ing(iK).Lצp,oOAӤHMw.

Lצp, knews AĤ@gOҼ{,O ϥΪ̤͵MeF.








sD Leafsite mini-HOWTO						      4



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)
ΪˬdOb /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 *"-ޥ.











































sD Leafsite mini-HOWTO						      5





































































				   CONTENTS



1. ϥ Leafnode?  .................................................... 1

2. b̨o Leafnode? ..................................................... 1

3. ڭnpw˥? .......................................................... 1

4. ڭnp@ leafnode? ................................................... 2

5. OpB@? ............................................................ 3

6. ӨϥΤ newsreader (sDŪ)? .................................. 3

7. b̧ڥiHoh? ................................................ 4

8.  ..................................................................... 4





































				       i


