[mdlug] What are the best practices for Linux partitioning & Mount points for Production systems

Adam Tauno Williams awilliam at whitemice.org
Mon Mar 5 13:13:22 EST 2012


On Mon, 2012-03-05 at 17:55 +0000, Wojtak, Greg (Superfly) wrote:
> I turn off SELinux.

Which certainly does not full under the "best practices" column.

> On 2012-03-02 9:23 AM, "Jonathan Billings" <billings at negate.org> wrote:
> >On Fri, Mar 02, 2012 at 01:59:35PM +0000, Wojtak, Greg (Superfly) wrote:
> >> If an application is going to use a specific directory to hold a lot of
> >> data,
> >> then I will create a separate filesystem for it.  For example, for
> >>httpd,
> >> I'd
> >> create a filesystem specifically for /var/www (on RHEL) or for a mail
> >> server
> >> you want to make /var/spool/mail a pretty decent size.
> >Make sure that when you do something like this after the host has been
> >loaded with RHEL or some other distro that uses SELinux, you need to
> >relabel the volume after you've got it mounted so the SELinux
> >attributes are correct.  Otherwise httpd won't serve files out of the
> >new /var/www.

+1  That is really confusing the first [couple of] times. :)

-- 
System & Network Administrator [ LPI & NCLA ]
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam Tauno Williams




More information about the mdlug mailing list