您的位置:首页 > 运维架构 > Linux

CentOS 6.x 下的 zimbra 8.0.9 邮件系统安装 -1

2015-01-21 00:00 316 查看
摘要: CentOS 6.x 下的 zimbra 邮件系统安装
一步一步 安装 zimbra

环境-CentOS 6.x BasicServer,已经更新(yum update,可不做)

系统基本需求 4-8G ram. 2GHz CPU or higher.

我用虚拟机测试,装起来不管性能,那么4G随便玩玩吧

[root@mail ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 yi-ex.com mail
192.168.10.21 yi-ex.com mail
[root@mail ~]# hostname
mail
[root@mail ~]# uname -a
Linux mail 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


关闭 selinux


配置 iptables

# enable zimbra ports
-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCEPT -s 10.10.10.0/24
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 465 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 993 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 995 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5222 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7071 -j ACCEPT -s 10.10.10.0/24
-A INPUT -m state --state NEW -m tcp -p tcp --dport 873 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7110 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7780 -j ACCEPT


获取免费版zimbra 8.0.9

使用 wincp上传到 Linux服务器,并解压缩

[root@mail ~]# ll
total 806668
-rw-r--r--. 1 root root      1405 Jan 22 00:49 \
-rw-------. 1 root root      1471 Jan 21 19:29 anaconda-ks.cfg
-rw-r--r--. 1 root root     26505 Jan 21 19:29 install.log
-rw-r--r--. 1 root root      7572 Jan 21 19:28 install.log.syslog
drwxrwxr-x. 7  503  503      4096 Nov  4 06:51 zcs-8.0.9_GA_6191.RHEL6_64.20141103151557
-rw-r--r--. 1 root root 825970392 Jan 21 15:59 zcs-8.0.9_GA_6191.RHEL6_64.20141103151557.tgz
[root@mail ~]#
[root@mail ~]#
[root@mail ~]#
[root@mail ~]# cd zcs-8.0.9_GA_6191.RHEL6_64.20141103151557
[root@mail zcs-8.0.9_GA_6191.RHEL6_64.20141103151557]# ll
total 52
drwxrwxr-x. 2 503 503 4096 Nov  4 06:51 bin
drwxrwxr-x. 2 503 503 4096 Nov  4 06:51 data
drwxrwxr-x. 3 503 503 4096 Nov  4 06:51 docs
-rwxr-xr-x. 1 503 503 8308 Nov  4 06:51 install.sh
drwxrwxr-x. 2 503 503 4096 Nov  4 06:52 packages
-r--r--r--. 1 503 503  369 Nov  4 06:51 readme_binary_en_US.txt
-r--r--r--. 1 503 503 8575 Nov  4 06:51 readme_source_en_US.txt
-r--r--r--. 1 503 503  428 Nov  4 06:51 README.txt
drwxrwxr-x. 3 503 503 4096 Nov  4 06:51 util


执行 install.sh centos使用redhat安装包,所以安装要添加参数–platform-override

./install.sh --platform-override


遇错

Checking for prerequisites...
FOUND: NPTL
MISSING: nc
FOUND: sudo-1.8.6p3-15
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: /usr/lib64/libstdc++.so.6

Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite

###ERROR###

One or more prerequisite packages are missing.
Please install them before running this installer.

Installation cancelled.


原来需要安装一下基本包

yum  -y install libidn11 curl fetchmail libpcre3 libgmp3c2 libxml2 libstdc++6 openssl perl sysstat libtool-ltdl compat-libstdc* nc  file


安装好以后,再来一次

Checking for prerequisites...
FOUND: NPTL
FOUND: nc-1.84-22
FOUND: sudo-1.8.6p3-15
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: /usr/lib64/libstdc++.so.6

Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
Prerequisite check complete.

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
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] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached
y

Install zimbra-proxy
y
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
zimbra-memcached
zimbra-proxy

The system will be modified.  Continue?


通过,继续安装,我用的是虚拟机,安装完成保存镜像!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  zimbra linux mailbox