Ubuntu 8.04 Server下安裝Zimbra6.07流程
Ubuntu 8.04 Server下安裝Zimbra6.07流程如下:
1、配置perl版本為5.8
如果你的ubunut是10.04版本的話,就需要把原來(lái)的perl版本卸載掉,因?yàn)榘姹咎摺?/p>
在zimbra中寫(xiě)定了使用的perl版本號(hào)是5.8,所以需要安裝perl5.8
2、安裝bind9并配置hosts
這一步非常重要
#apt-get install bind9
配置bind
#vi /etc/bind/name.conf
添加如下內(nèi)容
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
內(nèi)容為:
;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
內(nèi)容為:
;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
測(cè)試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
這個(gè)東西改成我這樣,很好改 ifconfig看一下就可以了,就是給服務(wù)器一個(gè)固定模式的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要一樣啊,這是安裝前準(zhǔn)備的關(guān)鍵。
通過(guò)文章的描述,我們可以通過(guò)六大步實(shí)現(xiàn)Ubuntu 8.04 Server下Zimbra6.07的安裝,希望對(duì)你們有所幫助!
【編輯推薦】