From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 15:30:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2933816A403 for ; Tue, 26 Sep 2006 15:30:03 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56C0B43DAD for ; Tue, 26 Sep 2006 15:29:34 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.51) id 1GSEsD-000PJt-Tn; Tue, 26 Sep 2006 09:29:30 -0600 In-Reply-To: <6207f7d90609260740i8bd9b9oac15f6b06cd3a339@mail.gmail.com> References: <6207f7d90609260740i8bd9b9oac15f6b06cd3a339@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-100-588742928; protocol="application/pkcs7-signature" Message-Id: <6C691926-15F6-44BC-AC6B-3D362D560801@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 26 Sep 2006 09:29:29 -0600 To: Don Munyak X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ezjails, jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 15:30:03 -0000 --Apple-Mail-100-588742928 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi On Sep 26, 2006, at 8:40 AM, Don Munyak wrote: > re: ezjails, jails > > Hopefully a quick question. I am researching using EZJails from > http://erdgeist.org/arts/software/ezjail/ > > But a little confused by the jail concept. > > I think I need to setup two jails, one(1) for email services and > one(1) for www services, on a single server. That will work > > q. If I am running a webserver for more than one(1) domain, should I > be using a single jail for each domain, or is one jail needed for > 'ALL' www processing ? Up to you. Each jail requires its own IP address. There are things that people do with jails with private IPs and packet forwarding and stuff, but to keep it simple, consider that each jail needs an IP address (public). If you have lots of them, and if each domain is something someone else runs, or is based on totally different SW, then you might consider separating them. If you own and run each domain and they use a similar SW menu, then you may just run them out of one jail using apache virtual hosts. > > q. If I am using a jail for each domain, does this imply loading > apache+php+mysql, for each www jail ? Yes. There are ways to share but until you are comfortable with jails and what you are doing, it is easier to just load each one up separately. We run a ton of jails, one for each customer, and we share SW across them in our own "/usr/public" read only area with each jail having its own /usr/local/etc but to get it to work requires some configuration work and understanding how it all works and some other trickery... > > q. Likewise with email and multiple domains, does multiple domains = > multiple email jails, as well as multiple copies of smtp, pop3, > webmail ?? You could but in most cases there is no reason to do that. Run them all in 1 jail using one set of SW. Set up your SMTP server to support multiple domains (I recommend exim). > > q. Email and WWW services both require MySQL. Would I be installing > MySQL 'x' number of times? Depends on how the SW accesses mysql but you can run multiple mysql DBs out of one installation... Chad > > What I want to do is he following: > > We are a small company, so email traffic is minial..ie. less than 500 > messages per day. > Likewise, www traffic is also minimal. > I want to build a single server to be located at a co-location > facility. > This server would support both email and www services. > > The email services would be built using instructions from > http://www.tnpi.biz/internet/mail/toaster.shtml > ...that being stuff like qmail, RBL, spamassassin, clamav...etc > We have 5 separate domains for email services > The www services would be functionally similiar to LAMP > We have 5 separate domains for www > > I would greatly appreciate any links or advice towards achiving my > goals. > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net --Apple-Mail-100-588742928--