CentOS6.5下安装iRedMail中需要解决的问题
iRedMail是个专门用于Redhat/CentOS下的企业Mail服务集成安装软件包,本来只要有干净的系统就可以轻松安装,无奈国内网络状况和墙头众多,安装中也有很多问题需要解决,下面记录的都是我安装之中所遇到问题,特记录下来备忘。
一、安装
1,首先要替换系统的yum源到国内的镜像源,否则用yum安装软件太痛苦了,我用的是163的yum源服务,参见CentOS YUM 国内镜像 。
2,不要安装php,apache之类的软件,保持系统尽量干净,iRedMail安装过程中会自动下载并安装所需软件包,否则版本不对还造成麻烦,辛辛苦苦的设置也会被覆盖掉!
3,iRedMail.org不明原因被墙,幸亏有了国内镜像服务,所以要访问iredmail.com下载安装包。
4,iRedMail安装包解开后,pkgs/get_all.sh这个脚本中都是指向iredmail.org,使用编辑器全部替换为iredmail.com。然后在执行这个脚本。
5,执行主目录下的iRedMail.sh时,根据我的经验不可能一次执行成功,主要有三个问题引起:
1)访问国外网站不够快,造成超时报错,重复执行脚本即可,安装脚本会从上次断点开始执行(万幸有此功能!)
2)脚本执行中可能回报YUM BaseUrl之类的错误,需要编辑/etc/yum.repos.d/CentOS_Base.repo,将文件里面的“$releasever”全部替换为“6”。(注:不包括引号,6就是系统的主版本)
[root@mail2 iRedMail-0.8.]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base - .com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#gpgcheck=
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#
##released updates
#[updates]
#name=CentOS-$releasever - Updates - .com
#baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
##mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#gpgcheck=
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#
##additional packages that may be useful
#[extras]
#name=CentOS-$releasever - Extras - .com
#baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
##mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#gpgcheck=
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#
##additional packages that extend functionality of existing packages
#[centosplus]
#name=CentOS-$releasever - Plus - .com
#baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
##mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#gpgcheck=
#enabled=
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#
##contrib - packages by Centos Users
#[contrib]
#name=CentOS-$releasever - Contrib - .com
#baseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/
##mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#gpgcheck=
#enabled=
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
3)iRedMail.sh脚本还会安装一个epel.repo,里面启用了几个镜像列表设置,这可能也会导致报错,打开此文件,取消baseurl前面的注释,然后注释掉mirrorlist这一行。
[root@mail2 iRedMail-0.8.]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux - $basearch
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=
gpgcheck=
二、其他
1,roundcube webmail 左上角logo替换,在/var/www/roundcubemail-v.v.v/skins/xxx/includes/header.html
2,iredadmin可以管理多个域名,配合域名解析和mx记录设置即可。
CentOS6.5下安装iRedMail中需要解决的问题的更多相关文章
- Centos6.4下安装protobuf-c问题及解决办法
1.前言 protobuf是Google提供的结构持久化工具,类型XML,但要比XML更加灵活,效率要高.protobuf当初支持C++.JAVA和Python,后来有了支持C语言的Protobuf- ...
- CentOS6.5下安装Apache2.4+PHP7
CentOS6.5下安装Apache2.4+PHP7 http://blog.csdn.net/along602/article/details/42695779 http://www.th7.cn/ ...
- coreseek/sphinx CentOS6.4下安装
一.在CentOS6.4下安装coreseek之前需要预先安装以下软件 1.打开终端 输入 su 获取管理员权限 2.输入命令 yum install make gcc g++ gcc-c++ lib ...
- centos6.7下安装配置vnc
vnc是一款使用广泛的服务器管理软件,可以实现图形化管理,下面简单介绍一下如何在centos6.7下安装vnc. 1.安装vncserver yum install tigervnc tigervnc ...
- CentOS6.5下安装apache2.2和PHP 5.5.28
CentOS6.5下安装apache2.2 1. 准备程序 :httpd-2.2.27.tar.gz 下载地址:http://httpd.apache.org/download.cgi#apache2 ...
- 在CentOS6.8下安装Docker
在CentOS6.8下安装Docker 一.查看系统版本 [root@localhost opt]# uname -a Linux localhost.localdomain -.el6.x86_64 ...
- 建站笔记1:centos6.5下安装mysql
近期买了个域名,想要玩玩自己建站点:接下来遇到的问题都会一次记录下来.以备自己以后复习查看: 首先建站方案选择: wordPress +centos6.5 +mysql; server买的:搬瓦工最低 ...
- CentOS6.5下安装JDK1.7+MYSQL5.5+TOMCAT7+nginx1.7.5环境安装文档
----------------CentOS6.5下安装JDK1.7+MYSQL5.5+TOMCAT7+nginx1.7.5环境安装文档----------------------- [JDK1.7安 ...
- 【转载】CentOS6.5_X64下安装配置MongoDB数据库
[转载]CentOS6.5_X64下安装配置MongoDB数据库 2014-05-16 10:07:09| 分类: 默认分类|举报|字号 订阅 下载LOFTER客户端 本文转载自zhm&l ...
随机推荐
- oc调javascript方法(evaluateJavaScript:)&&js给oc发通知
在ios8中引入了WKWebView控件,通过在头文件引用 #import <WebKit/WebKit.h>来使用该控件, 这个控件与oc的原生控件uiwebview很相似,它更方便oc ...
- Loadrunner集合点Rendezvous知识
摘自: http://blog.csdn.net/richnaly/article/details/7967364 集合点的意思时等到特定的用户数后再一起执行某个操作,比如一起保存,一起提交(我们通常 ...
- jQuery实现radio第一次点击选中第二次点击取消功能(转)
转载自:http://www.jb51.net/article/113730.htm 由于项目的需求,要求radio点击两次后为取消状态,不方便修改为checkbox,可以用正面的方法实现. // j ...
- [script]判定dd是否成功
判定方式 #!/bin/bash > result.dd retval=`grep "copied" result.dd | awk '{print $1}'` filesi ...
- 树莓派3B+首次登陆通过网络
树莓派3B+默认串口不能登录,即使可使用可需要通过连线方式连接,如何才能直接通过网络ssh登录树莓派呢? 串口问题及使用 树莓派3的UART串口的使用问题,该串口问题的官方反馈及回复请参考这两篇官方博 ...
- an error has occurred while trying to access the log file. logging may not function properly
I had this issure a couple of days ago when open my vs2012 on windows8,by google i find the soluth ...
- hbase源码系列(一)Balancer 负载均衡
看源码很久了,终于开始动手写博客了,为什么是先写负载均衡呢,因为一个室友入职新公司了,然后他们遇到这方面的问题,某些机器的硬盘使用明显比别的机器要多,每次用hadoop做完负载均衡,很快又变回来了. ...
- 纯css 404
<section class="center"> <article> <h1 class="header"> 404< ...
- java将doc文件转换为pdf文件的三种方法
http://feifei.im/archives/93 —————————————————————————————————————————————— 项目要用到doc转pdf的功能,一番google ...
- JAVA :Jpanel 控件 无法显示问题
http://blog.csdn.net/gcangle/article/details/8222005 ——————————————————————————————————————————————— ...