烧录光碟 (若使用VMWare,则複製到伺服器后,选择光碟机并指向该ISO档桉)
安装 CentOS 6.0
安装过程中,可选择硬碟partition分割为: BOOT/100MB,SWAP/4000MB,其馀的空间设定LVM并分割给 /。
选择安装为 Basic Server。
安装完成后重开机。
以root帐号登入。
设定网卡IP[root@mail ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0″HWADDR="09:00:26:70:84:BE"NM_CONTROLLED="no"ONBOOT="yes"
设定 network 档桉[root@mail ~]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=mail.domainname.com
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.32.156 mail.domainname.com mail
停用SELinux[root@mail ~]# vi /etc/selinux/config
SELINUX=diabledSELINUXTYPE=targeted
停用iptables / ip6tables[root@mail ~]# chkconfig iptables off
[root@mail ~]# chkconfig ip6tables off
并写入以下内容:
;
; Addresses and other host information.
;
@ IN SOA domainname.com. admin.domainname.com. (
2011030801 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS ns.domainname.com.
IN A 192.168.32.156
IN MX 10 mail.domainname.com.mail IN A 192.168.32.156
ns IN A 192.168.32.156
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";statistics-file "/var/named/data/named_stats.txt";
Address: 127.0.0.1#53
Zimbra 7.1.3 Opensource 系统安装
[root@mail ~]# cd /download
[root@mail ~]# ./install.sh –platform-override
下列安装项目直接按ENTER即可。
Install zimbra-ldap [Y]
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [N]
Install zimbra-proxy [N]You appear to be installing packages on a platform different
than the platform for which they were built.
Packages found: RHEL5_64
This may or may not work.
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.
The system will be modified. Continue? [N] y
输入密码完成后,选择r,然后a来储存设定。
最后安装精灵会询问是否通知Zimbra,输入no。Notify Zimbra of your installation? [Yes] no
登入系统管理画面https://mail.domainname.com:7071
或
[zimbra@mail ~]# zmprov sp <admin email address> <new password>
[root@mail ~]# ./install.sh –u
[root@mail ~]# cd /opt
[root@mail ~]# rm –rf zimbra