Anda di halaman 1dari 16

Tahapan Installasi mailserver adalah 1. Setting IP address [root#mail] #cd /etc/sysconfig/network-script/ [root#mail] #vi ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=202.146.180.

227 BROADCAST=202.146.180.231 NETMASK=255.255.255.248 ONBOOT=yes USERCTL=no 2. Setting Hosts [root#mail] #cd /etc/ [root#mail] #vi hosts (tambahkan dengan ) 202.146.180.227 mail.ilkom.unsri.ac.id mail Simpan hasil konfigurasian diatas (esc shft+: wq) 3. Setting Resolv.conf [root#mail] #cd /etc/ [root#mail] #vi resolv.conf Tambahkan konfigurasi Search ilkom.unsri.ac.id nameserver 127.0.0.1 nameserver 202.146.180.227 Simpan hasil konfigurasian diatas (esc shft+: wq) 4. Setting Gateway [root#mail] #cd /etc/sysconfig [root#mail] #vi network Tambahkan konfigurasi sbb NETWORKING=yes HOSTNAME=mail.ilkom.unsri.ac.id GATEWAY=202.146.180.225 NOZEROCONF=yes Simpan hasil konfigurasian diatas (esc shft+: wq) 5. Setting DNS (zone) [root#mail] #cd /etc/ [root#mail] #vi named.conf Tambahkan konfigurasi sbb zone ilkom.unsri.ac.id IN { type master; file /var/named/llkom.unsri.ac.id.host; };

zone 180.146.202.in-addr.arpa IN { type master; file /var/named/202.146.180.in-addr.arpa; }; 6. Setting file zone nya [root#mail] #cd /var/named/chroot/var/named/ [root#mail] #vi ilkom.unsri.ac.id.host $ttl 38400 ilkom.unsri.ac.id. IN SOA 1225384180 10800 3600 604800 38400 ) IN IN IN mail.ilkom.unsri.ac.id. admin.ilkom.unsri.ac.id. (

ilkom.unsri.ac.id. mail ilkom.unsri.ac.id.

NS A MX

mail.ilkom.unsri.ac.id. 202.146.180.227 0 mail.ilkom.unsri.ac.id.

7. Setting file resolv # cd /var/named/chroot/var/named # vi 202.146.180.in-addr.arpa Lalu ketikan file dibawah ini
$ttl 38400 180.146.202.in-addr.arpa. IN SOA mail.ilkom.unsri.ac.id. admin.ilkom.unsri.ac.id. ( 1212503093 10800 3600 604800 38400 ) 180.146.202.in-addr.arpa. IN NS 227 mail.ilkom.unsri.ac.id. IN PTR mail.ilkom.unsri.ac.id.

Lalu simpan file tersebut


8. Tes dns dengan menjalan service network dan named [root#mail]service network restart Dan [root#mail]service named restart 9. nslookup >mail.ilkom.unsri.ac.id Dan >202.146.180.227

Catatan (sebelum DNS anda berjalan dengan benar, anda jangan install dulu paket zimbra nya. Step 10 dilakukan kalau DNS kita sudah berjalan dengan benar ) 10. Instalasi paket YUM Download paket yum di website http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.81.noarch.rpm Hasil download letak di directory /var/tmp Install paket YUM dengan perintah : #rpm -ivh yum-2.0.8-1.noarch.rpm Edit file yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 [base] name=CentOS-$releasever - Base baseurl=http://mirror.centos.org/centos/4/os/i386/ gpgcheck=1 [updates] name=Red Hat Linux $releasever - Updates baseurl=http://mirror.centos.org/centos/4/updates/i386/ gpgcheck=1 Download dan Install paket CentOS GPG Key http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 rpm import RPM-GPG-KEY-CentOS-4 11. Download paket zimbra zcs-4.5.0_RC2_566.RHEL4.tar.gz di (http://mirror.optus.net/sourceforge/z/zi/zimbra/) letakan filenya di /var/tmp/ 12. Extrac zcs-4.5.0_RC2_566.RHEL4 .tar.gz dengan perintah #tar xzvf zcs-4.5.0_RC2_566.RHEL4 .tar.gz 13. Install filenya [root@mail zcs]./install.sh Operations logged to /tmp/install.log.18047 Checking for existing installation zimbra-ldapNOT FOUND zimbra-loggerNOT FOUND zimbra-mtaNOT FOUND zimbra-snmpNOT FOUND zimbra-storeNOT FOUND

zimbra-apacheNOT FOUND zimbra-spellNOT FOUND zimbra-proxyNOT FOUND zimbra-archivingNOT FOUND zimbra-convertdNOT FOUND zimbra-clusterNOT FOUND zimbra-coreNOT 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 Press Return to continue Checking for prerequisites NPTLFOUND sudoFOUND sudo-1.6.8p12-12 libidnFOUND libidn-0.6.5-1.1 fetchmailFOUND fetchmail-6.3.6-1.1 gmpFOUND gmp-4.1.4-10 compat-libstdc++-296MISSING compat-libstdc++-33MISSING libtool-ltdlFOUND libtool-ltdl-1.5.22-6.1 /usr/lib/libstdc++.so.6FOUND Prerequisite check complete. Checking for standard system perl perl-5.8.8FOUND standard system perl-5.8.8 ###ERROR### One or more prerequisite packages are missing. Please install them before running this installer. Installation cancelled. Kalau kita perhatikan proses install mengalami kegagalan karena ada berapa paket yang ditemukan oleh karena itu kita harus menginstall paket tersebut sbb : (pastikan computer kita terhubung ke internet)

[root@mail zcs]#yum install compat-libstdc++-296 compat-libstdc++-33 gmp libtool-ltdl Setting up Install Process Parsing package install arguments Package gmp 4.1.4-10.el5.i386 is already installed. Package libtool-ltdl 1.5.22-6.1.i386 is already installed. Resolving Dependencies> Running transaction check-> Package compatlibstdc++-33.i386 0:3.2.3-61 set to be updated-> Package compat-libstdc++-296.i386 0:2.96-138 set to be updated> Finished Dependency Resolution proses update Total download size: 321 k Is this ok [y/N]: y Downloading Packages: (1/2): compat-libstdc++-2 100% |=========================| (2/2): compat-libstdc++-3 100% |=========================| Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: compat-libstdc++-296 ######################### [1/2] Installing: compat-libstdc++-33.. ######################### [2/2] Installed: compat-libstdc++-296.i386 0:2.96-138 compat-libstdc++-33.i386 0:3.2.3-61 Complete! Setelah selesai kita install kembali Zimbranya (setelah melakukan proses update sementara Sistem operasi server ini memakai Centos) [root@mail zcs]#./install Operations logged to /tmp/install.log.5947 Checking for existing installation

zimbra-ldapNOT FOUND zimbra-loggerNOT FOUND zimbra-mtaNOT FOUND zimbra-snmpNOT FOUND zimbra-storeNOT FOUND zimbra-apacheNOT FOUND zimbra-spellNOT FOUND zimbra-proxyNOT FOUND zimbra-archivingNOT FOUND zimbra-clusterNOT FOUND zimbra-coreNOT 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 Press Return to continue Checking for prerequisites NPTLFOUND sudoFOUND sudo-1.6.8p12-18.2

libidnFOUND libidn-0.6.0-14.2 fetchmailFOUND fetchmail-6.3.2-15.2 gmpFOUND gmp-4.1.4-20.2 /usr/lib/libstdc++.so.5FOUND Prerequisite check complete. Checking for standard system perl Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-proxy 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 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 Installing packages zimbra-corezimbra-core-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-ldapzimbra-ldap-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-loggerzimbra-logger-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-mtazimbra-mta-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-snmpzimbra-snmp-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-storezimbra-store-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-apachezimbra-apache-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone zimbra-spellzimbra-spell-5.0.5_GA_2201.SuSEES1020080417003845.i386.rpmdone

Operations logged to /tmp/zmsetup.01001900-0000139145328.log Setting defaults DNS ERROR resolving MX for mail.ilkom.unsri.ac.id It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] y Create Domain: [mail.ilkom.unsri.ac.id] ilkom.unsri.ac.id MX: mail.ilkom.unsri.ac.id (202.146.180.227) Interface: 202.146.180.227 Interface: 127.0.0.1 done. Checking for port conflicts Main menu 1) Common Configuration: 2) zimbra-ldap: 3) zimbra-store: +Create Admin User: +Admin user to create: ******* +Admin Password +Enable automated spam training: +Spam training user: +Non-spam(Ham) training user: +Global Documents Account: +SMTP host: +Web server HTTP port: +Web server HTTPS port: Enabled Enabled yes admin@ilkom.unsri.ac.id UNSET yes spam.e9mzclewg@student.unsri.ac.id ham.ptcjdvma@ilkom.unsri.ac.id wiki@ilkom.unsri.ac.id mail.ilkom.unsri.ac.id 80 443

