Ubunt Server 14.04 安装 Zimbra 邮件服务器
来源:互联网 发布:警用证件夹淘宝 编辑:程序博客网 时间:2024/05/29 18:39
我的Ubuntu Server是安装在虚拟机上的,安装系统服务时,只选择SSH服务,等待系统安装完成。
一、首先配置网络环境,保证Ubuntu Server能够正常上网。
1. 设置静态IP地址 vi /etc/network/interfaces
点我试试
2. 修改hosts,vi /etc/hosts
192.168.10.98 mail.mailman.com mail// 我的Ubuntu主机名是mail
二、 安装配置bind
1. 安装bind9
apt-get install bind9如果提示没有包,就要更新Ubuntu的安装源apt-get updateapt-get upgrade
2. 添加zone:
vi /etc/bind/named.conf.local
3. 根据named.conf.local
中的路径创建db.mymails.com
vi /etc/bind/db.mailman.com
4. 设置DNS
vi /etc/resolv.conf,增加
【注意】
需要在/etc/network/interfaces同时添加一行 nameserver 192.168.10.98
。
如果没有,系统重启后,resolv.conf会被重写,导致设置无效。
5. 启动bind9服务
service bind9 restart
注意:配置文件中行首是用Tab键分隔,不是用空格!
我配置好后,启动bind服务报错[fail],
后来用 named -g
检查,提示unkonwn option forwardrs
,
重新修改named.conf.options
文件,将8.8.8.8
前面的空格改为Tab后重新启动bind9服务正常。
6. 测试
host mail.mailman.com
四、下载Zimbra的安装包
两种方式:
1. 在windows平台,点我下载 选择对应的版本(开源版本),然后FileZilla传给Ubuntu
2. 在Ubuntu 的命令行:
wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz
五、安装Zimbra
1. 安装一些必备的Zimbra依赖库(如果不安装依赖库,在后面install时也会被提示中止安装)
apt-get install sudo libgmp3c2 libpcre3 libgmp3-dev sysstat libexpat1 wget netcat-openbsd pax sqlite3apt-get remove sendmail sendmail-bin
如果提示Unable to locate package libgmp3c2
,单独下载安装:
wget http://th.archive.ubuntu.com/ubuntu/pool/universe/g/gmp4/libgmp3c2_4.3.2+dfsg-2ubuntu1_amd64.debdpkg -i libgmp3c2_4.3.2+dfsg-2ubuntu1_amd64.deb
2. 将 .tgz 压缩包复制到你希望的文件目录下,tar解压,cd进入安装目录
tar xzvf zcs*cd zcs*
3. 安装
./install.sh
Do you agree with the terms of the software license agreement?
–输入Y
Use Zimbra's package repository [Y]
– 一开始输入Y
不能下载安装包,后来输入 N
成功了
Select the packages to install
– 全部输入Y
The system will be modified. Continue? [N]
– 输入Y
开始Downloading packages
,进入漫长的等待……
如果你的网速不够快,你会以为系统挂了……
It is suggested that the hostname be resolvable via DNSChange hostname [Yes]
根据提示实际情况确认,我这里输入no
It is suggested that the domain name an MX record configured in DNSChange domain name? [Yes]
根据提示实际情况确认,我这里输入yes
改成mailman.com
Checking for port conflictsPort conflict detected: 53 (zimbra-dnscache)Port conflict detected: 53 (zimbra-dnscache)Port conflict detected: 53 (zimbra-dnscache)port conflict detected! Press Enter/Return key to continue
意思是端口冲突。解决方法:
再开一个远程登录关闭postfix /etc/init.d/postfix stop
我这里直接回车跳过
输入7
选择zimbra-store
设置Admin Password
后输入r
重新进入Main menu
,提示apply config
,输入a
等待…… Notify Zimbra of your installation? [Yes]
–输入NO
Configuration complete - press return to exit
回车
reboot
重启系统
在浏览器输入https://192.168.10.98
Zimbra邮件服务器,相当的吃内存
- Ubunt Server 14.04 安装 Zimbra 邮件服务器
- Zimbra邮件服务器的安装与配置
- CentOS 7.0安装Zimbra 8.6邮件服务器
- Zimbra邮件服务器证书过期解决办法
- Centos 7 搭建 Zimbra 邮件服务器
- zimbra 邮件服务器是设置黑名单
- Zimbra邮件服务器功能扩展(备份,聊天,管理)
- 安装Zimbra
- zimbra安装
- “ubunt Server最佳方案”个人学习笔记之安装心得
- Zimbra 安装 SSL 证书
- ubunt git server 搭建
- Zimbra安装成功后,邮件发送失败!!急!!发生错误 (mail.TRY_AGAIN),原因不详。
- ubunt 10.04安装winetricks
- jad ubunt安装
- ubunt 下安装vim
- ubunt IntelliJ IDE 安装
- Ubunt下安装postgresql
- Deeplab v3 | Rethinking Atrous Convolution for Semantic Image Segmentation
- .net开发中URL传多个值时如何处理?
- mybatis <foreach>标签
- RocketMq在windows配置启动
- 判断是字符串是否包含某字符串
- Ubunt Server 14.04 安装 Zimbra 邮件服务器
- android 线程状态 Thread类
- Ubuntu 和win 10 双系统出现WIFI不能使用的情况
- VisualStateManager控件状态利器 详解
- css巧用position
- windows搭建Visual SVN服务器后无法修改Server name
- LNMP安装Docker
- SpringMVC_Spring_Mybits框架整合记录
- c++入门基础知识