亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 722-724.html

?? linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
?? HTML
字號:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Configuring Linux for News</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=41//-->

<!--PAGES=722-724//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="719-722.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="724-726.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H3><A NAME="Heading3"></A><FONT COLOR="#000077">NNTP</FONT></H3>

<P>NNTP can operate in two modes: active and passive. The active mode, as mentioned earlier, is often called pushing and is much the same as CNews&#146; <TT>ihave/sendme</TT> protocol in which the sender (client) offers a particular article and waits for the receiver (server) to accept or refuse the article. Push mode has a disadvantage for the server in that it has a high overhead, as each article must be checked in turn.</P>

<P>The passive mode, or pulling, has the receiving machine requesting a list of all articles in a particular newsgroup that have arrived since a specified date. This is done through a <TT>newnews</TT> command. When the receiving machine has all the articles, it then discards any that are duplicated or not wanted using the <TT>article</TT> command. This is much easier for the sending machine because it simply sends a mass of articles, but there is a security issue in that the server has to make sure it sends information that is allowed to pass to the receiver.</P>

<P>NNTP is implemented on a Linux system with the NNTP daemon developed by Stan Barber and Phil Lapsley, known almost universally as the &#147;reference implementation daemon&#148; or <TT>nntpd</TT>. Usually, you only have the source code for the NNTP daemon supplied with a Linux distribution because there are several site-specific details that must be linked into the binary.</P>

<P>The <TT>nntpd</TT> system consists of a server program and two different client programs (one for pushing and one for pulling). In addition, most Linux <TT>nntpd</TT> systems include a replacement for the <TT>inews</TT> program.</P>

<P>An alternative to <TT>nntpd</TT> is the INN (InterNetNews) package developed by Rich Salz. This is supplied with many Linux distribution packages, as well. INN allows both UUCP and network-based newsfeeds but is really designed for large machines. If you anticipate a lot of newsgroup access, INN may be a better choice than <TT>nntpd</TT>, although <TT>nntpd</TT> can handle full newsfeeds almost as well. Because of the relative scarcity of INN and its suitability to larger networks only, we&#146;ll concentrate on <TT>nntpd</TT> in this chapter. If you want to know more about INN, read the documentation files that accompany the software or download them from an FTP or BBS site. An INN FAQ is frequently posted to the Linux newsgroups on Usenet.</P>

<P>When NNTP receives an article from a remote machine, it passes it on to one of the news subsystems that must be in place. Usually, this is <TT>rnews</TT> or <TT>inews</TT>. (You can also use NNTP for batching of articles, explained earlier in this chapter, in which case the <TT>relaynews</TT> program handles the batch of articles.) NNTP uses the <TT>/usr/lib/news/history</TT> file to properly perform some protocol transfers, so this file must be configured correctly.</P>

<H4 ALIGN="LEFT"><A NAME="Heading4"></A><FONT COLOR="#000077">Installing the NNTP Server Program</FONT></H4>

<P>The NNTP server, <TT>nntpd</TT>, is usually supplied as source code only, as mentioned earlier. Typically, it must be compiled on your machine to include machine-specific information. The configuration of <TT>nntpd</TT> is performed through a utility program usually stored as <TT>/usr/lib/news/common/conf.h</TT>. You can search for the program with the command:</P>

<!-- CODE SNIP //-->

<PRE>

find / -name conf.h -print

</PRE>

<!-- END CODE SNIP //-->

<P>Run this program (which is a number of macros) and answer all the questions about your system.

</P>

<P>Begin the NNTP installation process by creating a directory in which <TT>nntpd</TT> can store incoming articles. You should create this directory as <TT>/usr/spool/news/.tmp</TT> (or <TT>/var/spool/news/.tmp</TT>). The ownership of the directory must be set to <TT>news</TT>. The two commands to perform these steps are:</P>

<!-- CODE SNIP //-->

<PRE>

mkdir /usr/spool/news/.tmp

chown news.news /usr/spool/news/tmp

</PRE>

<!-- END CODE SNIP //-->

<P>The NNTP server can be configured in one of two different modes. The first is as a standalone server, which starts itself from the <TT>rc</TT>startup files (usually <TT>rc.inet2</TT>) when the Linux system is booted. Alternatively, <TT>nntpd</TT> can be configured to be managed through <TT>inetd</TT>, instead of running all the time.</P>

<P>If you are configuring <TT>nntpd</TT> to run as a standalone daemon, make sure there is no line in the <TT>/etc/inetd.conf</TT> file that calls the daemon (this is discussed in a moment). Check the <TT>/etc/inetd.conf</TT> file for potential conflicts with the <TT>nntpd</TT> daemon started in the <TT>rc</TT> files.</P>

<P>If you want to configure <TT>nntpd</TT> to run through <TT>inetd</TT>, which can reduce the overall load on your system except when news must be processed, you need to add an entry to the <TT>inetd</TT> configuration file, usually stored as <TT>/etc/inetd.conf</TT>. The following line should be added to this file with an ASCII editor:</P>

<!-- CODE SNIP //-->

<PRE>

nntp  stream  tcp  nowait  news  /usr/etc/in.nntpd  nntpd

</PRE>

<!-- END CODE SNIP //-->

<P>There may be a line like this already in the <TT>inetd.conf</TT> file, commented out. In this case, verify that the line reads the same as the one above and remove the comment symbol.</P>

<P>Whether you are configuring <TT>nntpd</TT> to run standalone or started by <TT>inetd</TT>, you also to need to verify that there is a line for the <TT>nntp</TT> service in the TCP <TT>/etc/services</TT> file. There should be a line like this</P>

<!-- CODE SNIP //-->

<PRE>

nntp  119/tcp    readnews    untp

</PRE>

<!-- END CODE SNIP //-->

