2015年10月28日 星期三

Zimbra

環境:
ISO 檔 -> CentOS-7-x86_64-Minimal-1503-01.iso
VM -> CPU:1CORE,RAM:4G,HD:200G,網卡:VMXNET 3

OS版本 -> CentOS Linux release 7.1.1503 (Core)
cat /etc/centos-release

打開啟用網路、設定IP(192.168.10.99)、hostname(zmail.gg168.com)
nmtui

安裝 perl
 yum install perl

安裝 VMwareTools mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp /mnt/cdrom/VMwareTools-9.10.0-2476743.tar.gz /tmp/
cd /tmp
tar -zxvpf VMwareTools-9.10.0-2476743.tar.gz
 cd vmware-tools-distrib/
./vmware-install.pl

刪除 VMwareTools 安裝檔、壓縮檔
 rm -rf vmware-tools-distrib VMwareTools-9.10.0-2476743.tar.gz

reboot 鳥哥最常用來重新開機的指令(或關機),可以配合寫入緩衝資料的 sync 指令動作
sync; sync; sync; reboot

檢查是否有執行
 /etc/init.d/vmware-tools status

yum install sudo sysstat libidn gmp libtool-ltdl compat-glib vixie-cron perl libstdc++.i686 nc unzip perl-core wget nmap sqlite -y

安裝 ifconfig
yum provides ifconfig
yum whatprovides ifconfig
yum install net-tools
# #安裝 traceroute
yum install  traceroute

vi /etc/hosts
只留這一行>>192.168.10.99 zmail.gg168.com zmail

chkconfig postfix off
service postfix stop
chkconfig sendmail off
service sendmail stop
vi /etc/sudoers
chkconfig iptables off
service iptables stop
chkconfig ip6tables off
service ip6tables stop

vi /etc/sysconfig/selinux
>>SELINUX=disabled

關防火牆 http://note.tc.edu.tw/932.html
service firewalld stop

下載安裝 zimbra
cd /tmp
wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz
tar -zxvpf  zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz
./install.sh

安裝完成後選項
6-4) Admin Password                           UNSET>>Password for admin@zimbra.168gg.com (min 6 characters): [SBmeBXtA] password
1-6) TimeZone:                                Asia/Taipei >> 57

檢視狀態
zimbra@zimbra:/~$ zmcontrol status

檢視憑證
/opt/zimbra/bin/zmcertmgr  viewdeployedcrt all |grep notAfter

安裝參考網址:
http://www.unixmen.com/install-zimbra-collaboration-suite-8-6-0-centos-7/
http://blog.revivalx.com/2015/03/10/how-to-install-zimbra-collaboration-suite-8-6-0-on-centos-7/
https://itservices.stanford.edu/service/emailcalendar/desktop/outlook/gal