Вы находитесь на странице: 1из 14

Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu

~almuhibbin tutorials Linux under Himatek Workway~

Copyright © 2010 HIMATEK POLITEKNIK TELKOM.

1 Street of Telecommunication Bandung

West Java

Phone: +628121462400

Phone: +6285224655699

PO Box 40257

HIMATEK Research of Joy Development, INA

Copyright © 2010 by Greenhimatek. This material may be distributed only subject to the
terms and conditions set forth in the Open Publication License, and can be downloaded
at http://www.almuhibbin.com

Distribution of substantively modified versions of this document is prohibited without


the explicit permission of the copyright holder

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Tutorial di bawah ini adalah penjelasan singkat mengenai cara penginstalan dan
konfigurasi Zimbra Collaboration Suite (ZCS) pada distro Ubuntu. Seperti yang sudah kita
ketahui Zimbra merupakan sebuah konten email yang handal berbasis open source
collaboration suite seperti pembuatan kalender grup, pangaturan kontak, dokumen
yang diatur dalam bentuk web, dan tentunya juga pengaturan otorisasi pengguna
layaknya aplikasi email ternama seperti yahoo, gmail, dll.

Zimbra sendiri dibuat berdasarkan AJAX web interface dan tentunya dia bisa berjalan
lewat platform seperti Microsoft Outlook, Apple Mail, dan Novell Evolution sehingga
semua fitur yang sudah disebutkan di atas bisa langsung bersingkronisasi pada ZCS
server kita. Selain itu juga untuk menunjang kemamanan dan kekayaan fitur zimbra bisa
dikolaborasikan dengan berbagai modul lain seperti Postfix, MySQL, and OpenLDAP.

Insya Allah setelah mengikuti tutorial ini bisa bermanfaat ~ it will work for you!

Pastikan DNS Anda sudah benar terinstall dengan format standar

============/etc/bind/named.conf.options=============

options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want


// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable


// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses
replacing
// the all-0's placeholder.

forwarders {
192.168.44.2;
};

auth-nxdomain no; # conform to RFC1035


listen-on-v6 { any; };
};

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

============/etc/bind/named.conf.local=============

//

// Do any local configuration here


//

// Consider adding the 1918 zones here, if they are not used in
your
// organization
//include "/etc/bind/zones.rfc1918";

zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};

zone "100.16.172.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};

===========/etc/bind/db.192=================

;
; BIND reverse data file for local loopback interface
;

$TTL 604800
@ IN SOA example.com. root.example.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;

IN NS example.com.
2 IN A 192.168.44.2
2 IN PTR www.example.com.
2 IN PTR mail.example.com.
example.com. IN A 192.168.44.2

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

============/etc/bind/db.example.com========

;
; BIND data file for local loopback interface
;

$TTL 604800
@ IN SOA example.com. root.example.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;

IN NS example.com.
IN MX 20 example.com.
example.com. IN A 192.168.44.2
mail.example.com. IN CNAME example.com.
mx.example.com. IN A 192.168.44.2

============resolve.conf========

# Generated by NetworkManager
domain example.com
nameserver 192.168.44.2
nameserver 222.124.204.34
nameserver 203.130.193.74

========hosts=========

127.0.0.1 localhost
192.168.44.2 example.com.
127.0.0.1 vanz-pc

# The following lines are desirable for IPv6 capable hosts


::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Jika letak server Ubuntu server kita berada di belakng router, jangan lupa aktifkan port
25 di router kita pada Ubuntu server.

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Instal SSH Daemon

Just run

apt-get install ssh openssh-server

Seting IP Address Statik dan Hostname

Editlah file network yang berada di /etc/network/interfaces, aturlah sebagai berikut

# This file describes the network interfaces available on your


system
# and how to activate them. For more information, see
interfaces(5).

# The loopback network interface


auto lo
iface lo inet loopback

# The primary network interface


auto eth0
iface eth0 inet static
address 192.168.44.2
netmask 255.255.255.0
network 192.168.44.0
broadcast 192.168.44.255
gateway 192.168.44.1

Sekarang tinggal nyalakan testing konfigurasi kita


echo mail.example.com > /etc/hostname
dan reboot system kita:
shutdown -r now

Setelah di restart jalankan,


hostname
hostname -f
hasilnya pasti menunjukan mail.example.com.

From now on you can use an SSH client such as PuTTY and connect from your
workstation to your Ubuntu server and follow the remaining steps from this tutorial.

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Disable Ubuntu CD di /etc/apt/sources.list

vi /etc/apt/sources.list

Selanjutnya

apt-get update

Disable Services – Yang ada hubunganya dengan mail service

Untuk menginstal zimbra pada system maka kita harus me remove atau disable service
yang terkait seperti (Postfix, Apache, OpenLDAP) kalau saja tidak melakukan hal ini
Zimbra akan gagal ketika di instal.

Untuk men - disable Postfix pada sistem, jalankan


/etc/init.d/postfix stop
update-rc.d -f postfix remove

Install Zimbra

