old-www/HOWTO/Virtual-Services-HOWTO-1.html

160 lines
6.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Virtual Services Howto: Introduction</TITLE>
<LINK HREF="Virtual-Services-HOWTO-2.html" REL=next>
<LINK HREF="Virtual-Services-HOWTO.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="Virtual-Services-HOWTO-2.html">Next</A>
Previous
<A HREF="Virtual-Services-HOWTO.html#toc1">Contents</A>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<H2><A NAME="ss1.1">1.1 Knowledge Required</A>
</H2>
<P>Creating a virtual services machine is not all that difficult, however,
more than fundamental knowledge is required. This document is not a primer
to how to fully configure a Linux machine.
<P>
<P>In order to understand this HOWTO document it is assumed that you
are thoroughly familiar with the following:
<P>
<UL>
<LI> Compiling a Linux kernel and adding IP aliasing support
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/mini/IP-Alias.html">IP alias mini-HOWTO</A> </LI>
<LI> Setting up and configuring of network devices
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/NET-3-HOWTO.html">NET-3 HOWTO</A></LI>
<LI> Setting up of inetd
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/NET-3-HOWTO.html">NET-3 HOWTO</A></LI>
<LI> Various network packages like
<A HREF="http://www.sendmail.org">Sendmail</A>
<A HREF="http://www.apache.org">Apache</A>
<A HREF="http://www.qmail.org">Qmail</A>
<A HREF="http://samba.anu.edu.au">SAMBA</A></LI>
<LI> Setting up DNS
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/DNS-HOWTO.html">DNS HOWTO</A></LI>
<LI> Understanding basic system administration
<A HREF="http://sunsite.unc.edu/LDP/LDP/sag/index.html">Linux Systems Administrators's Guide</A></LI>
<LI> Understanding how to setup a Web Server
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/WWW-HOWTO.html">WWW HOWTO</A></LI>
</UL>
<P>If you are uncertain of how to proceed with any of the above it is STRONGLY
recommended that you use the html links provided to familiarize yourself with all
packages. I will NOT reply to mail regarding any of the above. Please
direct your questions to the appropriate author of the HOWTO.
<P>
<H2><A NAME="ss1.2">1.2 Purpose</A>
</H2>
<P>The purpose of virtual services is to allow a single machine to
recognize multiple IP addresses without multiple network cards.
IP aliasing is a kernel option that allows you to assign each network
device more than one IP address. The kernel then multiplexes
(swaps between them very fast) in the background and to the user it
appears like you have more than one server.
<P>
<P>
This multiplexing allows multiple domains (www.domain1.com,
www.domain2.com, etc.) to be hosted by the same machine for the same
cost as hosting one domain. Unfortunately, most services (FTP, web, mail)
were not designed to handle muliple domains. In order to make them work
properly you must modify both configuration files and source code.
This document describes how to make these modifications in the setting
up of a virtual machine.
<P>
<P>A deamon is also required in order to make virtual services function. The
source for this daemon (virtuald) is provided later in this document.
<P>
<H2><A NAME="ss1.3">1.3 Feedback</A>
</H2>
<P>This document will expand as packages are updated and source or configuration
modifications change. If there are any portions of this document that
are unclear please feel free to email me with your suggestions or
questions. So that I do not have to go searching through the entire
HOWTO please make certain that all comments are as specific as possible
and include the section where the uncertainty lies. It is important that
all mail be addressed with VIRTSERVICES HOWTO in the subject line. Any other mail
will be considered personal and all my friends know that I do not ever
read my personal mail so it will probably get discarded with theirs.
<P>
<P>Please note that my examples are just that, examples and should not
be copied verbatim. You may have to insert your own values. If you
are having trouble, send me mail. Include all the pertinent configuration files
and the error messages you get when installing and I will look
them over and reply with my suggestions.
<P>
<H2><A NAME="ss1.4">1.4 Revision History</A>
</H2>
<P><B>V1.0</B>
<P>Initial version
<P>
<P><B>V1.1</B>
<P>Fixed error in Virtual Web Section
<P>
<P><B>V1.2</B>
<P>Fixed the date
<P>
<P><B>V2.0</B>
<P>
Updated html links.
<P>Web updates.
<P>New Sendmail option.
<P>New Qmail section.
<P>Syslogd updates.
<P>FTP updates.
<P>Virtuald default option.
<P>New SAMBA section.
<P>FAQ updates.
<P>
<P><B>V2.1</B>
<P>Changed all paths to /usr/local.
<P>Added virtuald VERBOSELOG compile option.
<P>Fixed setuid/setgid bug in virtmailfilter.
<P>Fixed execl bug in virtmailfilter.
<P>Fixed capitialization bug in virtmailfilter.
<P>Fixed environment variable sanity check in virtmailfilter.
<P>Removed mbox code from virtmailfilter/virtmaildelivery.
<P>Added tcpserver.init pop section for Qmail.
<P>Added alias domain name question to the FAQ.
<P>Fixed virtmailfilter to send home directory to virtmaildelivery.
<P>
<H2><A NAME="ss1.5">1.5 Copyright/Distribution</A>
</H2>
<P>This document is Copyright (c) 1997 by The Computer Resource Center Inc.
<P>
<P>A verbatim copy may be reproduced or distributed in any medium
physical or electronic without permission of the author. Translations
are similiarly permitted without express permission if it includes a
notice on who translated it. Commercial redistribution is allowed
and encouraged; however please notify
<A HREF="mailto:brian@nycrc.net">Computer Resource Center</A> of any such
distributions.
<P>
<P>Excerpts from the document may be used without prior consent
provided that the derivative work contains the verbatim copy or
a pointer to a verbatim copy.
<P>
<P>Permission is granted to make and distribute verbatim copies
of this document provided the copyright notice and this permission
notice are preserved on all copies.
<P>
<P>In short, we wish to promote dissemination of this information through
as many channels as possible. However, I do wish to retain copyright
on this HOWTO document, and would like to be notified of any plans
to redistribute this HOWTO.
<P>
<HR>
<A HREF="Virtual-Services-HOWTO-2.html">Next</A>
Previous
<A HREF="Virtual-Services-HOWTO.html#toc1">Contents</A>
</BODY>
</HTML>