- Timestamp:
- 06/25/2004 04:06:01 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- dfe49be
- Parents:
- c90376c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/leafnode.xml
rc90376c1 r9f729d3 6 6 7 7 <!ENTITY leafnode-download-http "http://prdownloads.sourceforge.net/leafnode/leafnode-&leafnode-version;.rel.tar.bz2"> 8 <!ENTITY leafnode-download-ftp " 9 <!ENTITY leafnode-size " 614KB">10 <!ENTITY leafnode-buildsize " 14MB">8 <!ENTITY leafnode-download-ftp "ftp://ftp.gwdg.de/pub/linux/mirrors/sunsite/system/news/transport/leafnode-&leafnode-version;.rel.tar.bz2"> 9 <!ENTITY leafnode-size "383 KB"> 10 <!ENTITY leafnode-buildsize "8.8 MB"> 11 11 <!ENTITY leafnode-time "0.11 SBU"> 12 12 … … 36 36 <para><xref linkend="pcre"/> and <xref linkend="tcpwrappers"/> 37 37 </para></sect4> 38 <sect4><title>Recommended</title> 39 <para><xref linkend="xinetd"/></para></sect4> 38 40 </sect3> 39 41 … … 51 53 commands:</para> 52 54 53 <screen><userinput><command>./configure --prefix=/usr --localstatedir=/var \ 54 --sysconfdir=/etc/news --with-lockfile=/var/lock/fetchnews.lck && 55 <screen><userinput><command>./configure --prefix=/usr \ 56 --localstatedir=/var --sysconfdir=/etc/leafnode \ 57 --with-lockfile=/var/lock/leafnode/fetchnews.lck && 55 58 make && 56 make install &&57 ldconfig && 58 make update</command></userinput></screen>59 make install</command></userinput></screen> 60 <!-- ldconfig && --> 61 <!-- make update</command></userinput></screen> --> 59 62 60 63 </sect2> … … 66 69 spool directory of <filename class="directory">/usr/var</filename>.</para> 67 70 68 <para><parameter>--sysconfdir=/etc/news</parameter>: leafnode reads its 69 configuration data from a file called <filename>config</filename> which 70 will be created in <filename class="directory">/etc/news</filename> to 71 <para><parameter>--sysconfdir=/etc/leafnode</parameter>: 72 <application>Leafnode</application> reads its configuration data from a file 73 called <filename>config</filename> which will be created in 74 <filename class="directory">/etc/leafnode</filename> to 71 75 avoid any potential conflict with other packages.</para> 72 76 73 <para><command>make update</command>: Create an initial 74 <filename>/etc/news/config.example</filename> file, which must be 75 renamed to <filename>/etc/news/config</filename>.</para> 77 <para><command>make update</command>: Run this command if you are upgrading 78 from a very old version of <application>Leafnode</application>.</para> 76 79 77 80 </sect2> … … 81 84 82 85 <sect3><title>Config files</title> 83 <para><filename>/etc/news/config</filename>, 84 <filename>/etc/inetd.conf</filename> or 85 <filename>/etc/xinetd.conf</filename></para> 86 <para><filename>/etc/leafnode/config</filename>, 87 <filename>/etc/xinetd.conf</filename> or 88 <filename>/etc/inetd.conf</filename></para></sect3> 89 90 <sect3><title>Configuration commands</title> 91 92 <para>The <filename>/etc/leafnode/config</filename> file must be 93 edited to reflect the name of the upstream <acronym>NNTP</acronym> 94 provider. Copy the example configuration file to 95 <filename>/etc/leafnode/config</filename> and save the original for 96 reference:</para> 97 98 <screen><userinput><command>cp /etc/leafnode/config.example /etc/leafnode/config</command></userinput></screen> 99 100 <para>Change the 101 <screen><userinput>server = </userinput></screen> 102 entry to reflect your news provider.</para> 103 104 <para>The <filename>/etc/nntpserver</filename> file must contain 127.0.0.1 to 105 prevent news clients from reading news from the upstream feed. Create this 106 file using the following command:</para> 107 108 <screen><userinput><command>cat > /etc/nntpserver << "EOF"</command> 109 127.0.0.1 110 <command>EOF</command></userinput></screen> 111 112 <para>The <command>/etc/rc.d/init.d/cleanfs</command> script, part of the 113 <acronym>LFS</acronym> bootscript package, will remove the 114 <filename class="directory">/var/lock/leafnode</filename> directory during 115 the system boot sequence. Install the following line in the 116 <filename>/etc/sysconfig/createfiles</filename> file to re-create the 117 directory:</para> 118 119 <screen><userinput>/var/lock/leafnode dir 2775 news news</userinput></screen> 86 120 87 121 <para><application>Leafnode</application> may be configured to use 88 <command>inetd</command> by adding an entry 89 to the<filename>/etc/inetd.conf</filename> file with the following122 <command>inetd</command> by adding an entry to the 123 <filename>/etc/inetd.conf</filename> file with the following 90 124 command:</para> 91 125 … … 97 131 98 132 <para>Alternatively, <application>Leafnode</application> may be configured to 99 use <command>xinetd</command> by adding an entry to the <filename>100 /etc/xinetd.conf</filename> file with the following command:</para>101 102 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF" 133 use <command>xinetd</command> by adding an entry to the 134 <filename>/etc/xinetd.conf</filename> file with the following command:</para> 135 136 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 103 137 service nntp 104 138 { … … 118 152 changed <filename>xinetd.conf</filename> file.</para> 119 153 120 <para>The <filename>/etc/news/config</filename> file must be 121 edited to reflect the name of the upstream <acronym>NNTP</acronym> 122 provider. Copy the 123 example configuration file to <filename>/etc/news/config</filename> 124 and save the original for reference: </para> 125 126 <screen><userinput><command>cp /etc/news/config.example /etc/news/config 127 </command></userinput></screen> 128 129 <para>Change the 130 <screen><userinput>server = </userinput></screen> 131 entry to reflect your news provider.</para> 132 133 <para>The <envar>NNTPSERVER</envar> environment variable must be set to 134 127.0.0.1 to prevent news clients from reading news from the upstream feed, 135 so add the following to <filename>/etc/profile</filename> or 136 <filename>$HOME/.bash_profile</filename>:</para> 137 138 <screen><userinput><command>export NNTPSERVER=127.0.0.1</command></userinput></screen> 154 <para>Add entries to the root or news user's crontab to run the 155 <command>fetchnews</command> and <command>texpire</command> commands at the 156 desired time intervals.</para> 139 157 140 158 </sect3> … … 152 170 <command>checkgroups</command>, 153 171 <command>fetchnews</command> and 154 <command>newsq.</command></para></sect2> 172 <command>newsq.</command></para> 173 </sect2> 155 174 156 175 <sect2><title>Description</title> … … 161 180 162 181 <sect3><title>leafnode</title> 163 <para><command>leafnode</command> is the <acronym>NNTP</acronym> server daemon.</para></sect3> 182 <para><command>leafnode</command> is the <acronym>NNTP</acronym> 183 server daemon.</para></sect3> 164 184 165 185 <sect3><title>applyfilter</title> 166 <para><command>applyfilter</command> filters newsgroup articles according to regular167 expressions.</para></sect3>186 <para><command>applyfilter</command> filters newsgroup articles according 187 to regular expressions.</para></sect3> 168 188 169 189 <sect3><title>texpire</title> 170 <para><command>texpire</command> expires old articles and unread groups.</para></sect3> 190 <para><command>texpire</command> expires old articles and unread 191 groups.</para></sect3> 171 192 172 193 <sect3><title>checkgroups</title> 173 <para><command>checkgroups</command> inserts newsgroup titles into the newsgroup174 database.</para></sect3>194 <para><command>checkgroups</command> inserts newsgroup titles into the 195 newsgroup database.</para></sect3> 175 196 176 197 <sect3><title>fetchnews</title> 177 <para><command>fetchnews</command> sends posted articles to and retrieves new articles178 from an upstream news server.</para></sect3>198 <para><command>fetchnews</command> sends posted articles to and retrieves 199 new articles from an upstream news server.</para></sect3> 179 200 180 201 <sect3><title>newsq</title> 181 <para><command>newsq</command> shows articles waiting to be sent upstream.</para></sect3> 202 <para><command>newsq</command> shows articles waiting to be sent 203 upstream.</para></sect3> 182 204 183 205 </sect2> 184 206 185 207 </sect1> 186
Note:
See TracChangeset
for help on using the changeset viewer.