Installation on CentOS 6

Required packages

Install these packages:

while read package; do
    yum --assumeyes install $package
done < packages.list

The package list is created from a working installation by:

rpm -qa --qf %{NAME}\\n | grep -v "zimbra"

Disk Setup

Use LVM to hold the /opt and /var mount points.

Example:

pvcreate /dev/sdb1

vgcreate vg0 /dev/sdb1

# 10GB for /var
lvcreate -L 10G -n lv_var vg0

# all remaining for /opt
lvcreate -v -l 100%FREE -n lv_opt vg0

Create a separate vg and volume to hold messages and indexes:

pvcreate /dev/sdc1

vgcreate vg1 /dev/sdc1

lvcreate -v -l 100%FREE -n lv_zdata vg1

Sample fstab entries:

/dev/vg0/lv_tmp /tmp ext4 defaults 1 1
/dev/vg0/lv_var /var ext4 defaults 1 1
/dev/vg0/lv_opt /opt ext4 defaults 1 1

/dev/vg1/lv_zdata /zdata ext4 defaults 1 1

After formatted, create folder for index and store:

mkdir -p /zdata/index
mkdir -p /zdata/store

chown zimbra:zimbra /zdata/store
chown zimbra:zimbra /zdata/index

Configuration

Host naming

Skip this section if not building a seed install.

For seeding purpose, set hostname to zimbra.local.

Set DNS using dnsmasq:

yum -y install dnsmasq

# move resolv.conf, dnsmasq will use it
cp /etc/resolv.conf /var/lib/dnsmasq/resolv.conf 

# resolv through dnsmasq
cat <<EOT > /etc/resolv.conf
nameserver 127.0.0.1
EOT

# dnsmasq settings for resolving zimbra.local
cat <<EOT >> /etc/dnsmasq.conf

# custom settings for zimbra.local
no-dhcp-interface=eth0
resolv-file=/var/lib/dnsmasq/resolv.conf
local=/local/
mx-host=zimbra.local,zimbra.local,10

EOT

# host record for zimbra.local
cat <<EOT >> /etc/hosts

192.168.0.62 zimbra.local
EOT

# setup and restart dnsmasq
chkconfig dnsmasq on
service dnsmasq restart

Disable SELinux

Edit /etc/selinux/config

Stop conflicting applications

chkconfig postfix off
service postfix stop

chkconfig iptables off
service iptables stop

Fix PAM error message

Error message due to text installer bug:

PAM adding faulty module: /lib64/security/pam_fprintd.so: 1256 Time(s)
PAM unable to dlopen(/lib64/security/pam_fprintd.so): /lib64/security/pam_fprintd.so:
 cannot open shared object file: No such file or directory: 1256 Time(s) 

Fix it by:

authconfig --disablefingerprint --update

Install

Extract the downloaded package and:

./install.sh --platform-override
zimbra/installation_on_centos_6.txt · Last modified: 2011-12-15 14:55 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0