CentOS 7.0 安装 ZCS 8.6.0

简介:
+关注继续查看
简介


Zimbra的核心产品是Zimbra协作套件(Zimbra Collaboration Suite,简称ZCS)。除了它的核心功能是电子邮件和日程安排服务器,当然还包括许多其它的功能,就象是下一代的微软Exchange。在电子邮件和日程安排之外,它还提供文档存储和编辑、即时消息以及一个利用获奖技术开发的全功能的管理控制台。ZCS同时也提供移动设备的支持,以及与部署于Windows、Linux或Apple操作系统中的桌面程序的同步功能。ZCS 8.6 带来了新的特性,改善邮件服务器,它提供了一个更好的web客户端体验。

环境

系统:Centos7 ip地址:192.168.1.109

安装前准备
1.关闭SELINUX并清空iptable规则
# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
# yum -y install iptables-services
# iptables -F
# iptables -X
# iptables -z
# service iptables save
# reboot
2.配置主机名
# hostnamectl set-hostname mail.zimbra.com
# echo "192.168.1.109  mail.zimbra.com" >> /etc/hosts
3.安装zimbra所需要的包和库
# yum -y update
# yum -y install perl perl-core nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite nc
4.关闭安装的MTA服务
# systemctl stop postfix.service
# systemctl disable postfix.service
配置dns服务器
1.安装bind
# yum -y install bind bind-utils
2.修改主配置文件
vim /etc/named.conf
添加下面的配置:
zone "zimbra.com" IN {
        type master;
        file "zimbra.com";
        allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "192.168.1.arpa";
        allow-update { none; };
};
2.配置区域配置文件
# vim /var/named/zimbra.com

$TTL 1D
@	IN SOA	@ rname.invalid. (
					0	; serial
					1D	; refresh
					1H	; retry
					1W	; expire
					3H )	; minimum
	NS	ns.zimbra.com.
	MX 10	mail.zimbra.com.
ns	A	192.168.1.109
mail	A	192.168.1.109

# vim /var/named/192.168.1.arpa

$TTL 1D
@       IN SOA  @ rname.invalid. (
                                        0       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
        NS      ns.zimbra.com.
109     PTR     ns.zimbra.com.
109     PTR     mail.zimbra.com.
3.重启bind
# systemctl restart named.service
4.使用本地dns服务器
# echo "nameserver 127.0.0.1" >> /etc/resolv.conf
安装zimbra
1.下载zimbra
# wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz
2.解压压缩包并修改文件夹名
# tar -zxvf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110
# mv zcs-8.6.0_GA_1153.RHEL7_64.20141215151110 zimbra
3.运行脚本开始安装zimbra
# cd zimbra
# ./install.sh --platform-override

Operations logged to /tmp/install.log.2744
Checking for existing installation...
     ...
     ...
Do you agree with the terms of the software license agreement? [N] y
     ...
     ...
Install zimbra-ldap [Y] 

Install zimbra-logger [Y] 

Install zimbra-mta [Y] 

Install zimbra-dnscache [Y] n

Install zimbra-snmp [Y] 

Install zimbra-store [Y] 

Install zimbra-apache [Y] 

Install zimbra-spell [Y] 

Install zimbra-memcached [Y] 

Install zimbra-proxy [Y] 
     ...
     ...
The system will be modified.  Continue? [N] y
     ...
     ...
DNS ERROR resolving MX for mail.zimbra.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] 
Create domain: [mail.zimbra.com] zimbra.com
	MX: mail.zimbra.com (192.168.1.109)

	Interface: 127.0.0.1
	Interface: ::1
	Interface: 192.168.1.109
done.
Checking for port conflicts

Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@zimbra.com              
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.vhwa2pqsa7@zimbra.com
     ...
     ... 
Address unconfigured (**) items  (? - help) 6

Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@zimbra.com              
** 4) Admin Password                           UNSET                                           
     ...
     ...                     
Select, or 'r' for previous menu [r] 4

Password for admin@zimbra.com (min 6 characters): [5okG5xTdX] 123456

Store configuration
     ...    
Select, or 'r' for previous menu [r] r
     ...
     ...
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] 
Save config in file: [/opt/zimbra/config.11982] 
Saving config in /opt/zimbra/config.11982...done.
The system will be modified - continue? [No] yes
     ...
     ...
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.

Moving /tmp/zmsetup04082016-205457.log to /opt/zimbra/log

Configuration complete - press return to exit 
4.启动zimbra并查看状态
# su - zimbra        //切换到zimbra用户
# zmcontrol start    //启动zimbra

# zmcontrol status   //查看启动状态
# zmcontrol stop     //停止zimbra

查看zimbra启动状态

5.访问管理页面测试

访问zimbra管理页面,在浏览器输入:

https://192.168.1.109:7071


访问zimbra客户端,在浏览器输入:

https://192.168.1.109



本文转自Linux就该这么学博客园博客,原文链接:http://www.cnblogs.com/linuxprobe/p/5371585.html,如需转载请自行联系原作者

相关文章
|
9天前
|
Ubuntu Linux
debian/rehhat/linux/centos/ubuntu 安装IDEA
debian/rehhat/linux/centos/ubuntu 安装IDEA
34 0
|
20天前
|
存储 缓存 Linux
如何在 CentOS 8 上安装 OpenCV?
OpenCV 的用途非常广泛,包括医学图像分析,拼接街景图像,监视视频,检测和识别面部,跟踪运动对象,提取 3D 模型等等。
28 0
|
26天前
|
Java Linux
终于有人把内网centos安装libreoffice步骤说清楚了
终于有人把内网centos安装libreoffice步骤说清楚了
98 0
|
27天前
|
Java Linux Maven
centos安装Maven教程
centos安装Maven教程
32 0
|
27天前
|
消息中间件 监控 Java
手把手教你 centos 7 安装RabbitMQ
手把手教你 centos 7 安装RabbitMQ
45 1
|
1月前
|
网络协议 安全 Linux
如何在 CentOS 8 上安装和配置配置服务器防火墙 (CSF)?
如何在 CentOS 8 上安装和配置配置服务器防火墙 (CSF)?
48 0
如何在 CentOS 8 上安装和配置配置服务器防火墙 (CSF)?
|
2月前
|
Linux 应用服务中间件 nginx
Docker在Centos上的安装
Docker是一个划时代开源项目,使用Docker让应用的部署、测试和发布都变得十分便捷。 不论是应用开发人员、运维人员、还是其他的技术人员都有必要认识和掌握Docker,节约资源。本系列以Docker实战为主,具体Docker的定义名称请自行进行百度查找。
60 0
|
2月前
|
大数据 Linux 网络安全
VirtualBox虚拟机里安装centos和虚拟机相互通讯和访问外网
VirtualBox虚拟机里安装centos和虚拟机相互通讯和访问外网
VirtualBox虚拟机里安装centos和虚拟机相互通讯和访问外网
|
2月前
|
安全 Linux 网络安全
centos 安装Libreswan的详细步骤
安装和配置 Libreswan 在 CentOS 上,可以按照以下步骤进行操作: 1. 更新系统: ``` sudo yum update ``` 2. 安装 Libreswan: ``` sudo yum install libreswan ``` 3. 配置 IPsec: - 打开主配置文件: ``` sudo vi /etc/ipsec.conf ``` - 添加以下内容: ``` config setup # 配置选项... # 第一个连接
|
2月前
|
人工智能 运维 Java
CentOS安装JDK
CentOS安装JDK
相关产品
云迁移中心
推荐文章
更多