+Web server mode: +IMAP server port: +IMAP server SSL port: +POP server port: +POP server SSL port: +Use spell check server: +Spell server URL: 4) zimbra-mta: 5) zimbra-snmp: 6) zimbra-logger: 7) zimbra-spell:

http 143 993 110 995 yes http://mail.ilkom.unsri.ac.id:7780/aspell.php Enabled Enabled Enabled Enabled

Default Class of Service Configuration: r) Start servers after configuration s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 3 Store configuration 1) Status: 2) Create Admin User: 3) Admin user to create: ** 4) Admin Password 5) Enable automated spam training: 6) Spam training user: 7) Non-spam(Ham) training user Enabled yes admin@ilkom.unsri.ac.id UNSET yes spam.e9mzclewg@ilkom.unsri.ac.id ham.ptcjdvma@ilkom.unsri.ac.id yes

Global Documents Account: 9) SMTP host: 10) Web server HTTP port: 11) Web server HTTPS port: 12) Web server mode: 13) IMAP server port: 14) IMAP server SSL port: 15) POP server port: 16) POP server SSL port: 17) Use spell check server: 18) Spell server URL: Select, or r for previous menu [r] 4

wiki@ilkom.unsri.ac.id mail.ilkom.unsri.ac.id 80 443 http 143 993 110 995 yes http://mail.ilkom.unsri.ac.id:7780/aspell.php

