From owner-freebsd-questions Mon Apr 22 15:18:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id A7A4D37C95F for ; Mon, 22 Apr 2002 15:15:30 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 22 Apr 2002 13:58:36 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16zdOG-0005XK-00; Mon, 22 Apr 2002 13:57:56 +0100 Date: Mon, 22 Apr 2002 13:57:55 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Mark Filipak Cc: freebsd-questions Subject: Re: Mark asks: How should I partition/slice for appliance? In-Reply-To: <3CC36F6A.1F917E56@earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 21 Apr 2002, Mark Filipak wrote: > Howdy All! > > I'm about to istall 4.5 on another box. While I use the other box, email > is not accessable (until I'm successful that is). > > I've looked at the "FreeBSD Handbook" and it doesn't have help for > building an appliance. Here's the particulars: > > gateway + firewall + mail-server + www-server + ftp-server + LAN file > server. > > 2 ethernet cards > #1 - connects to my wintel box. PPPoE? > #2 - connects to this building's gateway. PPPoE for this too? > > Memory: 24 MB > Disk: 840 MB > > Emphasis: This is just to be an appliance. CLI only. LAN interface for > configuration, account management, etc. via cgi. > > What are your recommendations for the sizes of: > > / > (swap) > /var > /tmp > /usr -- I know... the rest of the disk, right? You've got a fairly small disk there; I'd be inclined to have a small / (64MB), swap (48MB), and one partition for /usr. Make /tmp and /var symlinks into /usr/tmp and /usr/var. That way, you can maximise the space you've got spare. > What are your recommendations for these: > > gateway > firewall I'd use ipfw and natd, because they come with FBSD and do what you're after. > mail server (sendmail? or something else?) sendmail's fine; there are alternatives (as I'm sure you're aware). Sendmail is only an MTA, however: you'll need something to interface with your client if you want to read your email. Much as I tend to avoid it, qmail has a good suite of stuff, it's small and robust, and there's a pop server that lives closely with it. The advantage of sendmail is that it comes built in, but you'd need _something_ to talk to your MUA for reading mail. > www server (apache?) Apache, yeah - building from the ports should be fine. > ftp server FreeBSD's ftp server should be fine. > LAN file server (samba?) Yep, samba. > I'm a raw newbie (but pretty nubile 8^). adj, (esp. of women) "of a marriageable age". OK, if you say so... -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Goth isn't dead, it's just lying very still and sucking its cheeks in. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message