




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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區(qū)域聲明文件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 #不允許匿名發(fā)送 smtpd_sasl_application_name = smtpd
8、 smtpd_client_restrictions = permit_sasl_authenticated,reject #發(fā)送方需要經過認證,沒經過認證的拒絕 #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 #創(chuàng)建符號連接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六:創(chuàng)建用戶:rootmail Serv
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 工業(yè)廢水處理技術與工程實踐
- 工業(yè)污染治理的技術手段與實踐
- 工業(yè)建筑設計風格與案例分析
- 工業(yè)廢水處理現狀及發(fā)展趨勢分析
- 工業(yè)污染防治與公眾參與
- 工業(yè)自動化中的仿真技術探索
- 工業(yè)物聯網的發(fā)展與應用案例
- 工業(yè)節(jié)能減排與綠色制造
- 工業(yè)遺址改造與再利用
- 工作中如何提高專注力
- 公司欠款清賬協議書
- 醫(yī)院培訓課件:《十八項核心醫(yī)療制度解讀》
- 七年級英語下冊 Unit 1 Can you play the guitar教學設計 (新版)人教新目標版
- 35千伏電力工程監(jiān)理實施細則
- 以DeepSeek為代表的AI在能源行業(yè)的應用前景預測
- 《錢學森》介紹課件
- 智慧樹知到《中國近現代史綱要(哈爾濱工程大學)》2025章節(jié)測試附答案
- 單層泄爆屋面安裝施工方案
- LY/T 3408-2024林下經濟術語
- 《動物藥理》課件 第9章作用于血液循環(huán)系統的藥物
- 新生兒肺動脈高壓個案護理匯報
評論
0/150
提交評論