<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">What are the best practices for
Linux partitioning & Mount points for Production systems</span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Hi <br>
<br>
i need some suggestion for defining the partition size for my production
systems. we are going to use CentOS 6.2 (64 bit)<br>
<br>
- Partition size<br>
- Mount points<br>
<br>
What i am able to get from the google search is:<br>
<br>
/ Root File
System (/bin , /sbin , /dev , /root<br>
/usr program and source
code
<br>
/var variable data<br>
/boot boot kernels<br>
/tmp temp file locations<br>
/work to do your work here "you can name it
anything"<br>
Swap</span></p>
<ul type="disc"><li class="MsoNormal" style="line-height:normal"><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/home</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
- Set option nosuid, and nodev with diskquota option</span></li><li class="MsoNormal" style="line-height:normal"><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/usr</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
- Set option nodev</span></li><li class="MsoNormal" style="line-height:normal"><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/tmp</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
- Set option nodev, nosuid, noexec option must be enabled</span></li><li class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/var local,nodev,nosuid</span></li>
</ul>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman","serif""><br>
Most of the server will be running <br>
- Apache<br>
-Tomcat<br>
-SOLR<br>
<br>
and few of them would be running MySQL as data base.<br>
<br>
<br>
what is concern is that one of the developer accidentally deleted the /usr
files with sudo access. if somehow i can protect the core system from the
developers mistake that would be really good.<br>
<br>
Thanks in advance for help.</span></p>