Kita butuh paket pendukung agar Zimbra bisa dikonfigurasi dan di install dengan baik:

apt-get install curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl

Lalu siapkan file mentahya ada di http://www.zimbra.com/community/downloads.html

Ekstrak file hasil download tadi

tar xvfz zcs-4……..{versi kita}.tgz

cd zcs/
./install.sh

LALU AKAN MUNCUL DIALOG BERIKUT, IKUTI SAJA SESUAI KEBUTUHAN

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Operations logged to /tmp/install.log.4416


Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...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 INSTAL
LING
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/collaboration_suite_collecti
ve_license_1.0.html

Press Return to continue <-- <ENTER>

Install zimbra-ldap [Y] <-- <ENTER>

Install zimbra-logger [Y] <-- <ENTER>

Install zimbra-mta [Y] <-- <ENTER>

Install zimbra-snmp [Y] <-- <ENTER>

Install zimbra-store [Y] <-- <ENTER>

Install zimbra-spell [Y] <-- <ENTER>

The system will be modified. Continue? [N] <-- y

Main menu

1)Hostname: mail.example.com
2)Ldap master host: mail.example.com
3)Ldap port: 389
4)Ldap password: set
5)zimbra-ldap: Enabled
6)zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.example.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.tukjrdnaco@mai

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

l.example.com
+Non-
spam(Ham) training user: ham.rg8fvq6cd4@mail.example.com
+Global Documents Account: wiki@mail.example.com
+SMTP host: mail.example.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+Enable POP/IMAP proxy: no
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://mail.example
.com:7780/aspell.php

7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items (? - help) <-- 6

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.example.
com
** 4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.tukjrdnaco@mai
l.example.com
7) Non-
spam(Ham) training user: ham.rg8fvq6cd4@mail.example.com
8) Global Documents Account: wiki@mail.example.com
9) SMTP host: mail.example.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) Enable POP/IMAP proxy: no
14) IMAP server port: 143
15) IMAP server SSL port: 993
16) POP server port: 110
17) POP server SSL port: 995
18) Use spell check server: yes
19) Spell server URL:
http://mail.example.com:7780/aspell.php

Select, or 'r' for previous menu [r] <-- 4

Password for admin@mail.example.com (min 6 characters): [8BD.yZtFh


] <-- [specify a password for the admin user, e.g. howtoforge]

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Select, or 'r' for previous menu [r] <-- <ENTER>

Main menu

1) Hostname: mail.example.com
2) Ldap master host: mail.example.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
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.5762] <-- <ENTER>
Saving config in /opt/zimbra/config.5762...Done
The system will be modified - continue? [No] <-- y

You have the option of notifying Zimbra of your installation.


This helps us to track the uptake of the Zimbra Collaboration Suit
e.
The only information that will be transmitted is:
The VERSION of zcs installed (4.5.3_GA_733_UBUNTU6)
The ADMIN EMAIL ADDRESS created (admin@mail.example.com)

Notify Zimbra of your installation? [Yes] <-- [if you want to


notify Zimbra of your installation, type y, otherwise n]

Configuration complete - press return to exit <-- <ENTER>

Setelah proses penginstalan selesai tinggal kita menguji apakah servis yang kita seting
tadi sudah berjalan dengan benar dengan perintah zimbra user:

su - zimbra

dan jalankan

zmcontrol status

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Output nya harusnya seperti:

zimbra@mail:~$ zmcontrol status


Host mail.example.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running

Adapun jika tidak semua service dapat berjalan maka jalankan perintah ini di terminal

zmcontrol start

Untuk keluar dari user zimbra ini ketik saja exit agar kita menjadi user root lagi.

The Zimbra Web Interface

Zimbra secara default build in dengan fitur web base sebagai interface usernya guna
memudahkan segala sesuatuny. Web interface untuk administrator bisa ke
(https://mail.example.com:7071/zimbraAdmin)
Sedangkan untuk normal user ke (http://mail.example.com).

Sebagai screenshoot atau kilas singkat administrasinya bisa di baca lengkap di


http://www.zimbra.com/community/documentation.html
dan
http://wiki.zimbra.com.

Administrator Konsol

Setalah beres, silahkan kita arahkan ke browser untuk memebuka panel Zimbra
Administrator web interface.  https://mail.example.com:7071/zimbraAdmin. Log in
dengan username admin dan password yang telah di simpan pas waktu instalsi Zimbra.

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

[CONTOH GAMBAR DI SINI HANYA CONTOH / SESUAIKAN DENGAN KEBUTUHAN]

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Jika kita ingin menambah domain baru pada zimbra, misal example.com, jadi biar mudah
kita bisa pilih tab domain lalu buka wizard nya.

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Setelah itu domain baru bisa terlihat:

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series


Instalsi Zimbra Collaboration Suite (ZCS) di Ubuntu
~almuhibbin tutorials Linux under Himatek Workway~

Jika ingin membuat Account untuk yang lain tinggal ke tab Accounts dan ke New:

Telkom Polytechnic ~www.almuhibbin.com~ Ubuntu Series

Вам также может понравиться