These are some reminders to myself, to apply my personal preferences when installing a new server based on CentOS 6.
Make booting verbose, remove the portion
rgbh quietfrom thekernelline in/boot/grub/grub.conf.Install misc tools:
yum -y install vim yum -y install wget yum -y install mlocate yum -y install iptraf yum -y install iotraf yum -y install man yum -y install nmapCRON Configuration: Sometimes fresh Minimal CentOS installations don't come with Cron pre-installed. In such a case:
yum -y install cronie cronie-anacron crontabsThen activate and enable the service:
chkconfig crond on service crond startSNMP Configuration:
yum -y install net-snmp chkconfig snmpd onIn
/etc/snmp/snmpd.confchange the community to something other than the defaultpublic, for example change the line:com2sec notConfigUser default publicTo something like:
com2sec notConfigUser default My_pr1vate_c0mmunityAlso, if you are using an NMS like Zenoss that can poll all sorts of information from the device via SNMP, you can greatly expand the range of data available with commenting out the following two lines...
view systemview included .1.3.6.1.2.1.1 view systemview included .1.3.6.1.2.1.25.1.1...and substituting them with:
view systemview included .1Disable console blanking by editing
/boot/grub/grub.confand adding the following at the end of thekernelline:consoleblank=0
Sources
- For the console blanking tip: You want to turn console blanking off on your Linux servers.