Apt-proxy server in Debian using apt-cacher-ng

install apt-cacher-ng apt-get install apt-cacher-ng configure apt-cacher-ng by editing vim /etc/apt-cacher-ng/acng.conf  with following lines CacheDir: /var/cache/apt-cacher-ng LogDir: /var/log/apt-cacher-ng Port:3142 BindAddress: 0.0.0.0 ###add below the commented bindaddress select the os version that needs to be cached ReportPage: acng-report.html VerboseLog: 1 PidFile: /var/run/apt-cacher-ng/pid ExTreshold: 4 save and quit the file . Restart the service using the following… Continue reading Apt-proxy server in Debian using apt-cacher-ng

how to setup openldap client in ubuntu-14/16 using sssd

install the required modules sudo apt-get install ldap-auth-client sssd libpam-sss libnss-sss libnss-ldap set up nss switch using sudo auth-client-config -t nss -p lac_ldap In order to get the pam_mkhomedir module working you could create a file like /usr/share/pam-configs/mkhomedir:  with the following content Name: activate mkhomedir Default: yes Priority: 900 Session-Type: Additional Session: required pam_mkhomedir.so umask=0022… Continue reading how to setup openldap client in ubuntu-14/16 using sssd

How to setup openldap server in Debian

Install ldapserver using the following commands apt-get update apt-get install slapd ldap-utils Edit the ldap configuration file located in /etc/ldap/ldap.conf edit the BASE and URI parameters. Reconfigure the LDAP server using the command dpkg-reconfigure slapd Enter the following values for the dialogue box shown omit database configuration--no domain name---space.org organization name---space admin password database backend---MDB… Continue reading How to setup openldap server in Debian