CentOS 7
Sponsored Link

Zimbra : インストール2015/06/23

 
グループウェア Zimbra のオープンソース版のインストールです。
前提として、Zimbra 用の HTTP サーバーや MAIL サーバー, LDAP サーバー等々がインストールされるため、競合するサービスは事前に止めておく必要があります。
また、Zimbra をインストールするホストは DNS に A レコードと MXレコードの双方を登録済みで、正常に名前解決できるようにしておく必要があります。
[1] Zimbra のインストールです。ダウンロードするファイルは最新版を確認してダウンロードしてください。
⇒ https://www.zimbra.com/downloads/zimbra-collaboration-open-source
# 必要なパッケージをインストール

[root@mail ~]#
yum -y install perl-core unzip libaio nmap-ncat sysstat openssh-clients
# 自身のホスト名を hosts に登録 (インストーラーで要求される)

[root@mail ~]#
echo "10.0.0.32   mail.srv.world mail" >> /etc/hosts

[root@mail ~]#
wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz

[root@mail ~]#
tar zxvf zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz

[root@mail ~]#
cd zcs-8.6.0_GA_1153.RHEL7_64.20141215151110

# インストールスクリプト実行

[root@mail zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]#
./install.sh


Operations logged to /tmp/install.log.981
Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT 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 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:
  http://www.zimbra.com/license/zimbra-public-eula-2-5.html

Do you agree with the terms of the software license agreement? [N]
y
 
# Yes

Checking for prerequisites...
     FOUND: NPTL
     FOUND: nmap-ncat-6.40-4
     FOUND: sudo-1.8.6p7-13
     FOUND: libidn-1.28-3
     FOUND: gmp-6.0.0-11
     FOUND: libaio-0.3.109-12
     FOUND: libstdc++-4.8.3-9
     FOUND: unzip-6.0-15
     FOUND: perl-core-5.16.3-285

Checking for suggested prerequisites...
     FOUND: perl-5.16.3
     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-dnscache
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]    
# デフォルトのままEnter
Install zimbra-logger [Y]    
# デフォルトのままEnter
Install zimbra-mta [Y]    
# デフォルトのままEnter
Install zimbra-dnscache [Y]    
# デフォルトのままEnter
Install zimbra-snmp [Y]    
# デフォルトのままEnter
Install zimbra-store [Y]    
# デフォルトのままEnter
Install zimbra-apache [Y]    
# デフォルトのままEnter
Install zimbra-spell [Y]    
# デフォルトのままEnter
Install zimbra-memcached [Y]    
# デフォルトのままEnter
Install zimbra-proxy [Y]    
# デフォルトのままEnter
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
 
# Yes
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.

zimbra-core......zimbra-core-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-ldap......zimbra-ldap-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-logger......zimbra-logger-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-mta......zimbra-mta-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-dnscache......zimbra-dnscache-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-snmp......zimbra-snmp-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-store......zimbra-store-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-apache......zimbra-apache-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-spell......zimbra-spell-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-memcached......zimbra-memcached-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
    zimbra-proxy......zimbra-proxy-8.6.0_GA_1153.RHEL7_64-20141215151110.x86_64.rpm...done
Operations logged to /tmp/zmsetup06252015-115111.log
Installing LDAP configuration database...done.
Setting defaults...sh: /sbin/ifconfig: No such file or directory
        MX: mail.srv.world (10.0.0.32)

        Interface: 127.0.0.1
        Interface: ::1
        Interface: 10.0.0.32
                10.0.0.32
                10.0.0.32
                10.0.0.32
done.
Checking for port conflicts
sh: netstat: command not found

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
        +Create Admin User:                    yes
        +Admin user to create:                 admin@mail.srv.world
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.cbap_dnem@mail.srv.world
        +Enable automated spam training:       yes
        +Spam training user:                   spam.vocn6h9n4@mail.srv.world
        +Non-spam(Ham) training user:          ham.6fmh7skfeq@mail.srv.world
        +SMTP host:                            mail.srv.world
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +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://mail.srv.world:7780/aspell.php
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@mail.srv.world
        +Version update source email:          admin@mail.srv.world
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes

   8) zimbra-spell:                            Enabled
   9) zimbra-proxy:                            Enabled
  10) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit

Address unconfigured (**) items (? - help)
7
 
# 「7」を選択
Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@mail.srv.world
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.cbap_dnem@mail.srv.world
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vocn6h9n4@mail.srv.world
   8) Non-spam(Ham) training user:             ham.6fmh7skfeq@mail.srv.world
   9) SMTP host:                               mail.srv.world
  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://mail.srv.world:7780/aspell.php
  19) Enable version update checks:            TRUE
  20) Enable version update notifications:     TRUE
  21) Version update notification email:       admin@mail.srv.world
  22) Version update source email:             admin@mail.srv.world
  23) Install mailstore (service webapp):      yes
  24) Install UI (zimbra,zimbraAdmin webapps): yes

Select, or 'r' for previous menu [r]
4
 
# 「4」を選択して管理者パスワードを設定
Password for admin@srv.world (min 6 characters): [xFuoltBR]
password
 
# パスワード設定

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@mail.srv.world
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.cbap_dnem@mail.srv.world
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vocn6h9n4@mail.srv.world
   8) Non-spam(Ham) training user:             ham.6fmh7skfeq@mail.srv.world
   9) SMTP host:                               mail.srv.world
  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://mail.srv.world:7780/aspell.php
  19) Enable version update checks:            TRUE
  20) Enable version update notifications:     TRUE
  21) Version update notification email:       admin@mail.srv.world
  22) Version update source email:             admin@mail.srv.world
  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)
a
   
# 変更を反映

Save configuration data to a file? [Yes]    
# デフォルトでEnter

Save config in file: [/opt/zimbra/config.11028]    
# デフォルトでEnter

Saving config in /opt/zimbra/config.11028...done.
The system will be modified - continue? [No]
y
   
# Yes

Operations logged to /tmp/zmsetup06252015-115111.log
Setting local config values...done.
Initializing core config...Setting up CA...done.

.....
.....

Notification complete

Setting up zimbra crontab...done.

Moving /tmp/zmsetup06252015-115111.log to /opt/zimbra/log

Configuration complete - press return to exit
関連コンテンツ