Password for admin@ilkom.unsri.ac.id (min 6 characters): [Ouun6wjq1] qwerty1234 Store configuration 1) Status: 2) Create Admin User: 3) Admin user to create: 4) Admin Password 5) Enable automated spam training: 6) Spam training user: 7) Non-spam(Ham) training user: Global Documents Account: 9) SMTP host: 10) Web server HTTP port: 11) Web server HTTPS port: 443 Enabled yes admin@ilkom.unsri.ac.id set yes spam.e9mzclewg@ilkom.unsri.ac.id ham.ptcjdvma@ilkom.unsri.ac.id wiki@ilkom.unsri.ac.id mail.ilkom.unsri.ac.id 80

12) Web server mode: 13) IMAP server port: 14) IMAP server SSL port: 15) POP server port: 16) POP server SSL port: 17) Use spell check server: 18) Spell server URL: Select, or r for previous menu [r] r Main menu 1) Common Configuration: 2) zimbra-ldap: 3) zimbra-store: 4) zimbra-mta: 5) zimbra-snmp: 6) zimbra-logger: 7) zimbra-spell:

http 143 993 110 995 yes http://mail.ilkom.unsri.ac.id:7780/aspell.php

Enabled Enabled Enabled Enabled Enabled Enabled

Default Class of Service Configuration: r) Start servers after 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] y Save config in file: [/opt/zimbra/config.9294] yes

Saving config in /opt/zimbra/config.9294done. The system will be modified - continue? [No] y Operations logged to /tmp/zmsetup.01001900-0000139145328.log Setting local config valuesdone. Setting up CAdone. Deploying CA to /opt/zimbra/conf/ca done. Creating SSL certificatedone. Installing mailboxd SSL certificatesdone. Initializing ldapdone. Setting replication passworddone. Setting Postfix passworddone. Setting amavis passworddone. Saving CA in ldap done. Creating server entry for mail.ilkom.unsri.ac.iddone. Saving SSL Certificate in ldap done. Setting spell check URLdone. Setting service ports on mail.ilkom.unsri.ac.iddone. Adding mail.ilkom.unsri.ac.id to zimbraMailHostPool in default COSdone. Installing skins bare beach bones hotrod lavender lemongrass

sand sky steel waves yahoo done. Setting zimbraFeatureIMEnabled=FALSEdone. Setting zimbraFeatureTasksEnabled=TRUEdone. Setting zimbraFeatureBriefcasesEnabled=TRUEdone. Setting zimbraFeatureNotebookEnabled=TRUEdone. Setting MTA auth hostdone. Setting TimeZone Preferencedone. Creating domain ilkom.unsri.ac.iddone. Creating user admin@ilkom.unsri.ac.iddone. Creating postmaster aliasdone. Creating user wiki@ilkom.unsri.ac.iddone. Creating user spam.e9mzclewg@ilkom.unsri.ac.iddone. Creating user ham.ptcjdvma@ilkom.unsri.ac.iddone. Setting spam training accountsdone. Initializing store sql databasedone. Setting zimbraSmtpHostname for mail.ilkom.unsri.ac.iddone. Initializing logger sql databasedone. Initializing mta configdone. Configuring SNMPdone. Setting services on mail.ilkom.unsri.ac.iddone.

Setting up zimbra crontabdone. Setting up syslog.confStarting SuSEconfig, the SuSE Configuration Tool Running module syslog-ng only Reading /etc/sysconfig and updating the system Executing /sbin/conf.d/SuSEconfig.syslog-ng ATTENTION: You have modified //etc/syslog-ng/syslog-ng.conf. Leaving it untouched You can find my version in //etc/syslog-ng/syslog-ng.conf.SuSEconfig Finished. 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 (5.0.5_GA_2201_SuSEES10) The ADMIN EMAIL ADDRESS created (admin@ilkom.unsri.ac.id) Notify Zimbra of your installation? [Yes] n Notification skipped Starting serversdone. Checking for deprecated zimletsdone. Installing zimlets com_zimbra_cert_manager com_zimbra_date com_zimbra_email com_zimbra_local com_zimbra_phone

com_zimbra_url done. Initializing Documentsdone. Restarting mailboxddone. Moving /tmp/zmsetup.01001900-0000139145328.log to /opt/zimbra/log Configuration complete - press return to exit

14. Buka webbrowser http://mail.ilkom.unsri.ac.id 15. Untuk Administrasi Zimbra Kita harus login ke https:/mail.ilkom.unsri.ac.id:7071/zimbraAdmin referensi www.zimbra.com candra.unsri.ac.id http://henry.gultom.or.id

Anda mungkin juga menyukai