How to Optimize linux performance ?

1. echo vm.swappiness=10 >> /etc/sysctl.conf This optimise memory 2. replace relatime,errors=remount-ro with noatime,nodiratime,errors=remount-ro,data=writeback in /etc/fstab 3. Optimise Tcp settings net.ipv4.tcp_timestamps = 0 removes timestamps and so relieves all incoming and outgoing packets of a 12k overhead. net.ipv4.tcp_sack = 1 enables

How to install OpenLDAP on CentOS ?

yum -y install openldap-clients nss-pam-ldapd vi /etc/openldap/ldap.conf # LDAP server’s URI URI ldap:// # specify Suffix BASE dc=domain,dc=net TLS_CACERTDIR /etc/openldap/cacerts vi /etc/nslcd.conf # line 131: specify URI, Suffix uri ldap:// base dc=domain,dc=net ssl no tls_cacertdir /etc/openldap/cacerts vi /etc/pam_ldap.conf # line

Page 1 of 212