Join Debian Wheezy to Windows Active Directory Domain

Thank to http://www.digitalllama.net/2013/05/join-debian-wheezy-to-windows-active.html While looking for something to keep me busy on a quiet day I decided to work out how to get Debian 7 authenticating against our Active Directory domain. I have been doing this for a few years with our Redhat/CentOS systems but we have a few Debian boxes for variety and as they […]

Postfix relayhost to Smart host

Thanks to http://www.freelock.com/kb/postfix-relayhost These are the basic steps to set up Postfix to use SMTP Authentication to send mail through a relay host. Set up a password maps file (/etc/postfix/sasl_passwd) as follows: mail.ispserver.com username:password chown root:root /etc/postfix/sasl_passwd; chmod 600 /etc/postfix/sasl_passwd postmap /etc/postfix/sasl_passwd In /etc/postfix/main.cf: relayhost = mail.ispserver.com smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = postfix […]

How to Change HostName and IP-Address in CentOS / RedHat Linux

Thanks to http://www.thegeekstuff.com/2013/10/change-hostname-ip-address/ I. Change HostName From Command Line 1. Use hostname command to Change Hostname In this example, we’ll change the hostname from dev-server to prod-server. hostname command by default will display the current hostname as shown below: # hostname dev-server The following will change the hostname to prod-server. # hostname prod-server Once the hostname […]