码迷,mamicode.com
首页 > 其他好文 > 详细

centos7 下安装zimbra all in one系统

时间:2017-03-12 15:23:21      阅读:729      评论:0      收藏:0      [点我收藏+]

标签:setting   end   mct   block   service   gre   UI   maps   float   

Install Zimbra 8.7 on CentOS7 all in one server

We will look into installing Zimbra 8.7 on a single server.  All components like Zimbra LDAP, MTA , mailbox server will be installed on single instance of CentOS 7

Preparation:
Installed CentOS 7 minimal
Set selinux to permissive

#vi /etc/selinux/config
SELINUX=permissive

Disable Firewall for now.

#systemctl disable firewalld

Patch the system with latest updates

#yum update -y

Set the hostname

systemctl set-hostname zimbra.local
vi /etc/hosts
x.x.x.x    zimbra.local

Disable postfix

#systemctl disable postfix

Reboot the system

Dependencies:

#yum install perl perl-core ntpl nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite -y

Installation:
Download Zimbra from https://www.zimbra.com/downloads/zimbra-collaboration-open-source/
1. Unpack the file

tar xzvf zcs-8.7.0_GA_1659.RHEL7_64.20160628202714.tgz 

2. cd into zcs.. directory

cd zcs-8.7.0_GA_1659.RHEL7_64.20160628202714

3. Run installation script

./install

Make correct selections on the menu

Do you agree with the terms of the software license agreement? [N] Y




Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy



Use Zimbra‘s package repository [Y] Y
Importing Zimbra GPG key
Configuring package repository

Select the packages to install

Install zimbra-ldap [Y] Y

Install zimbra-logger [Y] Y

Install zimbra-mta [Y] Y

Install zimbra-dnscache [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] Y

Install zimbra-proxy [Y] Y
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-dnscache
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

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

At the end you will get menu with configuration. Make sure you change all required password and take a node of all configuration settings.

Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@zimbra.yourdomain.com     
   4) Admin Password                           set                           
   5) Anti-virus quarantine user:              virus-quarantine.agpsmw6fs_@zimbra.yourdomain.com
   6) Enable automated spam training:          yes                           
   7) Spam training user:                      spam.6bdfx0psh0@zimbra.yourdomain.com
   8) Non-spam(Ham) training user:             ham.iaasvkge@zimbra.yourdomain.com
   9) SMTP host:                               zimbra.yourdomain.com           
  10) Web server HTTP port:                    8080                          
  11) Web server HTTPS port:                   8443                          
  12) Web server mode:                         https                         
  13) IMAP server port:                        7143                          
  14) IMAP server SSL port:                    7993                          
  15) POP server port:                         7110                          
  16) POP server SSL port:                     7995                          
  17) Use spell check server:                  yes                           
  18) Spell server URL:                        http://zimbra.yourdomain.com:7780/aspell.php
  19) Enable version update checks:            TRUE                          
  20) Enable version update notifications:     TRUE                          
  21) Version update notification email:       admin@zimbra.yourdomain.com     
  22) Version update source email:             admin@zimbra.yourdomain.com     
  23) Install mailstore (service webapp):      yes                           
  24) Install UI (zimbra,zimbraAdmin webapps): yes                           

Select, or ‘r‘ for previous menu [r] r

Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-dnscache:                         Enabled                       
   6) zimbra-snmp:                             Enabled                       
   7) zimbra-store:                            Enabled                       
   8) zimbra-spell:                            Enabled                       
   9) zimbra-proxy:                            Enabled                       
  10) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

*** CONFIGURATION COMPLETE - press ‘a‘ to apply
Select from menu, or press ‘a‘ to apply config (? - help) 

Press a to apply the changes.

 

Migrating mailboxes to your new server

If you need to migrate mailboxes from your old mail server you will need to first install tool called imapsync

On a CentOS 7

centos7 下安装zimbra all in one系统

标签:setting   end   mct   block   service   gre   UI   maps   float   

原文地址:http://www.cnblogs.com/share-wu/p/6537833.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!