summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-21 22:11:55 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-21 22:11:55 +0000
commit803253cc50329553be15db8c532b4b98eac5736c (patch)
tree1d06759e8e79860a19b196d6612d044ad3db3ccd
parentda81468e61252a96a7701646afcc6f2b16f547fa (diff)
remove the various sections on enabling daemons: the page was getting overly
big and out of date; this way we can make intro(8) do some work;
-rw-r--r--share/man/man8/afterboot.8190
1 files changed, 16 insertions, 174 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8
index 4ab652a8efd..f7b21888252 100644
--- a/share/man/man8/afterboot.8
+++ b/share/man/man8/afterboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: afterboot.8,v 1.115 2007/03/20 20:55:22 jmc Exp $
+.\" $OpenBSD: afterboot.8,v 1.116 2007/03/21 22:11:54 jmc Exp $
.\"
.\" Copyright (c) 1997 Marshall M. Midden
.\" All rights reserved.
@@ -45,7 +45,7 @@ The idea is to create a list of items that can be checked off so that you have
a warm fuzzy feeling that something obvious has not been missed.
A basic knowledge of
.Ux
-is assumed, otherwise type
+is assumed, otherwise type:
.Pp
.Dl # help
.Pp
@@ -310,15 +310,14 @@ and
.Xr fstat 1
to check on running processes, network connections, and opened files,
respectively.
-.Sh CHANGING /etc FILES
+.Sh FURTHER CHANGES
The system should be usable now, but you may wish to do more customizing,
such as adding users, etc.
Many of the following sections may be skipped
-if you are not using that package (for example, skip the
-Kerberos section if you won't be using Kerberos).
+if you are not using that package.
We suggest that you
.Ic cd /etc
-and edit most of the files in that directory.
+and edit any files in that directory as necessary.
.Pp
Note that the
.Pa /etc/motd
@@ -479,170 +478,6 @@ for more information.
The
.Pa /etc/mail/localhost.cf
file already has this disabled.
-.Ss Automounter daemon (AMD)
-If using the
-.Xr amd 8
-package,
-go into the
-.Pa /etc/amd
-directory and set it up by
-renaming
-.Pa master.sample
-to
-.Pa master
-and editing it and creating other maps as needed.
-Alternatively, you can get your maps with YP.
-.Ss BIND name server (DNS)
-If you are using the BIND name server, check the
-.Pa /etc/resolv.conf
-file.
-It may look something like:
-.Bd -literal -offset indent
-domain nts.umn.edu
-nameserver 128.101.101.101
-nameserver 134.84.84.84
-search nts.umn.edu. umn.edu.
-lookup file bind
-.Ed
-.Pp
-If using a caching name server, add the line "nameserver 127.0.0.1" first.
-To get a local caching name server to run
-you will need to set
-.Va named_flags
-in
-.Pa /etc/rc.conf.local .
-The same holds true if the machine is going to be a
-name server for your domain.
-In both these cases, make sure that
-.Xr named 8
-is running
-(otherwise there are long waits for resolver timeouts).
-.Ss Clock synchronisation
-In order to make sure the system clock is synchronised
-to that of a publicly accessible NTP server,
-make sure that
-.Pa /etc/rc.conf.local
-contains the following:
-.Pp
-.Dl ntpd_flags=\&"\&"
-.Pp
-See
-.Xr ntpd 8 ,
-.Xr rdate 8 ,
-and
-.Xr timed 8
-for more information on setting the system's date.
-.Ss Concatenated disks (ccd)
-If you are using
-.Xr ccd 4
-concatenated disks, edit
-.Pa /etc/ccd.conf .
-Use the
-.Ic ccdconfig -U
-command to unload and the
-.Ic ccdconfig -C
-command to create tables internal to the kernel for the concatenated disks.
-You then
-.Xr mount 8 ,
-.Xr umount 8 ,
-and edit
-.Pa /etc/fstab
-as needed.
-.Ss BOOTP/DHCP server
-If this is a
-BOOTP or DHCP
-server, edit
-.Pa /etc/dhcpd.conf
-and
-.Pa /etc/dhcpd.interfaces
-as needed.
-You will have to make sure
-.Pa /etc/rc.conf.local
-has:
-.Pp
-.Dl dhcpd_flags=\&"\&"
-.Pp
-or run
-.Xr dhcpd 8
-manually.
-See also
-.Xr diskless 8 .
-.Ss HP remote boot server
-Edit
-.Pa /etc/rbootd.conf
-if needed for remote booting.
-If you do not have HP computers doing remote booting, do not enable this.
-See also
-.Xr diskless 8 .
-.Ss Kerberos
-If you are going to use
-.Xr kerberos 8
-for authentication, and you already have a
-Kerberos
-master, change directory to
-.Pa /etc/kerberosV
-and configure.
-Remember to get a
-.Pa srvtab
-from the master so that the remote commands work.
-.Ss NFS server
-If this is an NFS server
-make sure
-.Pa /etc/rc.conf.local
-has:
-.Pp
-.Dl nfs_server=YES
-.Pp
-Edit
-.Pa /etc/exports
-and get it correct.
-It is probably easier to reboot than to get the daemons running manually,
-but you can get the order correct by looking at
-.Pa /etc/rc .
-.Ss RPC-based network services
-Several services depend on the RPC portmapper,
-.Xr portmap 8 ,
-being running for proper operation.
-This includes YP and NFS exports, among other services.
-To get the RPC portmapper to start automatically on boot,
-you will need to have this line in
-.Pa /etc/rc.conf.local :
-.Pp
-.Dl portmap=YES
-.Ss YP setup
-Check the YP domain name with the
-.Xr domainname 1
-command.
-If necessary, correct it by editing the
-.Pa /etc/defaultdomain
-file (see
-.Xr defaultdomain 5 ) .
-The
-.Pa /etc/netstart
-script reads this file on bootup to determine and set the domain name.
-You may also set the running system's domain name with the
-.Xr domainname 1
-command.
-To start YP client services, simply run
-.Ic ypbind ,
-then perform the remaining
-YP activation as described in
-.Xr passwd 5
-and
-.Xr group 5 .
-.Pp
-In particular, to enable YP passwd support, you'll need to add the following
-line to
-.Pa /etc/master.passwd :
-.Pp
-.Dl +:*::::::::
-.Pp
-You do this by using
-.Xr vipw 8 .
-.Pp
-There are many more YP man pages available to help you.
-You can find more information by starting with
-.Xr yp 8 .
.Ss Daily, weekly, monthly scripts
Look at and possibly edit the
.Pa /etc/daily , /etc/weekly ,
@@ -748,6 +583,12 @@ Use
and
.Xr chown 8
as needed.
+.Ss Daemons
+Enable/disable any daemon processes as necessary.
+.Xr intro 8
+contains a comprehensive guide to the various daemons available on the
+.Ox
+system.
.Ss Packages
Install your own packages.
The
@@ -765,9 +606,8 @@ for more details.
.Pp
Copy vendor binaries and install them.
You will need to install any shared libraries, etc.
-(Hint:
-.Ic man -k compat
-to find out how to install and use compatibility mode.)
+Read the compat_* man pages
+to find out how to install and use compatibility mode.
.Pp
There is also other third-party software that is available
in source form only, either because it has not been ported to
@@ -781,14 +621,16 @@ Information on building and modifying kernels
is contained within
.Xr config 8 .
.Sh SEE ALSO
+.Xr ksh 1 ,
.Xr man 1 ,
.Xr pkg_add 1 ,
.Xr ps 1 ,
-.Xr intro 3 ,
+.Xr vi 1 ,
.Xr hier 7 ,
.Xr config 8 ,
.Xr dmesg 8 ,
.Xr ifconfig 8 ,
+.Xr intro 8 ,
.Xr sudo 8 ,
.Xr sysctl 8
.Sh HISTORY