整个系统的安装全过程都要求以root身份执行,如果机器没有访问外部网络的能力,则事先下载好EMOS光盘映像,并上传到服务器。
备注:如果要在CentOS 5.x-x86_64上面进行配置,请下载EMOS_1.5_x86_64.iso,配置的文件的路径有少许改变;
shell
使用EMOS-1.5.ISO光盘制作本地 yum 仓库;
此外,我们假设本次安装默认域是extmail.org,主机名为:mail.extmail.org
安装CentOS-5.3光盘中createrepo工具
shell
加载EMOS-1.5的光盘,请把emos的光盘放到光驱中
shell
备注:加载ISO的方法
shell
shell
加入以下内容:
[EMOS] name=EMOS baseurl=file:///mnt/ enabled=1 gpgcheck=0
重新获取最新的仓库信息:
shell
当你没有EMOS的光盘,但是服务器可以联网时,你可以直接采用Extmail官网的yum源
shell
加入以下内容:
# EMOS-Base.repo # # Created by ExtMail Dev Team: http://www.extmail.org/ # # $Id$ [EMOS-base] name=EMOS-Base baseurl=http://mirror.extmail.org/yum/emos/1.5/os/$basearch/ gpgcheck=0 priority=0 protect=0 [EMOS-update] name=EMOS-Updates baseurl=http://mirror.extmail.org/yum/emos/1.5/updates/$basearch/ gpgcheck=0 priority=0 protect=0
保存后,然后尝试执行一下yum list 等操作,看看是否已经成功;