`
seven.yu
  • 浏览: 32672 次
  • 性别: Icon_minigender_2
  • 来自: 沈阳
社区版块
存档分类
最新评论

[转 改]Zimbra 8.0顶级开源邮局解决方案实战

阅读更多

[经验] 【多图】Zimbra 8.0顶级开源邮局解决方案实战 

[复制链接]
   

59

主题

0

好友

297

积分

Lord

Rank: 3Rank: 3


楼主
 
 发表于 2013-4-8 19:05:18 |只看该作者 |倒序浏览
本帖最后由 ovh 于 2013-4-8 19:29 编辑

Zimbra是vmware公司的办公协同解决方案简称zcs,和微软的exchange server一样,不同的是Zimbra运行在linux平台下,开源免费。比起exchange server高额的授权费Zimbra优势显而易见,不过说实在exchangle整合公司的域管理还是很好的,。不过zimbra也不弱比国内的邮局系统强大太多了

还有重要的一点exchange server没4GB内存你还是别装了。卡到你升天ovh测试过。一台16g服务器就只装一个exchange server 2010开机后用了3.6GGB内存

今天ovh和大家一起来安装zimbra试验。
  1. 试验环境
  2. centos 6.3 64bit
  3. 512M ram
  4. 5GB hdd
  5. 1 IPv4
  6. zimbra 8.0.3 GA Release 
复制代码
1.首先我们下载zimbra 8.0.3 GA Release 
wget http://files2.zimbra.com/downloads/8.0.3_GA/zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408164526.png 

2.解压安装包
tar zxvf zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz

3.安装一下基本包
yum install fprintd-pam libstdc++.i686 nc file sysstat
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408164950.png 


4.进入zcs安装目录
cd zcs-8.0.3_GA_5664.RHEL6_64.20130305090204

5.启动安装脚本
./install.sh --platform-override

6.同意软件协议
Do you agree with the terms of the software license agreement? [N] y
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408165443.png 

7.继续安装Do you wish to continue? [N] y
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408165618.png
  1. Checking for prerequisites...
  2.      FOUND: NPTL
  3.      MISSING: nc
  4.      FOUND: sudo-1.7.4p5-7
  5.      FOUND: libidn-1.18-2
  6.      FOUND: gmp-4.3.1-7
  7.      FOUND: /usr/lib64/libstdc++.so.6
  8. Checking for suggested prerequisites...
  9.      FOUND: perl-5.10.1
  10.      MISSING: sysstat does not appear to be installed.
  11.      FOUND: sqlite
  12. ###WARNING###
  13. ###ERROR###
  14. One or more prerequisite packages are missing.
  15. Please install them before running this installer.
  16. Installation cancelled.
复制代码
依赖包没装好

提示sysstat和nc没有安装我们现在安装他
yum -y install sysstat
yum -y install nc

我们再次执行安装脚本
./install.sh --platform-override


8.确认安装
Install zimbra-ldap [Y] y 
Install zimbra-logger [Y] y
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408170653.png 

悲剧了。我的硬盘只有5GB装不了。装完系统只剩下3G了。
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408170821.png 

看来要换台机子试验了
  1. 再次试验,换了新的服务器
  2. 环境如下
  3. centos 6.2 64bit
  4. 1GB ram
  5. 100G HDD
  6. 1 IPv4
  7. zimbra 8.0.3 GA Release
复制代码
上面说过的我就不写了。直接从第8步开始写
这个是6.2我更新下系统
yum -y update

如果提示主机名和ip不对请
vi /etc/hosts
在最下面加一条格式为
你的ip地址 空格空格空格主机玉米   如
157.7.129.98      zcs.hostoc.com

9.再次确认
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408180110.png 

The system will be modified.  Continue? [N]y


10.开始安装了(会自动删除已安装的Zcs)  等待中

he system will be modified.  Continue? [N] y

Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Server.
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408180238.png 
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408180347.png 


11.提示是否更改主机名Change hostname [Yes] no
如果你之前设置好了主机名就输入no,如果之前没有修正主机名就选yes,我之前改过主机名了所以直接no

DNS ERROR resolving MX for zcs.hostoc.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]

我之前没有把玉米解析到服务器所以出现了这个提示。问你是否修正玉米,当然no

提示端口冲突了
Checking for port conflicts
Port conflict detected: 25 (zimbra-mta)
Port conflict detected: 25 (zimbra-mta)
我们把mat服务关掉(这里可以再开一个ssh连接到服务器执行以下命令,这样免得退出安装)
chkconfig postfix off

显示
Port conflicts detected! - Press Enter/Return key to continue
按回车键继续  等待一会
出现了菜单如下
Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@zcs.hostoc.com          
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.syn6oyin@zcs.hostoc.com
        +Enable automated spam training:       yes                           
        +Spam training user:                   spam.t5r33iun1e@zcs.hostoc.com
        +Non-spam(Ham) training user:          ham.7teia5gmd@zcs.hostoc.com  
        +SMTP host:                            zcs.hostoc.com                
        +Web server HTTP port:                 80                            
        +Web server HTTPS port:                443                           
        +Web server mode:                      https                         
        +IMAP server port:                     7143                          
        +IMAP server SSL port:                 7993                          
        +POP server port:                      7110                          
        +POP server SSL port:                  7995                          
        +Use spell check server:               yes                           
        +Spell server URL:                     http://zcs.hostoc.com:7780/aspell.php
        +Enable version update checks:         TRUE                          
        +Enable version update notifications:  TRUE                          
        +Version update notification email:    admin@zcs.hostoc.com          
        +Version update source email:          admin@zcs.hostoc.com          

   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-logger:                           Enabled                       
   7) zimbra-spell:                            Enabled                       
   8) zimbra-proxy:                            Enabled                       
   9) Default Class of Service Configuration:                                
   r) Start servers after configuration        yes                           
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

Address unconfigured (**) items  (? - help)  
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408182217.png 


12.Address unconfigured (**) items  (? - help) 输入2回车
然后设置4到9的甩的密码密码
设置方法输入4回车然后输入密码回车
设置方法输入5回车然后输入密码回车
设置方法输入5回车然后输入密码回车
....以此

<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408183207.png 


13.该设置的设置了到主菜单按a回车输入yes再回车等待
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408184400.png 

然后你就等啊等
最后显示Starting servers..了还要等

最后提示Notify Zimbra of your installation? [Yes]直接yes回车


最后你看到Configuration complete - press return to exit  表示安装成功了
按回车
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408185536.png 


打开https://zcs.hostoc.com/

可以登录了
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408190204.png 

<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408190446.png 
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408190420.png 
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408190401.png 
<ignore_js_op style="word-wrap: break-word; outline: none;">QQ截图20130408190453.png 

mta stopped postfix is not running zimbra

mta     Stopped  postfix is not running
如果mat无法启动请执行
service postfix stop
再执行service zimbra restart
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics