2-stop service sendmail and httpd(if you had installed these services)
#service sendmail stop
#service httpd stop
#chkconfig --level 2345 sendmail off
#chkconfig --level 2345 httpd off
3-configure the hosts file
#vi /etc/hosts (enter text below)
127.0.0.1 localhost.localdomain localhost
192.168.74.106 mailServer.not-late.com mailserver
4- configure resolv.conf file
#vi /etc/resolv.conf (enter text below, then save and exit)
nameserver 192.168.74.106
5- configure DNS or named.conf file (see this link: http://not-late.blogspot.com/2010/11/dns-bind-on-red-hat-linux-enterprise-5.html) make sure you can start and stop your named service
6- add record to named.conf file
#vi /etc/named.conf (enter text below at the bottom of your named file, then save and exit)
zone "not-late.com" IN {
type master;
file "not-late.fz.db";
};
zone "74.168.192.in-addr.arpa" IN {
type master;
file "not-late.rev.db";
};
7- create database zone file in /var/named/
7.a- create forward zone file
#vi /var/named/not-late.fz.db (enter text below, then save and exit)
$TTL 86400 @ IN SOA mailserver.not-late.com. root.not-late.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS not-late.com.
IN A 192.168.74.106
IN MX 10 not-late.com.
7.b create reverse zone file
#vi /var/named/not-late.rev.db (enter text below, then save and exit)
$TTL 86400 @ IN SOA mailserver.not-late.com. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS not-late.com.
106 IN PTR not-late.com.
8-Restart named service ( the result must be OK)
#service named restart
9- Testing your DNS to make sure it works
#dig not-late.com mx (Answer must be 1)
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> not-late.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18904
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;not-late.com. IN MX
;; ANSWER SECTION:
not-late.com. 86400 IN MX 10 not-late.com.
;; AUTHORITY SECTION:
not-late.com. 86400 IN NS not-late.com.
;; ADDITIONAL SECTION:
not-late.com. 86400 IN A 192.168.74.107
;; Query time: 32 msec
;; SERVER: 192.168.74.100#53(192.168.74.100)
;; WHEN: Tue Dec 14 22:08:03 2010
;; MSG SIZE rcvd: 76
10-Testing Reverse DNS
#host 192.168.74.106 (result look similar below)
106.74.168.192.in-addr.arpa domain name pointer not-late.com.
11- Download Zimbra from zimbra web site:
12- unpacking the file you just downloaded to wherever you want
#tar -xzvf zcs-6.0.8_GA_2661.RHEL5_64.20100820052503.tgz -C /tmp13-From within the /tmp directory there is a file called install.sh. This is the file that will launch the installer for Zimbra.
#./install.sh14- Follow the installation instruction will go through to the end of setup.
No comments:
Post a Comment