Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to install Zimbra mail Server?  (Read 2592 times)

0 Members and 1 Guest are viewing this topic.

lijeshk

  • Guest
How to install Zimbra mail Server?
« on: November 22, 2013, 02:33:33 am »
Zimbra single server environment, all services are on one server, and during installation the computer is configured to partition the disk to accommodate each of the services. The Zimbra server is a dedicated server that manages all of the mailbox contents, including messages, contacts, calendar, and attachments. Messages are received from the Zimbra MTA server and then passed through any filters that have been created. Messages are then indexed and deposited into the correct mailbox.

  • Install/update the system, prepare required files

Code: [Select]
[root@ljsh ~]#yum update
[root@ljsh ~]#yum install curl fetchmail libxml2 openssl perl sysstat sqlite sudowget nc libstdc++.i686

  • Stop postfix and disable it from auto run on boot:

Code: [Select]
[root@ljsh ~]#/etc/init.d/postfix stop
[root@ljsh ~]#service iptables stop
[root@ljsh ~]#chkconfig postfix off

  • To Disable SElinux:

Code: [Select]
[root@ljsh ~]#vi /etc/sysconfig/selinux
SELINUX=disabled

  • Edit the following file to include mail.yourdomain.com for IP address(xx.xx.xx.xx)

Code: [Select]
[root@ljsh ~]#vi /etc/hosts

xx.xx.xx.xx    mail.yourdomain.com  mail

[root@ljsh ~]#vi /etc/sysconfig/network

HOSTNAME=mail.servermates.com

  • Comment out the following lines in /etc/sudoers file using “visudo” command

Code: [Select]
Defaults    requiretty
Defaults:zimbra !requiretty

  • Installing Zimbra 8.0.1 Opensource

Code: [Select]
[root@ljsh ~]#cd /usr/local/src
[root@ljsh ~]#wget http://files2.zimbra.com/downloads/8.0.1_GA/zcs-NETWORK-8.0.1_GA_5438.RHEL6_64.20121105164510.tgz
[root@ljsh ~]#tar -zxvf zcs-NETWORK-8.0.1_GA_5438.RHEL6_64.20121105164510.tgz
[root@ljsh ~]#cd zcs-NETWORK-8.0.1_GA_5438.RHEL6_64.20121105164510
[root@ljsh ~]#./install.sh --platform-override

NOTE: The Zimbra installation script checks if the distro is RHEL. To ignore that and install on CentOS, you must use “–platform-override”

If you have an zimbra license use the following command:

Code: [Select]
[root@ljsh ~]#./install.sh --platform-override -l ZCSLicense.xml
  • To Check zimbra status:

Code: [Select]
[root@ljsh ~]#su - zimbra
[root@ljsh ~]#zmcontrol status

  • To stop and start zimbra:

Code: [Select]
[root@ljsh ~]#su - zimbra
[root@ljsh ~]#zmcontrol stop
[root@ljsh ~]#zmcontrol start

  • To access the admin console:

Code: [Select]
https://yourdomain.com:7071  OR  https://yourip:7071
  • To access Zimbra web client:

Code: [Select]
https://yourdomain.com
  • To reset the Zimbra Admin password:

Code: [Select]
[root@ljsh ~]#su - zimbra
[root@ljsh ~]#zmprov sp admin@mail.servermates.com new_password

  • To get a list of all administrators:

Code: [Select]
[root@ljsh ~]#su - zimbra
[root@ljsh ~]#zmprov gaaa


--

 :)
« Last Edit: November 22, 2013, 05:13:56 am by lijeshk »