Install Mail Zimbra On Ubuntu - ketem - 02-22-2012 07:55 PM
To Do Point aja ane mau share tentang instalasi mail server zimbra
Kenapa zimbra silakan baca di tread om farhtaz disana udah di bahas dan disana sudah di berikan tutor instalasi mail server zimbra di centos
Pertama Yang Kita Butuhkan adalah Yah Os Ubuntu kan judulnya installasi zimbra pada ubuntu
Kali ini ane ngegunain ubuntu desktop 10.04 ( ubuntu servernya ga punya cdnya mau download miskin banwith )
Sama paket binary zimbra bisa di download di mirror.linux.or.id/zimbra/binary/7.1.4/zcs-7.1.4_GA_2555.UBUNTU10_64.20120105094803.tgz atau kalo ada inetnya bisa nanti di wget
(notice : sesuaikan paket binary dengan os ubuntu anda jika bingung berlanjut hubungi paman google)
1. Pertama config tcp ip network kita
Code:
# 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.18.101
network 192.168.18.0
netmask 255.255.255.0
broadcast 192.168.18.255
gateway 192.168.18.1
lalu save dan exit
lalu restart service network
Code:
/etc/init.d/networking restart
2. Merubah Host (Penting Jika Pada Saat Proses Ini Salah Maka Akan Eror dalam Instalasi Zimbranya
Ubah menjadi berikut
Code:
127.0.0.1 localhost
192.168.18.101 mail.acong.info mail
Code:
Nano /etc/resolv.conf
Ubah menjadi berikut
Code:
nameserver 192.168.18.101
nameserver 8.8.8.8
nameserver 208.67.222.222
Lalu upgrade file sistem anda lalu Lakukan command
Code:
apt-get upgrade
dpkg --purge apparmor apparmor-utils
sudo apt-get install libidn11 libpcre3 libgmp3c2 libexpat1 libstdc++6 libltdl7 libperl5.10 sysstat fetchmail sqlite3
3. Konfiguarsi Dns
Install paket BIND9
Code:
sudo apt-get install bind9
Buat zona baru untuk acong.com pada file named
Code:
.
sudo -i
cd /etc/bind
nano named.conf
kemudian tambahkan baris konfigurasi berikut pada bagian paling bawah:
Code:
zone "acong.com" {
type om;
file "/etc/bind/db.acong.com";
};
Langkah selanjutnya adalah membuat konfigurasi zona forward untuk acong.com. Untuk memudahkan konfigurasi, copy file db.local menjadi db.acong.com
Code:
cp db.local db.cong.com
Lakukan pengubahan pada file db.acong.com
Code:
nano /etc/bind/db.acong.com
Ubah konfigurasinya sehingga menjadi:
Code:
$TTL 604800
@ IN SOA ns1.acong.com. root.acong.com. (
2011062700 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.acong.com.
@ IN A 192.168.18.101
@ IN MX 0 mail.acong.com.
ns1 IN A 192.168.18.101
mail IN A 192.168.18.101
save and exit
lalu restart service dns
Code:
/etc/init.d/bind9 restart
Untuk melakukan testing DNS, kita bisa menggunakan perintah host namadomain, misalnya host acong.com atau menggunakan perintah nslookup sebagai berikut :
Code:
root@mail:~# nslookup mail.acong.com
Server: 192.168.18.101
Address: 192.168.18.101#53Name: mail.acong.com
Address: 192.168.18.101
Perhatikan jawaban dari hasil nslookup, pastikan bahwa IP yang muncul adalah IP server yang disetup DNS servernya.
Selain dengan nslookup, untuk melakukan testing DNS bisa dengan menggunakan perintah dig. Misalnya:
Code:
root@mail:~# dig acong.com mx
; <<>> DiG 9.7.3 <<>> acong.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26806
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;acong.com. IN MX
;; ANSWER SECTION:
acong.com. 604800 IN MX 0 mail.acong.com.
;; AUTHORITY SECTION:
acong.com. 604800 IN NS ns1.acong.com.
;; ADDITIONAL SECTION:
mail.acong.com. 604800 IN A 192.168.18.101
ns1.acong.com. 604800 IN A 192.168.18.101
;; Query time: 0 msec
;; SERVER: 192.168.18.101#53(192.168.18.101)
;; WHEN: Mon Jun 27 18:40:54 2011
;; MSG SIZE rcvd: 98
Perhatikan pada bagian MX records menunjukkan bahwa MX ditujukan ke alamat mail.acong.com.
4. Instalasi zimbranya
Yang sudah di download di masukan ke file /opt/
Lalu extract dengan command
Code:
# tar -zxvf zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124.tgz
zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124/
zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124/packages/
...
zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124/readme_binary_en_US.txt
zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124/install.sh
zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124/README.txt
Code:
# cd zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124
Code:
Operations logged to /tmp/install.log.17313
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-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-cluster...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.1.html
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
FOUND: NPTL
...
FOUND: perl-5.10.0
FOUND: sysstat
Prerequisite check complete.
Checking for installable packages
Found zimbra-core
...
Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [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 [N] n
Install zimbra-proxy [N] n
Checking required space for zimbra-core
checking space for zimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] y
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 Suite.
Installing packages
...
Operations logged to /tmp/zmsetup.01202011-203128.log
Installing LDAP configuration database...done.
Setting defaults...
DNS ERROR resolving MX for mail.acong.com
It is suggested that the domain name have an MX record configured in DNS
Create domain: [mail.acong.com] acong.com
Jika mendapat pertanyaan soal “DNS ERROR resolving MX”. Jawab “Y” untuk mengubah nama domain dan kemudian ketik nama domain (dalam contoh misalnya : acong.com) bukan mail.acong.com.
CATATAN : Jangan by pass proses ini. Jika masih tetap bermasalah di tahap ini, periksa ulang konfigurasi DNS yang dilakukan pada tahap 2 karena kemungkinan besar ada masalah pada saat setting DNS Server.
Setelah di enter, proses install akan berlanjut :
Code:
MX: mail.acong.com (192.168.18.101)
Interface: 192.168.18.101
Interface: 127.0.0.1
Interface: 127.0.0.2
done.
Checking for port conflicts
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@acong.com
******* +Admin Password UNSET
+Enable automated spam training: yes
...
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 3
Pada proses diatas, ketik angka 3 untuk mengubah pilihan yang belum disetting, dalam hal ini adalah konfigurasi password untuk Admin.
Zimbra akan memberikan informasi mengenai pilihan yang belum disetting, yaitu Zimbra Password :
Code:
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@acong.com
** 4) Admin Password UNSET
5) Enable automated spam training: yes
...
Select, or 'r' for previous menu [r] 4
Password for admin@acong.com (min 6 characters): [RGu2usa9S] MySecretPassword
Zimbra akan bertanya soal Zimbra Admin password pada konfirmasi akhir sebelum proses instalasi. Ketikkan saja password pada kotak yang disediakan, tapi awas hati-hati, password akan ditulis dalam formasi plain text dan tidak dimasking/enkripsi.
Masukkan password kemudian tekan ENTER
Code:
Store configuration
1) Status: Enabled
2) Create Admin User: yes
...
23) Version update notification email: admin@acong.com
24) Version update source email: admin@acong.com
Select, or 'r' for previous menu [r] r
Tekan huruf r untuk kembali ke menu pilihan
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
...
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] yes
Save config in file: [/opt/zimbra/config.22361]
Saving config in /opt/zimbra/config.22361...done.
The system will be modified - continue? [No] yes
Sampai tahap ini proses akan berlanjut secara otomatis, kita hanya perlu memperhatikannya saja.
Code:
Operations logged to /tmp/zmsetup.01202011-203128.log
Setting local config values...done.
Setting up CA...done.
...
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (7.1.1_GA_2692_UBUNTU10_64)
The ADMIN EMAIL ADDRESS created (admin@acong.com)
Notify Zimbra of your installation? [Yes] yes
Sebagai bagian proses tracking statistik pengguna Zimbra, Zimbra akan memberikan notifikasi ke server pusat. Kita bisa memilih untuk memberikan notifikasi atau tidak.
Code:
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=7.1.1_GA_3196_UBUNTU10_64&MAIL=admin@acong.com
Notification complete
Starting servers...done.
Installing common zimlets...
com_zimbra_date...done.
com_zimbra_bulkprovision...done.
com_zimbra_dnd...done.
com_zimbra_email...done.
com_zimbra_cert_manager...done.
com_zimbra_phone...done.
com_zimbra_url...done.
com_zimbra_adminversioncheck...done.
com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Initializing Documents...done.
Restarting mailboxd...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.01202011-203128.log to /opt/zimbra/log
Configuration complete - press return to exit
Setelah proses instalasi selesai, kita bisa melakukan proses pengecekan status menggunaka perintah zmcontrol status :
Code:
su - zimbra
zimbra@mail:> zmcontrol status
Host mail.acong.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zimbra@mail:~> zmcontrol -v
Release 7.1.1_GA_3196.UBUNTU10_64 UBUNTU10_64 FOSS edition.
Zimbra web mail dapat diakses menggunakan host name atau IP Address (dalam contoh saya : http://mail.acong.com atau http://192.168.18.101) sedangkan Zimbra Admin dapat diakses menggunakan protokol https pada port 7071 (https://mail.acong.com:7071 atau https://192.168.18.101:7071)
RE: Install Mail Zimbra On Ubuntu - Super Moderator - 02-22-2012 07:57 PM
nice one 
btw,acong=ade=ketem
RE: Install Mail Zimbra On Ubuntu - ketem - 02-22-2012 08:00 PM
(02-22-2012 07:57 PM)linuxer46 Wrote: nice one 
btw,acong=ade=ketem 
aku adalah ketem
dan ketem adalah aku
btw GRPnya donk Ka aku abis di bata sma @[DC_Nanda23]
RE: Install Mail Zimbra On Ubuntu - nanda - 02-22-2012 08:33 PM
gak bisa ... nuxer tuh ama w
btw keren post nya
RE: Install Mail Zimbra On Ubuntu - CitooZz - 02-23-2012 12:56 AM
nice dude
RE: Install Mail Zimbra On Ubuntu - kahfiehudson - 02-25-2012 01:00 AM
ada jg nih om tutornya di majalah info linux edisi 11 2011
RE: Install Mail Zimbra On Ubuntu - zenonk - 05-17-2012 08:56 AM
pengen nyobain zimbra, tapi komputer jadul ane takut gak kuat spek ya
|