Setup LDAP authentication in CentOS (openldap+sssd)


1) Install openldap server in CentOS 6.5 yum install -y openldap* 2) Copy the sample slapd.conf configuration cp /usr/share/openldap-servers/slapd.conf.obsolete /etc/openldap/slapd.conf 3) Generate encrypted password for later use slappasswd 4) Modify /etc/openldap/slapd.conf, use the encrypted password created in above step. #TLSCACertificatePath /etc/openldap/certs #TLSCertificateFile "\"OpenLDAP Server\"" #TLSCertificateKeyFile /etc/openldap/certs/password database monitor access to * by dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by … Continue reading Setup LDAP authentication in CentOS (openldap+sssd)

Install SVN in CentOS


1) Install the SVN serveryum install -y subversion mod_dav_svnModify /etc/httpd/conf.d/subversion.confmkdir /etc/svn/htpasswd -cm /etc/svn/users jchenhtpasswd -m /etc/svn/users testmkdir /var/www/svncd /var/www/svnsvnadmin create mylabchown -R apache.apache mylabchcon -R -t httpd_sys_content_t mylabservice httpd restartchkconfig httpd on2) Intall the SVN clientyum install -y subversion

Build Master/ Slave DNS in CentOS


  1) Set up master DNS server (CentOS 6.5) yum install -y bind* Modify /etc/named.conf Create the zone files: /var/named/mylab.local /var/named/56.168.192.in-addr.arpa service named start chkconfig named on 2) Set up slave DNS server (CentOS 6.5) yum install -y bind* Modify /etc/named.conf service named start chkconfig named on 3) Reload the zone whenever the zone file … Continue reading Build Master/ Slave DNS in CentOS