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

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Mon Mar 5 12:55:32 EST 2012


I turn off SELinux.

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.
>
>(And please don't tell me you turn off SELinux.)
>
>-- 
>Jonathan Billings <billings at negate.org>
>_______________________________________________
>mdlug mailing list
>mdlug at mdlug.org
>http://mdlug.org/mailman/listinfo/mdlug




More information about the mdlug mailing list