Annotation of 43BSD/contrib/nntp/server/README, revision 1.1

1.1     ! root        1:      Caveat: Before compiling anything here, go look at README and conf.h
        !             2: in the "common" directory.  Fix conf.h up, and then come back here.
        !             3: 
        !             4:      Back already?  Ok.  Now following the bouncing numbers:
        !             5: 
        !             6:        1. Create the access file with the proper entries.
        !             7:           This file goes wherever you said ACCESS_FILE
        !             8:           was supposed to be in common/conf.h.  It's format is
        !             9:           explained in the manual entry for nntpd.8c.
        !            10:           A sample access file is in ../support/access_file.
        !            11:           If you don't care who (ab)uses your news server,
        !            12:           you can have the line "default read post" in your access
        !            13:           file, which will allow anyone on the network to
        !            14:           read and post news via your server.  See the manual
        !            15:           page for a better explanation.
        !            16: 
        !            17:        2. Make an entry for "nntp" in /etc/services.  Should
        !            18:           be port number 119, tcp.  I.e., should look something like:
        !            19: 
        !            20: nntp           119/tcp         readnews untp   # Network News Transfer Protocol
        !            21: 
        !            22:        3. Check ../common/conf.h to make sure you're set to do what
        !            23:           you want to do with inetd (i.e., #define ALONE or #undef ALONE).
        !            24:           If you are using inetd,
        !            25: 
        !            26:           a. Add a line to /etc/inetd.conf, or whatever your
        !            27:              configuration file is, to reflect the presence
        !            28:              of the news server.  This should look like:
        !            29: 
        !            30: nntp   stream  tcp     nowait  root    /etc/nntpd      nntpd
        !            31: 
        !            32:              Don't forget to kill -HUP your inetd later...
        !            33: 
        !            34:           If you're NOT using inetd,
        !            35: 
        !            36:           a. Edit ../common/conf.h to have the line
        !            37: 
        !            38:                        #define ALONE
        !            39: 
        !            40:              to compile in code for the stand alone server.
        !            41: 
        !            42:           b. You may as well also define "FASTFORK" in
        !            43:              ../common/conf.h.  This causes the server not to
        !            44:              read in the active file every time it forks, but
        !            45:              rather to stat it every READINTVL seconds, and if
        !            46:              the file has changed since the last read, to
        !            47:              read it in again.  This makes the children run
        !            48:              faster, since they don't have to read the active
        !            49:              file every time the parent forks off a child, but
        !            50:              the parent server will eat more cpu, doing
        !            51:              stat()s every 10 minutes or so.  If your server machine
        !            52:              is heavily loaded, you might leave this out.
        !            53: 
        !            54:           c. Change /etc/rc.local to start the server at
        !            55:              boot time.
        !            56: 
        !            57:        4. Compile the server by doing "make".
        !            58: 
        !            59:        5. Cd .. and continue with the rest of the stuff; you'll
        !            60:           wind up doing a make install later.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.