🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1774

FAQ: Norman J. Pieniazek quick-start guide (Part 3 of 3)

#1774
From: Tom Limoncelli
Date: Mon, 05 Apr 1993 14:56
165 lines
7209 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/part3


This is a separate guide to installing INN.  It is written for INN 1.3,
but should work on INN 1.4.  It is written and maintained by Norman J.
Pieniazek (norman@giardia.pdb.cdc.gov).  Please send updates and
corrections to him.



INSTALLATION AND MAINTENANCE OF INN 1.3


I. INSTALLATION



1. Get: inn1.3.tar.Z from ftp.uu.net (192.48.96.9).  This file is in
   the directory: /networking/news/nntp/inn

2. Get: patch.tar.Z from ftp.uu.net.  This file is in the directory /pub.
   Compile and install patch in directory /usr/local/bin.

3. If you have a Sun SPARCstation running SunOS 4.1.x and no gnu
   software, ftp to aeneas.mit.edu (18.71.0.38), go to directory
   /pub/gnu and get the following files.

   fgrep		current version: fgrep-1.1
   gawk			current version: gawk-2.14
   gcc			current version: gcc-2.3.3
   grep			current version: grep-1.6
   make			current version: make-3.63
   sed			current version: sed-1.3

   Compile and install these programs starting with make and gcc.

4. Get perl-4.0.35.tar.Z from ftp.uu.net - directory /archive/systems/gnu.
   Compile and install.

5. As root, create directories:	/usr/local/inn
				/news/bin
				/news/lib

6. Move inn1.3.tar.Z to /usr/local/news.
   Run: zcat inn1.3.tar.Z | tar xvf -.  This will install
   inn files for compilation.

7. cd to $inn/config and follow the instructions in R. Salz's
   INN nstallation manual.  At least, change the compiler from cc
   to gcc. (If you have Solaris 2.1 - see changes to the config
   files in Daniel Rich's letter).

8. cd $inn.  Do: make world install

9. If you get no fatal errors from make, check the /usr/local/news
   directory for history* files.  Remove or rename them.  Run $inn/BUILD
   script.

10. Get: /networking/news/nntp/inn/tutorial.Z from ftp.uu.net
    Follow instructions to set up at least your newsfeeds, hosts.nntp,
    and nnrp.access files.  Get the active file from your newsfeed and
    edit it to your taste. Remember to include the control and junk
    newsgroups.

11. Run: perl /usr/local/news/inncheck and correct any errors found by
    inncheck.

12. As root, do: sh /usr/local/etc/rc.news.  Look in syslog
    for any errors.  Do ps -aux and check, if innd owner
    is news.

13. In /etc/aliases create an entry: usenet: <you, or root>. 
    Reboot and ypinit -m is recommended (restart innd - see #12).

14. Do: /bin/crontab -e news and insert a line:
    40 23 * * * /usr/local/news/bin/news.daily delayrm

15. Run tests from your machine to the server (your machine at telnet
    port 119).  See Tom Limoncelli's manual for details.

16. After completing the test, be sure to delete the entry for your
    machine from the hosts.nntp file.  If you will not do it, your
    machine will be treated as a "feeder" and not a "reader".

17. Watch the news.daily reports in your mail for any
    additional errors.

18. Adding new groups - see Part II, Section 2.b, or:
    a. ctlinnd pause "edit active"
    b. Edit the active file.  Format is: groupname himark lomark flag.
       Set himark to 0000000000 and lomark to 0000000001.
    c. Run inncheck to check the new active file for errors.    
    d. ctlinnd reload active "new active".
    e. ctlinnd go "edit active".

19. Set posting. 
     a. Edit the /usr/local/news/newsfeeds file and add:
	<alias for your feed>/<full address of feed\
		:*\	(for all local postings)
		:Tf,Wnm:	(standard entry)
     b. Edit /usr/local/news/nntpsend.ctl file and add:
        <alias for your feed>:<full address of feed>::-T1800 -t300
     c. Do: /bin/crontab -e news and insert a line:
	0,10,20,30,40,50 * * * * /usr/local/news/bin/nntpsend
     d. Run inncheck
     e. Re-start INND.
     f. Post to misc.test and include reply in the Subject line,
        automatic responses will be mailed to usenet (see 13) within
        a few minutes.

20. To start innd automatically at bootup, include at the end of
    your rc.local:

    #
    # Start INN news service - Internet News Daemon (innd)
    #
    if [ -f /usr/local/etc/rc.news ]; then
           /usr/local/etc/rc.news; echo "Starting INN news service"
    fi

  

II. MAINTENANCE

1. Newgroups are sometimes added automatically through a control message.
   A mail message to usenet will alert to such an automatic change
   to the active file.  If you do not want to subscribe to a news group,
   change directory to /usr/local/news and type:
   
    ctlinnd rmgroup xx.xxx.xx

2. Sometimes, a mail message will arrive for usenet with a checkgroups
   file.  Remove header, save the body of the message in:
   
   /usr/local/news/bin/control/news_control/news_control_todaysdate
   
   cd to that directory and do:
   ../docheckgroups <news_control_todaysdate >todaysdate_pre
   
   Read the output file (todaysdate_pre) and carry out all the instructions
   that you think pertain to your situation.  You will have to change
   directory to /usr/local/news and:
    
    a. remove some discontinued groups:
        ctlinnd rmgroup xx.xxx.xxxx

    b. add a group:
        ctlinnd newgroup xx.xxx.xxxx flag ''

    c. mark a group correctly:
        ctlinnd changegroup xx.xxx.xxxx flag

  Run inncheck and repeat the docheckgroups command:
   ../docheckgroups <news_control_tadaysdate >todaysdate_after.
   Check for any problems.  

   Also, edit the /usr/local/news/newsgroups file to reflect any
   changes you introduced.

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
Disclaimer:  I do not speak for Mentor Graphics.
             I can't even do the accent.
Technical Details
Message-ID: <inn-faq-3-734021750@Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!gmd.de!ira.uka.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!uunet!psinntp!news.mentorg.com!sdl!not-for-mail
References: <inn-faq-1-734021750@Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Message-ID: <inn-faq-3-734021750@Warren.MENTORG.COM>
Subject: FAQ: Norman J. Pieniazek quick-start guide (Part 3 of 3)
Date: Mon, 05 Apr 1993 14:56:03 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
References: <inn-faq-1-734021750@Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!gmd.de!ira.uka.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!uunet!psinntp!news.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.answers
Supersedes: <inn-faq-3-733982406@Warren.MENTORG.COM>
Followup-To: news.software.nntp
Organization: Mentor Graphics - IC Group, Warren, NJ, USA
Lines: 164
Approved: news-answers-request@MIT.Edu
Distribution: world
Reply-To: Tom_Limoncelli@Warren.MENTORG.COM (Tom Limoncelli)
NNTP-Posting-Host: sdl.warren.mentorg.com
Summary: Part 1: Common questions about INN itself, and some advice when compiling it and installing it. Part 2: This assumes that you've successfully compiled the software. This is a tutorial that takes you through configuration and setting up feeds. It ends with common questions about INN configuration. Part 3: Norman's quick guide to getting started (assumes SunOS) and other things)