<P>in the <TT>/etc/services</TT> file. It will probably be commented out when you install most versions of Linux, so remove the comment symbol.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="719-722.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="724-726.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩小视频在线观看专区| 一本一道综合狠狠老| 国产精品国产三级国产| 欧美欧美午夜aⅴ在线观看| 国产精品主播直播| 亚洲成人中文在线| 国产欧美一区二区精品秋霞影院| 国产精品无遮挡| 欧美三级视频在线播放| 成人免费观看男女羞羞视频| 首页亚洲欧美制服丝腿| 国产精品对白交换视频| 日韩亚洲欧美高清| 欧美性生活一区| 99久久99久久久精品齐齐| 久久精品国产色蜜蜜麻豆| 亚洲精品高清视频在线观看| 久久一区二区三区四区| 欧美一区二区三区四区久久| 在线免费不卡视频| av在线综合网| av一二三不卡影片| 国内一区二区视频| 另类专区欧美蜜桃臀第一页| 五月综合激情网| 日韩精品一区二区三区视频播放| 欧美最猛黑人xxxxx猛交| 亚洲欧美经典视频| 色国产精品一区在线观看| 奇米影视一区二区三区小说| 国产视频一区在线观看| 欧美日韩免费不卡视频一区二区三区| 国产成人99久久亚洲综合精品| 日韩av一区二| 午夜免费久久看| 亚洲综合区在线| 一区二区三区av电影| 亚洲视频一二三区| 国产精品久久久久三级| 亚洲国产成人在线| 欧美国产精品一区二区三区| 久久久不卡影院| 久久免费电影网| 国产欧美日韩在线看| 国产亚洲婷婷免费| 久久久久久久久久久久电影| 欧美精品一区视频| 日韩一区二区在线观看视频播放| 6080亚洲精品一区二区| 日韩欧美不卡在线观看视频| 日韩视频一区二区三区在线播放 | 国产精品久久三| 中国av一区二区三区| 国产精品久久夜| 亚洲人xxxx| 成人av免费观看| 91黄视频在线观看| 日韩一级片在线观看| jvid福利写真一区二区三区| 亚洲图片欧美综合| 亚洲成a人片在线观看中文| 亚洲bt欧美bt精品| 日韩高清电影一区| 久久综合久久久久88| 久久影院午夜片一区| 亚洲高清视频在线| 7777精品伊人久久久大香线蕉| 中文字幕亚洲一区二区av在线| 丰满白嫩尤物一区二区| 国产欧美1区2区3区| 久久超级碰视频| 精品处破学生在线二十三| 美腿丝袜亚洲综合| 久久超碰97人人做人人爱| 成人动漫精品一区二区| 91蝌蚪国产九色| 777午夜精品视频在线播放| 日韩丝袜情趣美女图片| 亚洲欧美一区二区三区极速播放 | 麻豆精品在线观看| 午夜成人免费电影| 欧美一区二区三区视频免费| 欧美成人精品二区三区99精品| 欧美国产欧美综合| 亚洲激情校园春色| 免费在线观看视频一区| 国产91富婆露脸刺激对白| 在线视频欧美区| 日韩欧美一二区| 中文字幕一区二区日韩精品绯色| 午夜亚洲福利老司机| 国产91精品露脸国语对白| 欧美日韩一级片在线观看| 国产视频911| 亚洲444eee在线观看| 成人污污视频在线观看| 91精品综合久久久久久| 国产精品―色哟哟| 免费黄网站欧美| 欧美亚洲综合一区| 国产精品网友自拍| 精一区二区三区| 欧美麻豆精品久久久久久| 综合中文字幕亚洲| 中文av字幕一区| 色噜噜夜夜夜综合网| 亚洲靠逼com| 日韩福利电影在线观看| 高清国产一区二区| 91精品国模一区二区三区| 日韩av网站免费在线| 67194成人在线观看| 国产成人免费视频精品含羞草妖精| 理论电影国产精品| 精品国产乱码久久久久久蜜臀| 在线免费观看日本一区| 国产成人免费视频网站| 老司机精品视频导航| 成人激情电影免费在线观看| 国产一区三区三区| 激情综合色播激情啊| 久久精品72免费观看| 极品少妇一区二区| 久久精品久久久精品美女| 精品久久久久一区二区国产| av不卡免费在线观看| 首页国产欧美久久| 久久久午夜精品| 欧美精品视频www在线观看 | 色综合天天综合狠狠| 一区二区三区视频在线观看| 精品国产乱码久久久久久老虎 | 91捆绑美女网站| 中文字幕+乱码+中文字幕一区| 精彩视频一区二区三区 | 中国av一区二区三区| 久久成人精品无人区| 91精品国产欧美一区二区| 亚洲国产精品久久人人爱蜜臀 | 不卡大黄网站免费看| 国产日韩成人精品| 国产高清亚洲一区| 中文字幕欧美激情一区| 国产精品123| 国产欧美日韩卡一| 国产99久久久精品| 亚洲日本va午夜在线电影| 97aⅴ精品视频一二三区| 国产精品传媒入口麻豆| 99久久国产综合精品女不卡| 亚洲天堂中文字幕| 成人手机电影网| 色综合久久久久久久久| 精品国产sm最大网站免费看| 91蜜桃网址入口| a级精品国产片在线观看| 青青草91视频| 激情五月播播久久久精品| 国产真实乱偷精品视频免| 国产一区二区伦理| 精品免费一区二区三区| 欧美成人一级视频| 伊人一区二区三区| 国产综合色产在线精品| 日韩一区二区三区视频在线| 成人免费一区二区三区在线观看 | 伊人色综合久久天天| 丰满亚洲少妇av| 国产精品无人区| 激情六月婷婷久久| 欧美顶级少妇做爰| 制服丝袜亚洲精品中文字幕| 91精品免费在线观看| 国产免费久久精品| 亚洲男女一区二区三区| 免费国产亚洲视频| 成人动漫一区二区三区| 9191成人精品久久| 久久精品男人天堂av| 亚洲香肠在线观看| 国产成人精品影院| 欧美日韩高清一区二区| 欧美日韩小视频| 日韩电影免费在线看| 欧美国产精品v| 欧美日韩视频在线第一区| 看电影不卡的网站| 中文字幕在线不卡| 日韩一级片在线观看| 成人av午夜电影| 轻轻草成人在线| 中文字幕在线观看一区二区| 欧美卡1卡2卡| 99精品国产一区二区三区不卡| 日韩成人免费在线| 中文字幕日韩精品一区| 日韩一区二区免费高清| 色综合色综合色综合色综合色综合| 麻豆视频观看网址久久| 亚洲国产综合91精品麻豆|