From owner-freebsd-questions@FreeBSD.ORG Thu Nov 9 15:14:54 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 79D7916A4AB for ; Thu, 9 Nov 2006 15:14:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD07C43D60 for ; Thu, 9 Nov 2006 15:14:34 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 28744 invoked from network); 9 Nov 2006 15:14:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Nov 2006 15:14:33 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 916FC28486; Thu, 9 Nov 2006 09:56:59 -0500 (EST) To: VeeJay References: <2cd0a0da0611082139g7a529a61x76db1c52638fdec9@mail.gmail.com> From: Lowell Gilbert Date: Thu, 09 Nov 2006 09:56:59 -0500 In-Reply-To: <2cd0a0da0611082139g7a529a61x76db1c52638fdec9@mail.gmail.com> (VeeJay's message of "Thu, 9 Nov 2006 06:39:50 +0100") Message-ID: <44irho3byc.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: HELP! Installation Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 15:14:54 -0000 VeeJay writes: > Hello There, > > I wonder if someone from you could spare few minutes and share your > knowledge with me. > > I love FreeBSD and use it time to time but I think I am still novice. > > I have got an assignment to build a Multi-Task web server. > > GOALS: > A Multi Task Web Server for Virtual Hosting running Apache, MySQL, ProFTP, > Mail Program, etc. All on this server. Traffic expected 100,000 visits a > day. > > .Ideal Space required for MySQL DBs: 140GB. > (Contents: Many MySQL databases backing name based virtual websites) > > .Ideal Space required for Virtual Hosted Websites: 140GB > (Contents: HTML, PHP, Images, Mail, Logs, Sites Backups, etc) > > Maximum space required for SWAP to get high performance. > > > HARDWARE: > 1 dell rack server with: > 2 x Dual Core Intel(r) Xeon(r) 5160, 4MB Cache, 3.0GHz, 1333FSB > 4 GB FB 533MHz Memory (4x1GB dual rank DIMMs) > 4 x 146GB, SAS, 3.5-inch, 15.000 rpm Hard Drives (hot plug) > RAID 10 using PERC 5/i, x6 Backplane, Integrated RAID Controller Card > Intel(r) PRO 1000PT Dual Port Server Adapter, Gigabit NIC, Cu, PCIe x4 > etc. > > > Questions: > 1. Which Version of FreeBSD will be the best choice and would be 32bit or > 64bit? The latest release is usually the way to go, and I doubt you'll see much difference in this application between 64 bit and 32 bit. Try 64 and drop back to 32 if that turns out to be a problem. > 2. How can I get required Space when doing partition during installation? If you don't know what you're required space is, then we don't either. > 3. What would be ideal SWAP space to get performance? If in doubt, add more. Remember, though, that if you're using swap a lot, you could probably improve performance by adding memory. > 4. Which Mail Program is secure and easy to configure for Virtual Hosting? There are many opinions on that. I'm not fully convinced by any of them. > 5. What is the flow of installation when preparing a machine for Virtual > Hosting? I mean which program should be installed first and how should they > setup (apache, ftp, mysql, mail) to talk with each other for a specific > virtual name-based host? All of those things are running separately for each virtual host? I would recommend using a jail(8) for each...