/usr/share/doc/HOWTO/ja-html/News-Leafsite-3.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>News Leafsite mini-HOWTO: ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡</TITLE>
<LINK HREF="News-Leafsite-4.html" REL=next>
<LINK HREF="News-Leafsite-2.html" REL=previous>
<LINK HREF="News-Leafsite.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="News-Leafsite-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="News-Leafsite-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="News-Leafsite.html#toc3">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s3">3. ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡</A></H2>
<P>leafnode ¤ÎÇÛÉۤˤϡ¢´Êñ¤Ê¥¤¥ó¥¹¥È¡¼¥ë¤Î¼ê°ú¤¤¬ÉÕ°¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤³
¤³¤Ç°ì½ï¤Ë¤ä¤Ã¤Æ¤ß¤Þ¤·¤ç¤¦¡£¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë¥Ð¡¼¥¸¥ç¥ó 1.4 °Ê¹ß¤Î
leafnode ¤¬ÉÕ°¤·¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î¥Ð¥¤¥Ê¥ê¤òÍøÍѤ¹¤ì¤Ð¡¢1¡Á4¤Î¥¹¥Æ¥Ã¥×
¤ò¾Êά¤Ç¤¤Þ¤¹¡£
<P>
<P>1.) Ê̤Υ˥塼¥¹¥µ¡¼¥Ð¡¼¤¬Æ°ºî¤·¤Æ¤¤¤Ê¤¤¤«¡¢³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¼¡¤Î¤è¤¦
¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤È¡¢
<P><I>$ telnet localhost nntp</I>
<P>²¿¤é¤«¤Î¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¡£¤â¤·¤â¡¢Àܳ¤ËÀ®¸ù¤·¤¿¤Ê
¤é¤Ð¡¢¥·¥§¥ë¤ËÌá¤Ã¤Æ¡¢INN ¤« CNews ¤«¡¢¤È¤Ë¤«¤¯¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ÇÆ°ºî¤·
¤Æ¤¤¤ë¥Ë¥å¡¼¥¹¥µ¡¼¥Ð¡¼¤ò¼è¤ê½ü¤¡¢/etc/inetd.conf ¤Î nntp ¤Ë´Ø¤¹¤ë¹Ô¤ò
¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Þ¤¹¡£
<P>
<P>2.) ¥æ¡¼¥¶¡¼Ì¾ news ¤Î¥æ¡¼¥¶¡¼¤¬Â¸ºß¤·¤Æ¤¤¤ë¤« /etc/passwd ¤ò³Îǧ¤·¤Æ
¤¯¤À¤µ¤¤¡£¤¤¤Ê¤«¤Ã¤¿¤é¡¢ºî¤Ã¤Æ¤¯¤À¤µ¤¤¡£(°Ê²¼¤Î¤è¤¦¤Ë adduser ¤È¤¤¤¦¥³
¥Þ¥ó¥É¤ò»È¤¦¤«¡¢
<P><I>$ adduser news</I>
<P>¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ËÉÕ°¤·¤Æ¤¤¤ë¥Ä¡¼¥ë¤ò»È¤¤¤Þ¤¹¡£)
<P>
<P>
<P>3.) ¥½¡¼¥¹¤òŸ³«¤·¤Æ¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ò°ÜÆ°¤·¤Þ¤¹¡£
<P><I>$ tar xzf leafnode-1.4.tar.gz</I><BR>
<I>$ cd leafnode-1.4</I>
<P>
<P>
<P>4.) ¥×¥í¥°¥é¥à¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
<P><I>$ make; make install</I>
<P>
<P>
<P>5.) /usr/lib/leafnode/config ¤òÊÔ½¸¤·¤Þ¤¹¡£(¥·¥¹¥Æ¥à¤ËÉÕ°¤·¤Æ¤¤¤ë¥Ð¥¤
¥Ê¥ê¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢/etc/leafnode ¤Ê¤É¤Î¤è¤¦¤Ë¥Õ¥¡¥¤¥ë¤Î°ÌÃÖ¤¬ÊѤï¤Ã
¤Æ¤¤¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£) ¤¢¤Ê¤¿¤¬·ÀÌ󤷤Ƥ¤¤ë¥×¥í¥Ð¥¤¥À¤Î¥Ë¥å¡¼¥¹¥µ¡¼¥Ð¡¼
¤ò "server =" ¤È¤¤¤¦¹Ô¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>
<P>6.) /etc/nntpserver ¤òÊÔ½¸¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿
¤Î¥Û¥¹¥È̾¤òµ½Ò¤·¤Þ¤¹ (ñ¤Ë localhost ¤È¤¹¤ë¤«¡¢hostname ¤È¤¤¤¦¥³¥Þ¥ó
¥É¤ÇÄ´¤Ù¤é¤ì¤ë¥Û¥¹¥È̾¤ò»È¤¤¤Þ¤¹)¡£/etc/profile ¤ä /.bash_profile ¤Ê
¤É¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë´Ä¶ÊÑ¿ô¤ÎÃͤâŬÀÚ¤ÊÃͤËÊѹ¹¤·¤Æ¤¯¤À¤µ
¤¤¡£
<P>
<P>
<P>7.) /etc/inetd.conf ¤òÊÔ½¸¤·¤Þ¤¹¡£¹ÔƬ¤¬ nntp ¤È¤Ê¤Ã¤Æ¤¤¤ë¹Ô¤¬¤Ê¤¤¤«³Î
ǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¤â¤·¤â¤¢¤Ã¤¿¤é¡¢# ¤òÀèƬ¤ËÁÞÆþ¤·¤Æ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ¤¯
¤À¤µ¤¤¡£¤½¤Î¾å¤Ç¡¢¼¡¤Î¤è¤¦¤ÊÆâÍƤιԤòÁÞÆþ¤·¤Þ¤¹¡£
<P><I>nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode</I>
<P>¤³¤Î¤è¤¦¤ËÀßÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¤À¤ì¤«(Î㤨¤Ð¤¢¤Ê¤¿)¤¬¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼
¥¿¤Î nntp ¥Ý¡¼¥È¤ËÀܳ¤¹¤ë¤È¡¢leafnode ¤¬¥µ¡¼¥Ð¡¼¤È¤·¤Æµ¯Æ°¤¹¤ë¤è¤¦¤Ë
¤Ê¤ê¤Þ¤¹¡£
<P>
<P>
<P>8.) ¥Í¥Ã¥È¥ï¡¼¥¯¤ËÀܳ¤·¤Æ¡¢root ¸¢¸Â¤« news ¸¢¸Â¤Ç¡¢fetch ¤ò¼Â¹Ô¤·¤Þ
¤¹¡£fetch ¤Ï¡¢¤¢¤Ê¤¿¤Î¥×¥í¥Ð¥¤¥À¤Î¥Ë¥å¡¼¥¹¥µ¡¼¥Ð¡¼¤¬Ä󶡤·¤Æ¤¤¤ë¥Ë¥å¡¼
¥¹¥°¥ë¡¼¥×¤Î¥ê¥¹¥È¤ò¼èÆÀ¤·¤Þ¤¹¡£¤³¤ì¤Ë¤«¤«¤ë»þ´Ö¤Ï¡¢Àܳ¤Î®Å٤ȥץí¥Ð
¥¤¥À¤¬Ä󶡤·¤Æ¤¤¤ë¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Î¿ô¤Ë°Í¸¤·¤Þ¤¹¡£
<P>
<P>
<P>9.) ¹¥¤ß¤Î¥Ë¥å¡¼¥¹¥ê¡¼¥À¡¼¤òµ¯Æ°¤·¤Æ¤¯¤À¤µ¤¤ (slrn ¤ä (r)tin ¡¢knews
¤¬¤¤¤¤¤Ç¤·¤ç¤¦)¡£¤½¤·¤Æ¡¢¤¢¤Ê¤¿¤¬Æɤߤ¿¤¤¤È»×¤¦¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤ò¹ØÆɤ¹
¤ë¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£¤¿¤À¤·¡¢¤³¤ÎÃʳ¬¤Ç¤Ï¤½¤ì¤é¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Ï¶õ¤Î
¤Þ¤Þ¤Ç¤¹¡£
<P>
<P>
<P>10.) ¹ØÆÉÅÐÏ¿¤·¤¿¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Îµ»ö¤ò¼è¤ê´ó¤»¤ë¤¿¤á¤Ë¡¢¤â¤¦°ìÅÙ
fetch ¤ò¼Â¹Ô¤·¤Þ¤¹¡£
<P>
<P>
<P>
<P>
<HR>
<A HREF="News-Leafsite-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="News-Leafsite-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="News-Leafsite.html#toc3">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|