Sei sulla pagina 1di 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 mail.ilkom.unsri.ac.id. admin.ilkom.unsri.ac.id. (
1225384180
10800
3600
604800
38400 )
ilkom.unsri.ac.id. IN NS mail.ilkom.unsri.ac.id.
mail IN A 202.146.180.227
ilkom.unsri.ac.id. IN MX 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 mail.ilkom.unsri.ac.id.
227 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.8-
1.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-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-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-convertd…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

Press Return to continue

Checking for prerequisites…


NPTL…FOUND
sudo…FOUND sudo-1.6.8p12-12
libidn…FOUND libidn-0.6.5-1.1
fetchmail…FOUND fetchmail-6.3.6-1.1
gmp…FOUND gmp-4.1.4-10
compat-libstdc++-296…MISSING
compat-libstdc++-33…MISSING
libtool-ltdl…FOUND libtool-ltdl-1.5.22-6.1
/usr/lib/libstdc++.so.6…FOUND
Prerequisite check complete.
Checking for standard system perl…
perl-5.8.8…FOUND 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 compat-
libstdc++-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-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-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

Press Return to continue

Checking for prerequisites…

NPTL…FOUND

sudo…FOUND sudo-1.6.8p12-18.2
libidn…FOUND libidn-0.6.0-14.2

fetchmail…FOUND fetchmail-6.3.2-15.2

gmp…FOUND gmp-4.1.4-20.2

/usr/lib/libstdc++.so.5…FOUND

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-core……zimbra-core-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-ldap……zimbra-ldap-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-logger……zimbra-logger-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-mta……zimbra-mta-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-snmp……zimbra-snmp-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-store……zimbra-store-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-apache……zimbra-apache-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done

zimbra-spell……zimbra-spell-5.0.5_GA_2201.SuSEES10-
20080417003845.i386.rpm…done
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: Enabled

3) zimbra-store: Enabled

+Create Admin User: yes

+Admin user to create: admin@ilkom.unsri.ac.id

******* +Admin Password UNSET

+Enable automated spam training: yes

+Spam training user: spam.e9mzclewg@student.unsri.ac.id

+Non-spam(Ham) training user: ham.ptcjdvma@ilkom.unsri.ac.id

+Global Documents Account: wiki@ilkom.unsri.ac.id

+SMTP host: mail.ilkom.unsri.ac.id

+Web server HTTP port: 80

+Web server HTTPS port: 443


+Web server mode: http

+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.ilkom.unsri.ac.id:7780/aspell.php

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

Store configuration

1) Status: Enabled

2) Create Admin User: yes

3) Admin user to create: admin@ilkom.unsri.ac.id

** 4) Admin Password UNSET

5) Enable automated spam training: yes

6) Spam training user: spam.e9mzclewg@ilkom.unsri.ac.id

7) Non-spam(Ham) training user ham.ptcjdvma@ilkom.unsri.ac.id


Global Documents Account: wiki@ilkom.unsri.ac.id

9) SMTP host: mail.ilkom.unsri.ac.id

10) Web server HTTP port: 80

11) Web server HTTPS port: 443

12) Web server mode: http

13) IMAP server port: 143

14) IMAP server SSL port: 993

15) POP server port: 110

16) POP server SSL port: 995

17) Use spell check server: yes

18) Spell server URL: http://mail.ilkom.unsri.ac.id:7780/aspell.php

Select, or ‘r’ for previous menu [r] 4

Password for admin@ilkom.unsri.ac.id (min 6 characters): [Ouun6wjq1] qwerty1234

Store configuration

1) Status: Enabled

2) Create Admin User: yes

3) Admin user to create: admin@ilkom.unsri.ac.id

4) Admin Password set

5) Enable automated spam training: yes

6) Spam training user: spam.e9mzclewg@ilkom.unsri.ac.id

7) Non-spam(Ham) training user: ham.ptcjdvma@ilkom.unsri.ac.id

Global Documents Account: wiki@ilkom.unsri.ac.id

9) SMTP host: mail.ilkom.unsri.ac.id

10) Web server HTTP port: 80

11) Web server HTTPS port: 443


12) Web server mode: http

13) IMAP server port: 143

14) IMAP server SSL port: 993

15) POP server port: 110

16) POP server SSL port: 995

17) Use spell check server: yes

18) Spell server URL: http://mail.ilkom.unsri.ac.id:7780/aspell.php

Select, or ‘r’ for previous menu [r] r

Main menu

1) Common Configuration:

2) zimbra-ldap: Enabled

3) zimbra-store: Enabled

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

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


Saving config in /opt/zimbra/config.9294…done.

The system will be modified - continue? [No] y

Operations logged to /tmp/zmsetup.01001900-0000139145328.log

Setting local config values…done.

Setting up CA…done.

Deploying CA to /opt/zimbra/conf/ca …done.

Creating SSL certificate…done.

Installing mailboxd SSL certificates…done.

Initializing ldap…done.

Setting replication password…done.

Setting Postfix password…done.

Setting amavis password…done.

Saving CA in ldap …done.

Creating server entry for mail.ilkom.unsri.ac.id…done.

Saving SSL Certificate in ldap …done.

Setting spell check URL…done.

Setting service ports on mail.ilkom.unsri.ac.id…done.

Adding mail.ilkom.unsri.ac.id to zimbraMailHostPool in default COS…done.

Installing skins…

bare

beach

bones

hotrod

lavender

lemongrass
sand

sky

steel

waves

yahoo

done.

Setting zimbraFeatureIMEnabled=FALSE…done.

Setting zimbraFeatureTasksEnabled=TRUE…done.

Setting zimbraFeatureBriefcasesEnabled=TRUE…done.

Setting zimbraFeatureNotebookEnabled=TRUE…done.

Setting MTA auth host…done.

Setting TimeZone Preference…done.

Creating domain ilkom.unsri.ac.id…done.

Creating user admin@ilkom.unsri.ac.id…done.

Creating postmaster alias…done.

Creating user wiki@ilkom.unsri.ac.id…done.

Creating user spam.e9mzclewg@ilkom.unsri.ac.id…done.

Creating user ham.ptcjdvma@ilkom.unsri.ac.id…done.

Setting spam training accounts…done.

Initializing store sql database…done.

Setting zimbraSmtpHostname for mail.ilkom.unsri.ac.id…done.

Initializing logger sql database…done.

Initializing mta config…done.

Configuring SNMP…done.

Setting services on mail.ilkom.unsri.ac.id…done.


Setting up zimbra crontab…done.

Setting up syslog.conf…Starting 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 servers…done.

Checking for deprecated zimlets…done.

Installing zimlets…

com_zimbra_cert_manager

com_zimbra_date

com_zimbra_email

com_zimbra_local

com_zimbra_phone
com_zimbra_url

done.

Initializing Documents…done.

Restarting mailboxd…done.

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

Potrebbero piacerti anche