




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、一:修改主机名:rootlyt # vim /etc/sysconfig/networkrootlyt # vim /etc/hostsrootlyt # service sendmail stoprootlyt # chkconfig sendmail off #关闭sendmailrootlyt # init 6 #重启计算机二:搭建dns服务器:rootmail # mkdir /mnt/cdrom
2、 #新建挂载点rootmail # mount /dev/cdrom /mnt/cdrom/ #挂载光盘rootmail # cd /mnt/cdrom/Server/rootmail Server# rpm -ivh bind-9.3.6-4.P1.el5.i386.rpm #安装dns主程序rootmail Server# rpm -ivh bind-chroot-9.3.6-4.P1.el5.i386.rpm &
3、#160; #安装与dns安全相关的软件包rootmail Server# rpm -ivh caching-nameserver-9.3.6-4.P1.el5.i386.rpm #安装与缓存相关的软件包rootmail Server# cd /var/named/chroot/etc/rootmail etc# cp -p named.caching-nameserver.conf named.conf rootmail etc# vim named.conf
4、160; #编辑dns的主配置文件rootmail etc# vim named.rfc1912.zones #编辑dns区域声明文件1 / 8rootmail etc# cd ./var/named/rootmail named# cp -p localhost.zone .dbrootmail named# vim .db #编辑数据库文件 r
5、ootmail named# vim /etc/resolv.confrootmail named# service named start #启动dnsrootmail named# chkconfig named on #设置开机自动启动三:搭建postfix:rootmail named# cd /mnt/cdrom/Server/rootmail Server# rpm -ivh postfix-2.3.3-
6、2.1.el5_2.i386.rpm #安装postfix软件包rootmail Server# vim /etc/postfix/main.cf #编辑postfix主配置文件除了以上截图外,还需要添加以下内容:broken_sasl_auth_clients = yes #客户端需要
7、经过身份验证 smtpd_sasl_auth_enable = yes #客户端需要经过身份验证 smtpd_sasl_security_options = noanonymous #不允许匿名发送 smtpd_sasl_application_name = smtpd
8、 smtpd_client_restrictions = permit_sasl_authenticated,reject #发送方需要经过认证,没经过认证的拒绝 #smtpd_client_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
9、 #接收本地network的,经过认证的,非认证的拒绝rootmail Server# service saslauthd start #启动sasl验证功能rootmail Server# chkconfig saslauthd on #设置为开机自动启动rootmail Server# service postfix startrootmail Server# chkconfig postfix on四:安装squirrel
10、mail:rootmail Server# vim /etc/yum.repos.d/rhel-debuginfo.repo #编辑yumrootmail Server# yum install squirrelmail y #安装squirrelrootmail Server# service httpd start #启动httpdrootmail Server# chkconfig httpd on
11、 #设置开机自动启动rootmail Server# cd /var/www/html/rootmail html# ln -s /usr/share/squirrelmail/ mail #创建符号连接mailrootmail html# cdrootmail # cd /var/www/html/mail/rootmail mail# cd config/rootmail config# ./conf.pl
12、60; #对web页面进行设置rootmail config# vim /etc/httpd/conf/httpd.conf #修改apache的配置文件rootmail config# service httpd restart五:安装dovecot:rootmail config# cd /mnt/cdrom/Server/rootmail Server# yum install dovecot y #使用yum安装dovecotrootmail Server# service dovecot startrootmail Server# chkconfig dovecot on六:创建用户:rootmail Serv
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 医疗大数据管理隐私保护法规的解读与实施
- 医疗行业创新方向对话式技术在诊疗中的运用
- 医疗信息技术在商业保险中的价值挖掘
- 医院信息化建设与流程优化探讨
- 销售人员活动总结
- 医用废物处理及环保安全规范
- 帕金森病(早发型青年型)的临床护理
- 2025年小学教师教育技术能力培训总结模版
- 2025年春季预防性试验工作总结模版
- 义齿公司员工合同范例
- 【高中物理竞赛专题大全】竞赛专题1力学50题竞赛真题强化训练解析版
- 北师大版高中英语选择性必修四全册课文及翻译(中英文Word)
- 《2023中国会议统计分析报告》
- 上消化道出血病人的护理
- The three wishes课外阅读故事(说课稿)-2022-2023学年英语五年级上册
- SHL7.0-1.09570-AⅡ热水锅炉设计-毕业论文
- 《伊利乳业集团企业内部审计存在的问题及优化对策分析案例(论文)10000字》
- DB65T 2283-2005新疆平原杨树人工林二元立木材积表
- 生产过程时间组织教材
- 2023年副主任医师(副高)-急诊医学(副高)考试历年高频考点真题附带含答案
- 三晶8000B系列变频器说明书
评论
0/150
提交评论