Cài đặt Zimbra Mail Server

Tác giả server360, T.M.Hai 28, 2018, 06:32:19 CHIỀU

« Chủ đề trước - Chủ đề tiếp »

0 Thành viên và 6 Khách đang xem chủ đề.

Hướng dẫn cài đặt phần mềm miễn phí Zimbra Mail Server


Trong bài giới thiệu này, mình sẽ hướng dẫn các bạn cách thức cài đặt phiên bản mới nhất Zimbra 7.0 trên CentOS 5.5 và cấu hình Zimbra làm việc như là một mail server dành cho doanh nghiệp.


1. Chuẩn bị

Bước 1: Cập nhật hệ thống, tắt sendmail và hệ thống bảo mật
   
Mã nguồn [Chọn]
    yum update
    /etc/init.d/sendmail stop
    chkconfig sendmail off
    chkcon    fig iptables off


Bước 2: cài đặt những gói cần thiết

Mã nguồn [Chọn]
    yum install sysstat gmp libidn libstdc++ sqlite

Bước 3: Cấu hình hostname và DNS

Mã nguồn [Chọn]
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
192.168.137.2   mail.vietnetwork.vn       mail
::1             localhost6.localdomain6 localhost6


Ngoài Zimbra Server, chúng ta còn sử dụng server như là một DNS Server.

+ Tạo file /var/named/chroot/var/named/vietnetwork.vn

Mã nguồn [Chọn]
;
;       Addresses and other host information.
;
@       IN      SOA     Vinastar Ltd.vn. hostmaster.vietnetwork.vn. (
                               2011030801      ; Serial
                               43200      ; Refresh
                               3600       ; Retry
                               3600000    ; Expire
                               2592000 )  ; Minimum

;       Define the nameservers and the mail servers

               IN      NS      ns.vietnetwork.vn.
               IN      A       192.168.137.2
               IN      MX      10 mail.vietnetwork.vn.

mail            IN      A       192.168.137.2
ns              IN      A       192.168.137.2


+ Tạo file /var/named/chroot/etc/named.conf

Mã nguồn [Chọn]
options {
       directory "/var/named";
       dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
forwarders { 8.8.8.8; };
};
include "/etc/rndc.key";
// We are the master server for vietnetwork.vn
zone "vietnetwork.vn" {
    type master;
    file "vietnetwork.vn";
};


Bước 4: Khởi động DNS và kiểm tra

Mã nguồn [Chọn]
    /etc/init.d/named start
    chkconfig named on


    nslookup   Đăng nhập để xem liên kết
    Server:        10.10.10.20
    Address:    10.10.10.20#53

2. Cài đặt Zimbra

Sau khi tải phiên bản cài đặt Zimbra Collaboration Suite từ trang chủ về thì bắt đầu giải nén và cài đặt.

Mã nguồn [Chọn]
tar zxf zcs-7.1.0_GA_3140.RHEL5.20110329150824.tgz
cd zcs-7.1.0_GA_3140.RHEL5.20110329150824.tgz
./install.sh --platform-override


Quá trình được cài đặt theo mặc định. Sau khi cấu hình xong thì tiến hành đặt password cho Admin.

Main menu

Mã nguồn [Chọn]
   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 [email protected]
******* +Admin Password                        UNSET


Quá trình cài đặt hoàn tất. Zimbra Server sẵn sàng đưa vào sử dụng. Kiểm tra bằng các vào giao diện web và gõ địa chỉ ip hoặc tên miền với cổng 7071.