In this CentOS 5.5 tutorial we will be showing you how to change the hostname. The assumption is that you are running as root and have a basic understanding of the software required but if you follow this tutorial you should be able to complete the task successfully.
To find the machine’s fully qualifier domain name (FQDN) see for yourself how the machine identifies itself:
# uname -n
centos01.how2centos.com
# dnsdomainname
how2centos.com
It’s a great day for CentOS and its community because, according to Web Technology Surveys, in July 2010, “For the first time, CentOS is now leading the Linux distribution statistics on web servers with almost 30% of all Linux servers.”

Read more at W3Techs
This is a follow up post to Fight Spam With #ASSP (Anti-Spam SMTP Proxy) On CentOS 5.4. If you haven’t already installed ASSP do so before continuing with this How To and remember that you need a working installation of Microsoft Exchange 2007 Server as well. This How To can be implemented on a live Microsoft Exchange 2007 server while it’s running. Leave the original ports (25 In and 25 Out, OWA and/or internal usage ports) alone and create new ones. Once you’re ready to go simply activate the new ports, then deactivate the original ports, your users will never see a glitch in service and will make rolling back just as seamless.
Preliminary Note:
I am using a CentOS 5.4 i386 base installation with ASSP (Anti-Spam SMTP Proxy) and Microsoft Exchange 2007 Server already installed and configured in this tutorial.
* assp001.example.co.za (IP 10.0.0.100): CentOS 5.4 i386 ASSP installation Continue reading »
* exchange001.example.co.za (IP 10.0.0.101): Microsoft Exchange 2007 server
The Anti-Spam SMTP Proxy (ASSP) server project is an Open Source, Perl based, platform-independent transparent SMTP proxy server that leverages numerous methodologies and technologies to both rigidly and adaptively identify e-mail spam. ASSP is easy to set up because it requires only minor changes to the configuration of your your Mail Transfer Agent.
Also please read the ASSP documentation
Preliminary Note
In this tutorial I use a base 32 bit server install with the hostname server1.example.co.za with the IP address 10.0.0.10. These settings might differ for you, so you have to replace them where appropriate.
Adjust any package names if installing the EL4 or 64 bit packages. If any dependencies are unsatisfied, install the required packages and retry Continue reading »


