338 lines
5.6 KiB
HTML
338 lines
5.6 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Custom Configuration and Administration Issues</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
|
|
"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux Administration Made Easy"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="System Shutdown and Restart"
|
|
HREF="system-shutdown-and-restart.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Web Server and HTTP Caching Proxy Administration"
|
|
HREF="web-server-administration.html"></HEAD
|
|
><BODY
|
|
CLASS="CHAPTER"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Linux Administration Made Easy</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="system-shutdown-and-restart.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="web-server-administration.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="CHAPTER"
|
|
><H1
|
|
><A
|
|
NAME="CUSTOM-CONFIG"
|
|
>Chapter 7. Custom Configuration and Administration Issues</A
|
|
></H1
|
|
><DIV
|
|
CLASS="TOC"
|
|
><DL
|
|
><DT
|
|
><B
|
|
>Table of Contents</B
|
|
></DT
|
|
><DT
|
|
>7.1. <A
|
|
HREF="web-server-administration.html"
|
|
>Web Server and HTTP Caching Proxy Administration</A
|
|
></DT
|
|
><DT
|
|
>7.2. <A
|
|
HREF="domain-name-server.html"
|
|
>Domain Name Server (DNS) Configuration and Administration</A
|
|
></DT
|
|
><DT
|
|
>7.3. <A
|
|
HREF="internet-user-authentication.html"
|
|
>Internet User Authentication with TACACS</A
|
|
></DT
|
|
><DT
|
|
>7.4. <A
|
|
HREF="samba-file-and-print.html"
|
|
>Windows-style File and Print Services with Samba</A
|
|
></DT
|
|
><DT
|
|
>7.5. <A
|
|
HREF="netatalk-file-and-print.html"
|
|
>Macintosh-style File and Print Services with Netatalk</A
|
|
></DT
|
|
><DT
|
|
>7.6. <A
|
|
HREF="nfs-services.html"
|
|
>Network File System (NFS) Services</A
|
|
></DT
|
|
><DT
|
|
>7.7. <A
|
|
HREF="linuxconf.html"
|
|
>Configuration from A-Z with Linuxconf</A
|
|
></DT
|
|
></DL
|
|
></DIV
|
|
><P
|
|
>For both personal use as well as at work, I was able to start with a
|
|
standard installation of the Red Hat Linux distribution and provide
|
|
services <SPAN
|
|
CLASS="QUOTE"
|
|
>"out-of-the-box"</SPAN
|
|
> with little or no changes to
|
|
default configuration settings.</P
|
|
><P
|
|
>However, there were a number of small changes and extra services
|
|
that were necessary to provide all the Internet, file & print
|
|
services, and other services that are in use at my place of employment.
|
|
The local administrator should be aware of the following:</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>The
|
|
``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/rc.d/rc.local</TT
|
|
></TT
|
|
>'' file is
|
|
executed upon system start-up and contains any extra services you have
|
|
added to your server that should be executed upon
|
|
bootup.</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>Look in /etc for any site-specific changes that may be
|
|
required. These may include:</P
|
|
><P
|
|
></P
|
|
><UL
|
|
COMPACT="COMPACT"
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/inetd.conf</TT
|
|
></TT
|
|
>''
|
|
(you should ensure unnecessary services were disabled such as finger,
|
|
echo, chargen; as well as add or change any services you may
|
|
need)</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/exports</TT
|
|
></TT
|
|
>''
|
|
(contains a list of hosts allowed to mount NFS volumes; see <A
|
|
HREF="nfs-services.html"
|
|
>Section 7.6</A
|
|
> for details)</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/organization</TT
|
|
></TT
|
|
>'',
|
|
``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/nntpserver</TT
|
|
></TT
|
|
>'',
|
|
``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/NNTP_INEWS_DOMAIN</TT
|
|
></TT
|
|
>'' (set
|
|
as appropriate)</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/lilo.conf</TT
|
|
></TT
|
|
>''
|
|
(contains information for the LILO boot loader -- the process which loads
|
|
the Linux kernel upon bootup; see <A
|
|
HREF="install-lilo.html"
|
|
>Section 4.8</A
|
|
> for
|
|
details)</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/sudoers</TT
|
|
></TT
|
|
>''
|
|
(a list of users who should be given special privileges, along with the
|
|
commands they are allowed to execute)</P
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/etc/named.boot</TT
|
|
></TT
|
|
>''
|
|
(for DNS use; see <A
|
|
HREF="domain-name-server.html"
|
|
>Section 7.2</A
|
|
> for
|
|
details)</P
|
|
></LI
|
|
></UL
|
|
></LI
|
|
><LI
|
|
STYLE="list-style-type: Bullet"
|
|
><P
|
|
>Anything in
|
|
``<TT
|
|
CLASS="LITERAL"
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>/usr/local/</TT
|
|
></TT
|
|
>'' (and
|
|
subdirectories) are extra packages or modifications to existing ones that
|
|
you have installed here, if you have installed from things like tarballs
|
|
instead of using RPM. (Or at least, you should have installed them
|
|
here.) These files, particularly in /usr/local/src/, should be kept
|
|
up-to-date. See <A
|
|
HREF="upgrading-linux.html"
|
|
>Chapter 10</A
|
|
> for
|
|
details.</P
|
|
></LI
|
|
></UL
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="system-shutdown-and-restart.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="web-server-administration.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>System Shutdown and Restart</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Web Server and HTTP Caching Proxy Administration</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |