CentOS 6
Sponsored Link

Zimbra : インストール2015/04/02

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

[root@mail ~]#
yum -y install unzip libaio nc 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.RHEL6_64.20141215151155.tgz

[root@mail ~]#
tar zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz

[root@mail ~]#
cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155

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

[root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]#
./install.sh


Operations logged to /tmp/install.log.1121
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: 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: libstdc++-4.4.7-11
     FOUND: unzip-6.0-2

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-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

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.

Installing packages

    zimbra-core......zimbra-core-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-ldap......zimbra-ldap-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-logger......zimbra-logger-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-mta......zimbra-mta-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-snmp......zimbra-snmp-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-store......zimbra-store-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-apache......zimbra-apache-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-spell......zimbra-spell-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-memcached......zimbra-memcached-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done
    zimbra-proxy......zimbra-proxy-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done

Operations logged to /tmp/zmsetup.01082013-134300.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for dlp.srv.world
It is suggested that the domain name have an MX record configured in DNS
# 以下は多くのサーバーで出るであろうエラーなので Yes で進む

Change domain name? [Yes]
y
 
# Yes

Create domain: [mail.srv.world]
srv.world
 
# ドメイン名を入力

        MX: mail.srv.world (10.0.0.32)

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

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.6vkexfx3u@mail.srv.world
        +Enable automated spam training:       yes
        +Spam training user:                   spam.hag5b7zr@mail.srv.world
        +Non-spam(Ham) training user:          ham.vsxp1hyxe0@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.6vkexfx3u@mail.srv.world
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.hag5b7zr@mail.srv.world
   8) Non-spam(Ham) training user:             ham.vsxp1hyxe0@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.6vkexfx3u@mail.srv.world
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.hag5b7zr@mail.srv.world
   8) Non-spam(Ham) training user:             ham.vsxp1hyxe0@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.10869]    
# デフォルトでEnter

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

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

.....
.....

Notification complete

Setting up zimbra crontab...done.

Moving /tmp/zmsetup04032015-141009.log to /opt/zimbra/log

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