版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、一:修改主机名:rootlyt # vim /etc/sysconfig/networkrootlyt # vim /etc/hostsrootlyt # service sendmail stoprootlyt # chkconfig sendmail off #关闭sendmailrootlyt # init 6 #重启计算机二:搭建dns服务器:rootmail # mkdir /mnt/cdrom #新建挂载点rootmail # mount /dev/cdrom /mnt/cdrom/ #挂载光盘rootmail # cd /mnt/cdrom/Server/rootmail Ser
2、ver# 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 #安装与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.con
3、f named.confrootmail etc# vim named.conf #编辑dns的主配置文件rootmail etc# vim named.rfc1912.zones #编辑dns区域声明文件rootmail etc# cd ./var/named/rootmail named# cp -p localhost.zone 163.com.dbrootmail named# vim 163.com.db #编辑数据库文件rootmail named# vim /etc/resolv.confrootmail named# service named start #启动dnsroot
4、mail named# chkconfig named on #设置开机自动启动三:搭建postfix:rootmail named# cd /mnt/cdrom/Server/rootmail Server# rpm -ivh postfix-2.3.3-2.1.el5_2.i386.rpm #安装postfix软件包rootmail Server# vim /etc/postfix/main.cf #编辑postfix主配置文件除了以上截图外,还需要添加以下内容:broken_sasl_auth_clients = yes #客户端需要经过身份验证smtpd_sasl_auth_enabl
5、e = yes #客户端需要经过身份验证smtpd_sasl_security_options = noanonymous #不允许匿名发送smtpd_sasl_application_name = smtpdsmtpd_client_restrictions = permit_sasl_authenticated,reject #发送方需要经过认证,没经过认证的拒绝#smtpd_client_restrictions = permit_sasl_authenticatedsmtpd_recipient_restrictions = permit_mynetworks,permit_sasl_
6、authenticated,reject_unauth_destination #接收本地network的,经过认证的,非认证的拒绝rootmail Server# service saslauthd start #启动sasl验证功能rootmail Server# chkconfig saslauthd on #设置为开机自动启动rootmail Server# service postfix startrootmail Server# chkconfig postfix on四:安装squirrelmail:rootmail Server# vim /etc/yum.repos.d/rh
7、el-debuginfo.repo #编辑yumrootmail Server# yum install squirrelmail y #安装squirrelrootmail Server# service httpd start #启动httpdrootmail Server# chkconfig httpd on #设置开机自动启动rootmail Server# cd /var/www/html/rootmail html# ln -s /usr/share/squirrelmail/ mail #创建符号连接mailrootmail html# cdrootmail # cd /var
8、/www/html/mail/rootmail mail# cd config/rootmail config# ./conf.pl #对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 Server# useradd user1rootmail Server# passwd user1rootmail Serve
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024统编版七年级历史上册期末素养评价试卷(3套含答案)
- 2026年中考历史冲刺押题试卷及答案(四)
- 甘肃警察职业学院《热力学与统计物理》2024 - 2025 学年第一学期期末试卷
- 2026一年级数学下册 数学的易错纠正
- 2025 六年级地理下册美国的国际合作课件
- 2026一年级数学上 图形位置的推理
- 2026八年级上语文民间艺术探究活动
- 2026 统编版三年级概括段意方法指导课件
- 兔子陷阱活动方案策划(3篇)
- 基础简要施工方案(3篇)
- GB/T 11563-1995汽车H点确定程序
- 《电视节目编导》课件电视节目编导
- 部编人教版七年级下册语文综合性学习训练试题
- 耕地后备资源调查评价数据库图层列表及字段结构、土壤样品采集要求、耕地后备资源调查分析报告提纲
- 仓库日常点检表
- 毕加索 详细版课件
- 太阳能电池材料 第一章课件
- nasa紧固件设计手册-达文中翻译版
- 《列夫·托尔斯泰》 北雅中学谭嘉慧
- 《普通物理学(第7版)》全套教学课件1434页
- DB41∕T 1960.3-2021 公共机构能耗定额 第3部分:教育机构
评论
0/150
提交评论