|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
小知识:得益于极为出色的稳定性,全球范围内无数著名网站均选用它,CentOS是异次元的服务器也是!
装置搭建zimbra邮件办事器(yum搭建,dns搭建)
简介:
Zimbra不同凡响的特色是其“Zimlet”收集办事供给了更多的电子邮件功效。例如,人们可以简略地用鼠标点击电子邮件法式中的航班信息以检讨航班的状态。用户还可以在电子邮件中跟踪FedEx公司的送达情形而且取得地图、股票和其它信息。
Zimbra的焦点产物是Zimbra协作套件(ZimbraCollaborationSuite,简称ZCS)。除它的焦点功效是电子邮件和日程支配办事器,固然还包含很多其它的功效,就象是下一代的微软Exchange。在电子邮件和日程支配以外,它还供给文档存储和编纂、即时新闻和一个应用获奖技巧开辟的全功效的治理掌握台。ZCS同时也供给挪动装备的支撑,和与安排于Windows、Linux或apple操作体系中的桌面法式的同步功效。
装置需求及设置装备摆设情况
Centos5.5纯洁版
固定IP:192.168.20.98
装置httpd办事
搭建DNS办事器
域名为:xiaolu.com并解析为mail.xiaolu.com
封闭防火墙
禁用selinux
禁用sendmail
装置gcc、java、sysstat
装置sudo、libidn、gmp、perl、sqlite
Zimbra软件包:zcs-7.0.1_GA_3105.RHEL5.20110304210448.tgz
1、设置装备摆设yum,装置设置装备摆设情况
1)挂载光盘,记载挂载地位
#mount/dev/cdrom/mnt/cdrom/
2)修正设置装备摆设文件。
#vi/etc/yum.repos.d/CentOS-Media.repo
[c5-media]
name=CentOS-$releasever-Media
baseurl=file:///media/CentOS/
file:///mnt/cdrom/此处为光盘挂载地位
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
保留加入
验证能否胜利。履行敕令yumlist将会列出rpm列表
3)应用yum装置响应软件
Yuminstallgcc*
yuminstalljava*
yuminstallsysstat*
yuminstallsudo*
yuminstallgmp*
yuminstallperl*
yuminstallsqlite*
4)装置httpd办事
办法一样,应用yum装置
yuminstallhttp*
5)封闭防火墙
Serviceiptablesstop
Chkconfigiptablesoff
6)禁用selinux
#vi/etc/selinux/config
SELINUX=disabled
7)禁用sendmail
Servicesendmailstop
Chkconfigsendmailoff
2、装置设置装备摆设dns办事器
1)应用yum源装置dns办事器
#yuminstallbind*
2)设置装备摆设dns办事器
#vi/var/named/chroot/etc/named.conf修正dns主设置装备摆设文件
#vi/var/named/chroot/var/named/xiaolu.com.zone设置装备摆设解析文件
#vi/etc/resolv.conf修正resolv,添加dns地址
nameserver192.168.20.98添加当地解析
3)修正hosts文件
#vi/etc/hosts
127.0.0.1localhost.localdomainlocalhost
::1localhost6.localdomain6localhost6
192.168.20.98mail.xiaolu.commail
4)修正主机名
#vi/etc/sysconfig/network
HOSTNAME=mail.xiaolu.com
5)
3、装置zimbra
1)解压zimbra源码包
#tar-zxmfzcs-7.0.1_GA_3105.RHEL5.20110304210448.tgz
#mvzcs-7.0.1_GA_3105.RHEL5.20110304210448zimbra更名字
2)履行剧本
#./install.sh--platform-override
以下为问答交互式:
Operationsloggedto/tmp/install.log.3668
Checkingforexistinginstallation...
zimbra-ldap...NOTFOUND
zimbra-logger...NOTFOUND
zimbra-mta...NOTFOUND
zimbra-snmp...NOTFOUND
zimbra-store...NOTFOUND
zimbra-apache...NOTFOUND
zimbra-spell...NOTFOUND
zimbra-convertd...NOTFOUND
zimbra-memcached...NOTFOUND
zimbra-proxy...NOTFOUND
zimbra-archiving...NOTFOUND
zimbra-cluster...NOTFOUND
zimbra-core...NOTFOUND
PLEASEREADTHISAGREEMENTCAREFULLYBEFOREUSINGTHESOFTWARE.
ZIMBRA,INC.("ZIMBRA")WILLONLYLICENSETHISSOFTWARETOYOUIFYOU
FIRSTACCEPTTHETERMSOFTHISAGREEMENT.BYDOWNLOADINGORINSTALLING
THESOFTWARE,ORUSINGTHEPRODUCT,YOUARECONSENTINGTOBEBOUNDBY
THISAGREEMENT.IFYOUDONOTAGREETOALLOFTHETERMSOFTHIS
AGREEMENT,THENDONOTDOWNLOAD,INSTALLORUSETHEPRODUCT.
LicenseTermsfortheZimbraCollaborationSuite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html
Doyouagreewiththetermsofthesoftwarelicenseagreement?[N]能否持续选择Y
Checkingforinstallablepackages
Foundzimbra-core
Foundzimbra-ldap
Foundzimbra-logger
Foundzimbra-mta
Foundzimbra-snmp
Foundzimbra-store
Foundzimbra-apache
Foundzimbra-spell
Foundzimbra-memcached
Foundzimbra-proxy
Selectthepackagestoinstall发明了须要装置的包,坚持默许便可
Installzimbra-ldap[Y]
Installzimbra-logger[Y]
Installzimbra-mta[Y]
Installzimbra-snmp[Y]
Installzimbra-store[Y]
Installzimbra-apache[Y]
Installzimbra-spell[Y]
Installzimbra-memcached[N]
Installzimbra-proxy[N]
Checkingrequiredspaceforzimbra-core
checkingspaceforzimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
Youappeartobeinstallingpackagesonaplatformdifferent
thantheplatformforwhichtheywerebuilt.
ThisplatformisCentOS5
Packagesfound:RHEL5
Thismayormaynotwork.
Usingpackagesforaplatforminwhichtheywerenotdesignedfor
mayresultinaninstallationthatisNOTusable.Yoursupport
optionsmaybelimitedifyouchoosetocontinue.
Installanyway?[N]选择yes开端装置
Thesystemwillbemodified.Continue?[N]y选择y持续装置
Checkingforportconflicts
Mainmenu
1)CommonConfiguration:
2)zimbra-ldap:Enabled
3)zimbra-store:Enabled
+CreateAdminUser:yes
+Adminusertocreate:admin@xiaolu.com
*******+AdminPasswordUNSET
+Anti-virusquarantineuser:virus-quarantine.u65u6xuf@xiaolu.com
+Enableautomatedspamtraining:yes
+Spamtraininguser:spam.6da5u3v5v@xiaolu.com
+Non-spam(Ham)traininguser:ham.cs0jug2hzc@xiaolu.com
+SMTPhost:mail.xiaolu.com
+WebserverHTTPport:80
+WebserverHTTPSport:443
+Webservermode:http
+IMAPserverport:143
+IMAPserverSSLport:993
+POPserverport:110
+POPserverSSLport:995
+Usespellcheckserver:yes
+SpellserverURL:http://mail.xiaolu.com:7780/aspell.php
+Configureforusewithmailproxy:FALSE
+Configureforusewithwebproxy:FALSE
+Enableversionupdatechecks:TRUE
+Enableversionupdatenotifications:TRUE
+Versionupdatenotificationemail:admin@xiaolu.com
+Versionupdatesourceemail:admin@xiaolu.com
4)zimbra-mta:Enabled
5)zimbra-snmp:Enabled
6)zimbra-logger:Enabled
7)zimbra-spell:Enabled
8)DefaultClassofServiceConfiguration:
r)Startserversafterconfigurationyes
s)Saveconfigtofile
x)Expandmenu
q)Quit
Addressunconfigured(**)items(?-help)选择3选择4输出治理暗码
Storeconfiguration
1)Status:Enabled
2)CreateAdminUser:yes
3)Adminusertocreate:admin@xiaolu.com
4)AdminPasswordset
5)Anti-virusquarantineuser:virus-quarantine.u65u6xuf@xiaolu.com
6)Enableautomatedspamtraining:yes
7)Spamtraininguser:spam.6da5u3v5v@xiaolu.com
8)Non-spam(Ham)traininguser:ham.cs0jug2hzc@xiaolu.com
9)SMTPhost:mail.xiaolu.com
10)WebserverHTTPport:80
11)WebserverHTTPSport:443
12)Webservermode:http
13)IMAPserverport:143
14)IMAPserverSSLport:993
15)POPserverport:110
16)POPserverSSLport:995
17)Usespellcheckserver:yes
18)SpellserverURL:http://mail.xiaolu.com:7780/aspell.php
19)Configureforusewithmailproxy:FALSE
20)Configureforusewithwebproxy:FALSE
21)Enableversionupdatechecks:TRUE
22)Enableversionupdatenotifications:TRUE
23)Versionupdatenotificationemail:admin@xiaolu.com
24)Versionupdatesourceemail:admin@xiaolu.com
Select,orrforpreviousmenu[r]输出R前往主菜单
Mainmenu
1)CommonConfiguration:
2)zimbra-ldap:Enabled
3)zimbra-store:Enabled
4)zimbra-mta:Enabled
5)zimbra-snmp:Enabled
6)zimbra-logger:Enabled
7)zimbra-spell:Enabled
8)DefaultClassofServiceConfiguration:
r)Startserversafterconfigurationyes
s)Saveconfigtofile
x)Expandmenu
q)Quit
***CONFIGURATIONCOMPLETE-pressatoapply
Selectfrommenu,orpressatoapplyconfig(?-help)a选择a保留
Saveconfigurationdatatoafile?[Yes]选择yes开端设置装备摆设数据文件
YouhavetheoptionofnotifyingZimbraofyourinstallation.
ThishelpsustotracktheuptakeoftheZimbraCollaborationSuite.
Theonlyinformationthatwillbetransmittedis:
TheVERSIONofzcsinstalled(7.0.1_GA_3105_CentOS5)
TheADMINEMAILADDRESScreated(admin@xiaolu.com)
NotifyZimbraofyourinstallation?[Yes]yes选择yes
NotifyingZimbraofinstallationviahttp://www.zimbra.com/cgi-bin/notify.cgi?VER=7.0.1_GA_3105_CentOS5&MAIL=admin@xiaolu.com
Notificationcomplete
Startingservers...done.
Installingcommonzimlets...
com_zimbra_date...done.
com_zimbra_social...done.
com_zimbra_srchhighlighter...done.
com_zimbra_email...done.
com_zimbra_cert_manager...done.
com_zimbra_webex...done.
com_zimbra_adminversioncheck...done.
com_zimbra_bulkprovision...done.
com_zimbra_linkedin...done.
com_zimbra_attachcontacts...done.
com_zimbra_attachmail...done.
com_zimbra_url...done.
com_zimbra_dnd...done.
com_zimbra_phone...done.
Finishedinstallingcommonzimlets.
Restartingmailboxd...done.
Settingupzimbracrontab...done.
Moving/tmp/zmsetup.08012011-134423.logto/opt/zimbra/log
Configurationcomplete-pressreturntoexit到这一步假如没有报错,就完成了!
3)拜访治理后台,经由过程域名或IP地址拜访,加端口:7071
https://192.168.20.98:7071治理后台https://mail.xiaolu.com:7071
http://192.168.20.98前台页面http://mail.xiaolu.com
4)页面展现:
附件设置装备摆设为:DNS设置装备摆设文件。请参阅!
小知识:CentOS出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的RedHatEnterpriseLinux使用。 |
|