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 quiet
from thekernel
line 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 nmap
CRON Configuration: Sometimes fresh Minimal CentOS installations don't come with Cron pre-installed. In such a case:
yum -y install cronie cronie-anacron crontabs
Then activate and enable the service:
chkconfig crond on service crond start
SNMP Configuration:
yum -y install net-snmp chkconfig snmpd on
In
/etc/snmp/snmpd.conf
change the community to something other than the defaultpublic
, for example change the line:com2sec notConfigUser default public
To something like:
com2sec notConfigUser default My_pr1vate_c0mmunity
Also, 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 .1
Disable console blanking by editing
/boot/grub/grub.conf
and adding the following at the end of thekernel
line:consoleblank=0
Sources
- For the console blanking tip: You want to turn console blanking off on your Linux servers.