Changeset 786d85c for server/other/leafnode/leafnode-config.xml
- Timestamp:
- 09/22/2003 07:00:47 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 74696d9
- Parents:
- 04e486e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/leafnode/leafnode-config.xml
r04e486e r786d85c 7 7 <filename>/etc/xinetd.conf</filename></para> 8 8 9 <para>leafnode may be configured to use inetd or xinetd as follows: 10 </para> 9 <para>leafnode may be configured to use inetd by adding a leafnode entry 10 to the <filename>/etc/inetd.conf</filename> file with the following 11 command:</para> 11 12 12 <para>inetd configuration</para> 13 <para>Add a leafnode entry to the <filename>/etc/inetd.conf</filename> 14 file with the following command: 15 <screen><userinput>echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \ 16 >> /etc/inetd.conf</userinput></screen></para> 13 <screen><userinput><command>echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \ 14 >> /etc/inetd.conf</command></userinput></screen> 17 15 18 <para>xinetd configuration</para> 19 <para>Add a leafnode entry to the <filename>/etc/xinetd.conf</filename> 20 file with the following command: 21 <screen><userinput>cat >> /etc/xinetd.conf << "EOF"</userinput> 16 <para>Alternatively, leafnode may be configured to use xinetd by 17 adding a leafnode entry to the <filename>/etc/xinetd.conf</filename> 18 file with the following command:</para> 19 20 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF" 22 21 service nntp 23 22 { … … 32 31 per_source = 3 33 32 } 34 <userinput>EOF</userinput></screen></para>33 EOF</command></userinput></screen> 35 34 36 35 <para>The <filename>/etc/news/config</filename> file must be 37 edited to reflect the name of the upstream NNTP provider. Copy the 36 edited to reflect the name of the upstream <acronym>NNTP</acronym> 37 provider. Copy the 38 38 example configuration file to <filename>/etc/news/config</filename> 39 and save the original for reference 39 and save the original for reference: </para> 40 40 41 <para><screen><userinput>cp /etc/news/config.example /etc/news/config</userinput></screen></para> 42 <para>Change the</para> 43 <para><screen><userinput>server = </userinput></screen></para> 44 <para>entry to reflect your news provider. </para> 41 <screen><userinput><command>cp /etc/news/config.example /etc/news/config</command> 42 </userinput></screen> 45 43 46 <para>The NNTPSERVER environment variable must be set to 127.0.0.1 to 44 <para>Change the 45 <screen><userinput><command>server = </command></userinput></screen> 46 entry to reflect your news provider.</para> 47 48 <para>The <envar>NNTPSERVER</envar> environment variable must be set to 127.0.0.1 to 47 49 prevent news clients from reading news from the upstream feed, add the 48 50 following to <filename>/etc/profile</filename> or 49 <filename>$HOME/.bash_profile</filename> :</para> 50 <para><screen><userinput>export NNTPSERVER=127.0.0.1</userinput></screen></para> 51 <filename>$HOME/.bash_profile</filename>:</para> 52 53 <screen><userinput><command>export NNTPSERVER=127.0.0.1</command></userinput></screen> 51 54 52 55 </sect3> 53 56 54 57 </sect2> 55
Note:
See TracChangeset
for help on using the changeset viewer.