=====installation===== .lg 0 .wh 0 hh .de hh .sp 97p .. .wh -73p ff .de ff .bp .. 'vs 32 'ad c 'in 0p 'll 468p 'ta 18p 468pR \fB\s18The CSO Nameserver .br Guide to Installation .br \fB\s13December 22, 1988 .br .sp 'vs 16 'ad c 'in 0p 'll 468p 'ta 19p 469pR \fI\s10by Steven Dorner .br Computing Services Office .br University of Illinois at Urbana\-Champaign .br .sp 'vs 16 'ad b 'in 0p 'll 468p 'ta 19p 37p 469pR \fB\s10Introduction .br \fR\s10 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 \fI\s10The CSO Nameserver, A Description\fR\s10. For detailed information on the inner workings of the Nameserver, you should read \fI\s10The CSO Nameserver, A Programmer's Guide\fR\s10. 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, \fI\s10Rebuilding a Nameserver Database, In 24 Easy Steps\fR\s10 should be perused. Your procedure is likely to differ from ours, since you will undoubtedly have your data in a form unlike our own. .br \& \fB\s10Do read \f(BI\s10\o'_a'\o'_l'\o'_l'\fB\s10 of this document before beginning your installation. .br .sp Prerequisites .br \fR\s10 The system you choose to run the server portion of the Nameserver should meet the following requirements: .br \& \fB\s101. BSD UNIX or equivalent.\fR\s10 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. .br \& \fB\s102. The 4.3bsd syslog facility.\fR\s10 If you are not using a 4.3bsd system, you will either have to port the 4.3 syslog to your system (we have done this for ourselves in order to run the Nameserver on an Ultrix VAX), or change the calls to syslog within the Nameserver. .br \& \fB\s103. Disk space.\fR\s10 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. .br \& \fB\s104. Processor.\fR\s10 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. .br \& The client software can be run without modification on bsd UNIX systems, HP\-UX, or VAX/VMS. .br .sp \fB\s10Overview .br \fR\s10 The CSO Nameserver is a relatively straightforward program to install. There are four major pieces; the server program itself (qi), the client program (ph), 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). .br \& The basic plan for installation is: .br \& \fB\s101. Create a userid for the Nameserver, and become that user. .br \& 2. Untar the files. .br \fR\s10 \fB\s103. Edit the configure script. .br \& 4. Run the configure script. .br \& 5. Make any binary directories you mentioned in the configure script. .br \& 6. Do a make install (as super\-user). .br \& 7. Create a database. .br \& 8. Put an ns entry in /etc/services. .br \& 9. Teach /etc/syslog.conf about qi, and kick syslogd. .br \& 10. Teach /etc/inetd.conf about qi, and kick inetd. .br \& 11. Install the client software on any other system(s) you wish. .br \fR\s10 The rest of this document will deal with each step in detail. .br .sp \fB\s10Creating A Userid For The Nameserver .br \fR\s10 If you have a 4.3bsd system, you should create a userid for use by the Nameserver. \fB\s10This userid should have sole access\fR\s10 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 inetd networking daemon allows a userid to be specified for the programs it runs; the 4.2bsd inetd runs its programs as the super\-user. .br \& If you create a Nameserver userid, you should become that userid for most of the installation process. .br .sp \fB\s10Untar The Files .br \fR\s10 The Nameserver is normally distributed as a compressed tar archive. The command: .br uncompress \-c