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"
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
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
Edit /etc/selinux/config
chkconfig postfix off service postfix stop chkconfig iptables off service iptables stop
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
Extract the downloaded package and:
./install.sh --platform-override