{\rtf0\mac {\fonttbl {\f0 \fswiss Chicago;}{\f1 \fnil Geneva;}{\f2 \fmodern New York;} {\f3 \fswiss Geneva;}{\f4 \fmodern Monaco;}{\f5 \fnil Venice;}{\f12 \fnil Los Angeles;} {\f13 \fnil Zapf Dingbats;}{\f14 \fnil Bookman;}{\f15 \fnil N Helvetica Narrow;} {\f16 \fnil Palatino;}{\f18 \fnil Zapf Chancery;}{\f20 \froman Times;}{\f21 \fswiss Helvetica;} {\f22 \fmodern Courier;}{\f23 \ftech Symbol;}{\f24 \fnil Mobile;}{\f33 \fnil Avant Garde;} {\f34 \fnil New Century Schlbk;}{\f129 \fnil .Dec;}{\f156 \fnil SIGMA;}{\f158 \fnil SIGMA BOLD;}{\f176 \fnil OMICRON BOLD;}{\f181 \fnil RHO SEMIBOLD;}{\f200 \fnil Mishawaka;}{\f201 \fnil Mishawaka Bold;}{\f242 \fnil APL;}}\paperh15840 \paperw12240 \margl1420 \margr1440 \pard \li0 \ri0 \fi0 \ql \sl320 \tx740 \tx6500 \pgnstart1 \ftnstart1 \cols1 \colsx0 \sbknone \linemod0 \linex0 \ftnbj {\header \pard \li0 \ri360 \fi0 \qc \sl320 \pard \li0 \ri0 \fi0 \ql \sl360 \tx380 \tqr \tx9380 \f21 \fs20 \par \par \par }{\footer \pard \li0 \ri360 \fi0 \qc \sl320 \par \pard \li0 \ri0 \fi0 \ql \sl360 \tx380 \tqc \tx4700 \tqr \tx9380 Steven Dorner\tab {\chpgn }\tab Printed {\chdate }\par \pard \li0 \ri0 \fi0 \ql \sl360 \tx380 \tqr \tx9380 \par }\pard \li0 \ri0 \fi0 \qc \sl640 \tx380 \tqr \tx9380 \f20 \fs20 \f21 \fs44 \b The CSO Nameserver\par Guide to Installation\par \f21 \fs32 \b December 22, 1988\f21 \fs24 \b0 \par \pard \li0 \ri0 \fi0 \qc \sl320 \tx380 \tqr \tx9380 \f21 \fs24 \i \par by Steven Dorner\par Computing Services Office\par University of Illinois at Urbana-Champaign\f20 \fs24 \i0 \par \pard \li0 \ri0 \fi0 \qj \sl320 \tx380 \tx740 \tqr \tx9380 \par \f20 \fs24 \b Introduction\f20 \fs24 \b0 \par \tab This document provides instructions, general and specific, for installing the programs that make up CSO Nameserver. To decide if you want to install the CSO Nameserver at all, I suggest you read \f20 \fs24 \i The CSO Nameserver, A Description\f20 \fs24 \i0 . For detailed information on the inner workings of the Nameserver, you should read \f20 \fs24 \i The CSO Nameserver, A ProgrammerUs Guide\f20 \fs24 \i0 . If you follow the procedures in this document, you will end up with the right programs in the right places; you will not yet have a functioning system. You must first come up with data, and form that data into a valid Nameserver database. For an example procedure to build a Nameserver database, \f20 \fs24 \i Rebuilding a Nameserver Database, In 24 Easy Steps\f20 \fs24 \i0 should be perused. Your procedure is likely to differ from ours, since you will undoubtedly have your data in a form unlike our own.\par \tab \f20 \fs24 \b Do read \f20 \fs24 \b \i \ul all\f20 \fs24 \b \i0 \ulnone of this document before beginning your installation.\f20 \fs24 \b0 \par \par \f20 \fs24 \b Prerequisites\par \up0 \f20 \fs24 \b0 \tab The system you choose to run the server portion of the Nameserver should meet the following requirements:\par \tab \f20 \fs24 \b 1.\tab BSD UNIX or equivalent.\f20 \fs24 \b0 The server portion of the Nameserver has been run on a 4.3bsd system and an Ultrix 2.2 system. 4.3bsd is the preferred system.\par \tab \f20 \fs24 \b 2.\tab The 4.3bsd \f22 \fs24 \b syslog\f20 \fs24 \b facility.\f20 \fs24 \b0 If you are not using a 4.3bsd system, you will either have to port the 4.3 \f22 \fs24 syslog\f20 \fs24 to your system (we have done this for ourselves in order to run the Nameserver on an Ultrix VAX), or change the calls to \f22 \fs24 syslog\f20 \fs24 within the Nameserver.\par \tab \f20 \fs24 \b 3.\tab Disk space.\f20 \fs24 \b0 We use about 40 megabytes to hold our database (60,000 persons). The Nameserver could be tuned to be somewhat less wasteful of space, if you care to do so. In any case, you will need at least twice the disk space the database will eventually occupy in order to conveniently create the database.\par \tab \f20 \fs24 \b 4.\tab Processor.\f20 \fs24 \b0 The running database causes minimal system load. Building a database takes quite a few cycles, however; five hours on a fast super-mini the last time we built our database. Fortunately, this need only be done when mass quantities of entries are to be added.\par \tab The client software can be run without modification on bsd UNIX systems, HP-UX, or VAX/VMS.\par \par \f20 \fs24 \b Overview\f20 \fs24 \b0 \par \tab The CSO Nameserver is a relatively straightforward program to install. There are four major pieces; the server program itself (\f22 \fs24 qi\f20 \fs24 ), the client program (\f22 \fs24 ph\f20 \fs24 ), database utilities (a set of programs used to build, dump, and otherwise manipulate the database), and statistics programs (that help make sense of the voluminous logs produced by the Nameserver).\par \tab The basic plan for installation is:\par \tab \f20 \fs24 \b 1.\tab Create a userid for the Nameserver, and become that user.\par \tab 2.\tab Untar the files.\f20 \fs24 \b0 \par \tab \f20 \fs24 \b 3.\tab Edit the \f22 \fs24 \b configure\f20 \fs24 \b script.\par \tab 4.\tab Run the \f22 \fs24 \b configure\f20 \fs24 \b script.\par \tab 5.\tab Make any binary directories you mentioned in the \f22 \fs24 \b configure\f20 \fs24 \b script.\par \tab 6.\tab Do a \f22 \fs24 \b make install\f20 \fs24 \b (as super-user).\par \tab 7.\tab Create a database.\par \tab 8.\tab Put an \f22 \fs24 \b ns\f20 \fs24 \b entry in \f22 \fs24 \b /etc/services\f20 \fs24 \b .\par \tab 9.\tab Teach \f22 \fs24 \b /etc/syslog.conf\f20 \fs24 \b about \f22 \fs24 \b qi\f20 \fs24 \b , and kick \f22 \fs24 \b syslogd\f20 \fs24 \b .\par \tab 10.\tab Teach \f22 \fs24 \b /etc/inetd.conf\f20 \fs24 \b about \f22 \fs24 \b qi\f20 \fs24 \b , and kick \f22 \fs24 \b inetd\f20 \fs24 \b .\par \tab 11.\tab Install the client software on any other system(s) you wish.\f20 \fs24 \b0 \par \tab The rest of this document will deal with each step in detail.\par \par \f20 \fs24 \b Creating A Userid For The Nameserver\f20 \fs24 \b0 \par \tab If you have a 4.3bsd system, you should create a userid for use by the Nameserver. \f20 \fs24 \b This userid should have sole access\f20 \fs24 \b0 to the Nameserver database and the utility and server programs. If you have a 4.2 bsd system, it is sufficient that the super-user have access to the database and related files (although it will do no harm to have a Nameserver userid that owns the Nameserver files). The distinction is made because the 4.3bsd \f22 \fs24 inetd\f20 \fs24 networking daemon allows a userid to be specified for the programs it runs; the 4.2bsd \f22 \fs24 inetd\f20 \fs24 runs its programs as the super-user.\par \tab If you create a Nameserver userid, you should become that userid for most of the installation process.\par \par \f20 \fs24 \b Untar The Files\f20 \fs24 \b0 \par \tab The Nameserver is normally distributed as a compressed tar archive. The command:\par \f22 \fs24 uncompress -c