Ubuntu 8.04 Server下安装Zimbra6.07流程如下:
1、配置perl版本为5.8
如果你的ubunut是10.04版本的话,就需要把原来的perl版本卸载掉,因为版本太高。
在zimbra中写定了使用的perl版本号是5.8,所以需要安装perl5.8
2、安装bind9并配置hosts
这一步非常重要
#apt-get install bind9
配置bind
#vi /etc/bind/name.conf
添加如下内容
zone "test1.com" {
type master;
file "/etc/bind/db.test1.com";
};
zone "3.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192.168.3";
};
# vi /etc/bind/db.test1.com
内容为:
;BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
@ IN SOA test1.com. root.test1.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.3.193
mail IN A 192.168.3.193
#vi /etc/bind/db.192.168.3
内容为:
;BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
@ IN SOA test1.com. root.test1.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
IN NS mail.test1.com.
193 IN PTR mail.test1.com.
#/etc/init.d/bind9 restart
测试bind配置
#nslookup
> server mail.test1.com
Default server: mail.test1.com
Address: 192.168.3.193#53
就ok了
#p#
3、vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.193
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
gateway 192.168.3.1
这个东西改成我这样,很好改 ifconfig看一下就可以了,就是给服务器一个固定模式的IP
4、 /etc/init.d/networking restart
5、vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.3.193 mail.test1.com mail
6、echo mail.test1.com > /etc/hostname
5跟6的DNS要一样啊,这是安装前准备的关键。
通过文章的描述,我们可以通过六大步实现Ubuntu 8.04 Server下Zimbra6.07的安装,希望对你们有所帮助!
【编辑推荐】