Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 13:57:55 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Mark Filipak <filipak@earthlink.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Mark asks: How should I partition/slice for appliance?
Message-ID:  <Pine.GSO.4.44.0204221350530.17335-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <3CC36F6A.1F917E56@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0204221350530.17335-100000>