1、ubuntu zimbraUbuntu 8.04 Server下安装Zimbra6.07教程 Ubuntu 8.04 Server下安装Zimbra6.07教程 简介Zimbra提供一套开源协同办公套件包括WebMail,日历,通信录,Web文档管理和创作。它最大的特色在于其采用Ajax技术模仿CS桌面应用软件的风格,开发的客户端兼容Firefox,Safari和IE浏览器。与其他主流的开源Webmail(如Extmail)相比,支持会话功能是其主要特色,这一点与google的gmail非常相似。背景内网邮件服务器内网DNS解析邮箱域名的mx记录,并把解析到192.168.*.*在公司出口ip
2、上做端口映射,公网访问出口IP的25和110的请求,通过网关转发到内网192.168.3.193服务器上。一个出口ip只用于一个域名的mx记录。具体过程需要在网络层上进行修改,不详细叙述。1、配置perl版本为5.8如果你的ubunut是10.04版本的话,就需要把原来的perl版本卸载掉,因为版本太高。在zimbra中写定了使用的perl版本号是5.8,所以需要安装perl5.82、安装bind9并配置hosts这一步非常重要#apt-get install bind9配置bind#vi /etc/bind/name.conf添加如下内容zone type master; file /etc
3、/bind/;zone 3.168.192.in-addr.arpa type master; file /etc/bind/db.192.168.3;# vi /etc/bind/内容为:;BIND reverse data file for empty rfc1918 zone; DO NOT EDIT THIS FILE - it is used for multiple zones.; Instead, copy it, edit named.conf, and use that copy.;$TTL 86400 IN SOA . . ( 1 ; Serial 604800 ; Ref
4、resh 86400 ; Retry 2419200 ; Expire 86400 ) ; Negative Cache TTL; IN NS mail IN MX 10 mail IN A 192.168.3.193mail IN A 192.168.3.193#vi /etc/bind/db.192.168.3内容为:;BIND reverse data file for empty rfc1918 zone; DO NOT EDIT THIS FILE - it is used for multiple zones.; Instead, copy it, edit named.conf,
5、 and use that copy.;$TTL 86400 IN SOA . . ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 86400 ) ; Negative Cache TTL; IN NS .193IN PTR .#/etc/init.d/bind9 restart测试bind配置#nslookup server Default server: Address: 192.168.3.193#53就ok了3、vi /etc/network/interfaces# This file describes the
6、 network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceauto eth0iface eth0 inet static address 192.168.3.193 netmask 255.255.255.0 network 192.168.3.0
7、broadcast 192.168.3.255 gateway 192.168.3.1这个东西改成我这样,很好改 ifconfig看一下就可以了,就是给服务器一个固定模式的IP4、 /etc/init.d/networking restart5、vi /etc/hosts127.0.0.1 localhost.localdomain localhost192.168.3.193 mail6、echo /etc/hostname5跟6的DNS要一样啊,这是安装前准备的关键。7、reboot8、hostnamehostname -f看一下 这两个回显是不是都是你设置的DNS,是你就OK了。9、rm
8、 -f /bin/shln -s /bin/bash /bin/sh务必执行,否则安装会出错 官方有提到。10、apt-get install curl fetchmail libpcre3 libgmp3c2 libstdc+5 libexpat1 libxml2 libtie-ixhash-perl libperl5.8 sysstat11、tar -zxvf zcs-NETWORK-6.0.7_GA_2473.UBUNTU8_64.20100616200923.tgz./install.sh -l ZCSLicense.xml (如是centos加platform-override参数)
9、Operations logged to /tmp/install.log.17520 Checking for existing installation zimbra-ldapNOT FOUND zimbra-loggerNOT FOUND zimbra-mtaNOT FOUND zimbra-snmpNOT FOUND zimbra-storeNOT FOUND zimbra-apacheNOT FOUND zimbra-spellNOT FOUND zimbra-convertdNOT FOUND zimbra-memcachedNOT FOUND zimbra-proxyNOT FO
10、UND zimbra-archivingNOT FOUND zimbra-clusterNOT FOUND zimbra-coreNOT FOUND PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. (ZIMBRA) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING
11、 THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT. License Terms for the Zimbra Collaboration Suite: Press Return to continue #这时要按回车继续安装 Checking for prerequisites FOUND: NPTL F
12、OUND: sudo-1.7.2p1-6 FOUND: libidn-0.6.5-1.1 FOUND: gmp-4.1.4-10 FOUND: /usr/lib64/libstdc+.so.6 Checking for suggested prerequisites FOUND: perl-5.8.8 FOUND: sysstat Prerequisite check complete. Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-m
13、ta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-memcached Found zimbra-proxy Select the packages to install Install zimbra-ldap Y #按回车 Install zimbra-logger Y #按回车 Install zimbra-mta Y #按回车 Install zimbra-snmp Y #按回车 Install zimbra-store Y #按回车 Install zim
14、bra-apache Y #按回车 Install zimbra-spell Y #按回车 Install zimbra-memcached N #按回车 Install zimbra-proxy N #按回车 Checking required space for zimbra-core checking space for zimbra-store Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell You appea
15、r to be installing packages on a platform different than the platform for which they were built. This platform is CentOS5_64 Packages found: RHEL5_64 This may or may not work. Using packages for a platform in which they were not designed for may result in an installation that is NOT usable. Your sup
16、port options may be limited if you choose to continue. Install anyway? N y #按y继续 The system will be modified. Continue? N y #按y继续 下面将自动进行安装,需要等待几分钟。 Removing /opt/zimbra Removing zimbra crontab entrydone. done. Cleaning up zimbra init scriptsdone. Cleaning up /etc/ld.so.confdone. Cleaning up /etc/pr
17、elink.confdone. Cleaning up /etc/security/limits.confdone. Finished removing Zimbra Collaboration Suite. Installing packages zimbra-corezimbra-core-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-ldapzimbra-ldap-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-loggerzimbra-log
18、ger-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-mtazimbra-mta-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-snmpzimbra-snmp-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-storezimbra-store-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-apachezi
19、mbra-apache-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone zimbra-spellzimbra-spell-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpmdone Operations logged to /tmp/zmsetup.06112010-181038.log Installing LDAP configuration databasedone. Setting defaults MX: (72.14.213.27) Interface: 192.168.18.2
20、33 Interface: 127.0.0.1 72.14.213.27 72.14.213.27 DNS ERROR none of the MX records for resolve to this host Change domain name? Yes no #这里输入no,因为我用的内网 ip,dns mx解析错误,前面正确配置mx记录不会有这步出现 done. Checking for port conflicts Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled
21、 +Create Admin User: yes +Admin user to create: admin * +Admin Password UNSET +Enable automated spam training: yes +Spam training user: spam.d3gxukir +Non-spam(Ham) training user: ham.kd7okjvhth +Global Documents Account: wiki +SMTP host: +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web se
22、rver mode: http +IMAP server port: 143 +IMAP server SSL port: 993 +POP server port: 110 +POP server SSL port: 995 +Use spell check server: yes +Spell server URL: :7780/aspell.php +Configure for use with mail proxy: FALSE +Configure for use with web proxy: FALSE +Enable version update checks: TRUE +E
23、nable version update notifications: TRUE +Version update notification email: admin +Version update source email: admin 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled 8 ) Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1