[Centos] Secure server install

Thu Jan 27 16:49:13 UTC 2005
Beau Henderson <silentbob at gmail.com>

Well now that really depends on what your going to have installed on
the server. Will it handle mail? mysql or other databases ? web
serving, etc ? Will you have any control panel system installed on
this system ?

Here's an example of one of my systems which handles everything:

/dev/hda6            1012M  238M  723M  25% /
/dev/hda1             244M   21M  210M   9% /boot
/dev/hda7              91G   19G   68G  22% /home
none                 1004M     0 1004M   0% /dev/shm
/dev/hda5             2.0G   33M  1.8G   2% /tmp
/dev/hda2             9.7G  2.9G  6.3G  31% /usr
/dev/hda3             9.7G  1.8G  7.5G  19% /var

Generally a 512 - 1 GB is enough for tmp. The size of each really
depends upon what software you'll have installed and where it places
its files.
-- 
Beau Henderson
http://www.iminteractive.net

On Thu, 27 Jan 2005 17:41:30 +0100, Håvard Hebnes <centos at kral.no> wrote:
> Any recomendations how big they should be? Have 160GB to use..
> 
> Thanks,
> 
> regards
> Håvard 
> 
> -----Original Message-----
> From: centos-bounces at caosity.org [mailto:centos-bounces at caosity.org] On Behalf Of Beau Henderson
> Sent: 27. januar 2005 17:36
> To: CentOS discussion and information list
> Subject: Re: [Centos] Secure server install
> 
> On our web hosting servers, we generally use:
> /
> /tmp
> /var
> /usr
> /boot
> swap
> /home
> 
> Not necessarily in the above order.
> 
> --
> Beau Henderson
> http://www.iminteractive.net
> 
> On Thu, 27 Jan 2005 07:30:34 -0600, Benjamin J. Weiss
> <benjamin at birdvet.org> wrote:
> > Håvard Hebnes wrote:
> >
> > >Not sure if this is the right place to ask, but I'll try.
> > >
> > >When I do a minimum install of Centos, which default users should I delete (users that won't be needed on a
> > >server) It will be used for webhosting, mail, sql.. And, what partitions would you advice me to create?
> /root,
> > >/tmp, swap, /... should I have more?
> > >
> > >
> > >
> > I don't usually create a seperate /root.  The partition structure I
> > usually go with is:
> >
> > /boot
> > /tmp
> > /var
> > /
> > swap
> >
> > And some people throw in /home.
> >
> > Ben
> > _______________________________________________
> > CentOS mailing list
> > CentOS at caosity.org
> > http://lists.caosity.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS at caosity.org
> http://lists.caosity.org/mailman/listinfo/centos
> 
> _______________________________________________
> CentOS mailing list
> CentOS at caosity.org
> http://lists.caosity.org/mailman/listinfo/centos
>