Differences between version 2 and revision by previous author of HowToNewsLeafsite.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Friday, December 5, 2003 9:44:03 am | by JohnMcPherson | Revert |
Older page: | version 1 | Last edited on Friday, June 7, 2002 1:07:12 am | by perry | Revert |
@@ -1,6 +1,4 @@
-
-
News Leafsite mini-HOWTO
@@ -76,9 +74,9 @@
Leafnode is much simpler to use and very small but there are some
disadvantages: Leafnode is slow and loses news in about any error
situation. That's why you shouldn't use it for a big news server,
-nevertheless, it´
s appropriate for private users who don´
t want spend
+nevertheless, it'
s appropriate for private users who don'
t want spend
much time configuring INN.
@@ -117,28 +115,28 @@
1.) Be sure that there is no other news server running on your
computer. When you type
-__$ telnet localhost nntp__
+
__$ telnet localhost nntp__
you should get an error message. If you get a connection get back to the
prompt of your shell, you should uninstall INN, CNews or whatever you're
running now and comment out the nntp-line in your /etc/inetd.conf.
2.) Make sure that there is a user called "news", check in
/etc/password for the name. If there isn't, create one (either typing
-__$ adduser news__
+
__$ adduser news__
or using a tool shipped with your distribution).
3.) Unpack the sources:
-__$ tar xfz leafnode-1.4.tar.gz__
+
__$ tar xfz leafnode-1.4.tar.gz__
and change into the source directory
-__$ cd leafnode-1.4__
+
__$ cd leafnode-1.4__
4.) Compile the program and install it
-__$ make; make install__
+
__$ make; make install__
5.) Edit /usr/lib/leafnode/config (it may be on any other place like
/etc/leafnode when you use a pre-compiled version of your Linux
@@ -149,15 +147,15 @@
6.) Edit /etc/nntpserver. It should include your local hostname
(localhost or whatever your computer name is, the command hostname
should help you). If in some startup file like /etc/profile or
/.bash_profile the environment variable is defined, you should
-adjust to your computer´
s name as well.
+adjust to your computer'
s name as well.
7.) Edit the /etc/inetd.conf: Make sure that there is no line beginning
with "nntp". If there is such a line, comment it out putting a "#"
before it. Then add the following line:
-__nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode__
+
__nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode__
When someone (for example you :-) connects to your computer on the
NNTP port, leafnode is started as server process.
@@ -200,9 +198,9 @@
as a cron job or by command line. If your computer is up all the time,
you may want to add the following line to news' crontab file (to edit
it, log in as news and type "crontab -e" or as type root "crontab -u
news -e"):
-0 19 * * * /usr/local/sbin/texpire
+
0 19 * * * /usr/local/sbin/texpire
This line causes the cron daemon to star texpire every day at
19:00. Check the crontab manual page for further adjustment. If
your computer is not regularly switched on, you may start texpire
just from time to time, when you notice that fetch gets slower. It