Travel

Categories

Sendmail smtp auth under CentOS 6

1.Get signed server certificate for auth

2. edit sendmail.mc as below : (port 587 is listened by default, no need to add in the mc)

define(`confAUTH_OPTIONS’, `A p y’)dnl TRUST_AUTH_MECH(`LOGIN PLAIN’)dnl define(`confAUTH_MECHANISMS’, `LOGIN PLAIN’)dnl define(`confCACERT_PATH’,`/etc/pki/tls/certs’) define(`confCACERT’,`/etc/pki/tls/certs/gd_bundle.crt’) define(`confSERVER_CERT’,`/etc/pki/tls/certs/server.crt’) define(`confSERVER_KEY’,`/etc/pki/tls/certs/server.key’) DAEMON_OPTIONS(`Port=465,Addr=0.0.0.0, Name=MTA’)

3. install saslauthd, make sure the below are installed :

cyrus-sasl-plain cyrus-sasl-devel cyrus-sasl-lib […]

Use NOOP I/O Scheduler for virtualized Linux guest with kernel 2.6 guest on vmware

Refer to http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2011861

The scheduler can be set for each hard disk unit. To check which scheduler is being used for particular drive, run this command:

cat /sys/block/disk/queue/scheduler

For example, to check the current I/O scheduler for sda:

# cat /sys/block/sda/queue/scheduler [noop] anticipatory deadline cfq

In this example, the sda drive scheduler is set to […]

Linux 2.6+ tuning for Data Transfer hosts connected at speeds of 1Gbps or higher

http://fasterdata.es.net/host-tuning/linux/

Nagios nrep “NRPE: Unable to read output” after using sudo

edit /etc/sudoers and comment the below :

#Defaults requiretty

Windows 7 autologin

Use netplwiz

Enhanced vMotion Compatibility (EVC) with creating a cluster or the required license

http://admin-reminder.blogspot.hk/2011/11/vmware-cpuid-masks-for-aes-ni-and.html

In short

Edit CPUID Mask in vsphere at “Level 1 section” and for “ecx” :

—- –0- —- —- —- —- —- –0-