系统的运作与管理

上传人:j****9 文档编号:54355523 上传时间:2018-09-11 格式:PPT 页数:43 大小:106.50KB
返回 下载 相关 举报
系统的运作与管理_第1页
第1页 / 共43页
系统的运作与管理_第2页
第2页 / 共43页
系统的运作与管理_第3页
第3页 / 共43页
系统的运作与管理_第4页
第4页 / 共43页
系统的运作与管理_第5页
第5页 / 共43页
点击查看更多>>
资源描述

《系统的运作与管理》由会员分享,可在线阅读,更多相关《系统的运作与管理(43页珍藏版)》请在金锄头文库上搜索。

1、國 立 交 通 大 學 計 算 機 中 心 陳 昌 盛 E-mail: cschencc.nctu.edu.tw,Usenet News 系統的運作與管理,Usenet News系統的運作與管理,課程大綱 Outline 1. Usenet News 系統簡介 2. News system INN 的相關操作設定 3. 其它類似 News system 的簡介 4. 新近的 News system 的發展趨勢,Usenet News 系統簡介(1),Usenet News 相關資訊/文件 RFC 977, 1036 977 : 傳送協定的規範 1036 : Usenet 文件的規範 (e.g.

2、 檔頭 header ) FAQ ( e.g, INN, Dnews, ) newsgroups news.admin.*, 主要談行政管理性質. news.software.*, 主要系統技術 news, 臺灣本地的技術討論區,Usenet News 系統簡介(2),Usenet 管理書籍 ( INN + CNews ) OReilly Usenet book, 1997 年底出第一版 Usenet News 相關網站 http:/ http:/ http:/www.isc.org/inn/ http:/www.freenix.fr/top1000/ http:/news-peer.nctu

3、.edu.tw/,Usenet News 系統簡介(3),Usenet News 是什麼 ? Usenet 是一個邏輯型態的網路 logical vs physical network 傳統的 8 大分支 comp, humanity, misc, news, rec, sci, soc, talk 另類分支架構, e.g. alt.* 區域性架構 tw, hk, can, de, fj, fr, kr, . 其他 臺灣 BBS 與 NetNews 系統的結合,Usenet 的一般課題(1),Usenet News 程式分類 (Server, Agent, Client) 系統 server

4、(INN, DNews, .) 傳送程式 ( push vs pull model) Push 傳送: innfeed, nntplink,. Pull 傳送: suck, nntpget 閱覽程式 (線上 vs 離線 閱覽 ) netscape, ie, tin, Usenet News 傳送方式 mailing, UUCP, NNTP ( RFC 977),Usenet 的一般課題(2),News 文章的檔頭 ( RFC 1036) Required headers Optional headers News 文章的分類 normal articles (moderated vs un-m

5、oderated) control messages ( cancel, newgroup, rmgroup, checkgroups, sendsys, version) 如何新建一個 newsgroup 送 newgroup control message,Usenet 的一般課題(3),articles refused or rejected ( NNTP) refused ( round 1, 存在 history database ) rejected ( round 2) pseudo newsgroups ( active ) control, junk control.canc

6、el, control.newgroup, control.rmgroup,Usenet 的一般課題(4),轉換應用程式 (application gateway) mail2news, news2mail, bbs2news, anti-spam vs filtering 匿名問題 (anonymous posting) cancel bot (automatic cancel) PGP verify (control messages) Filtering NoCem ( No-See-Them) Cleanfeed,Usenet News server 的規畫,Usenet News s

7、erver 的規畫 Network, Memory, Disk, CPU UPS system Memory size 128M bytes ( the more, the better) Hard Disk size Disk capacity 12G bytes (the more, the better) SCSI II, Wide (the newer, the better) Inode number = 2k bytes/inode Filesystem ( hardware or software disk array),News 系統的運作與管理課題,In-coming New

8、s ( 接收) Unbatching/decompression, Filing, Indexing support Out-going newsfeeds ( 外送) Expiration ( 清理過期文章) Archive (永久保存) 系統記錄與製做統計報告,關於 news 站的管理,建立外界連絡用的 e-mail address newsadmin, usenet, abuse 例如 newsadminnews.nctu.edu.tw 建立 news peering 關係 認識你的 news 上游管理者 建立第二個備援站 (redundant backup site),Usenet s

9、erver INN 的建置,Usenet News software 的取得 ftp:/nctuccca.edu.tw/Packages/news/* INN Server 的安裝INN READMEINN Installation Guide ( install.ms)INN FAQ Part 8: Appendix A: Normans install guide Master/slave servers,INN 中典型的系統目錄,僅量分散原則 News Library Directory 子目錄 /usr/local/news/bin, etc, lbin, lib, locks, ma

10、n, run, var News Spool Directory 子目錄 /news/ archive, articles, ing, out.going, over.view News Log Directory 子目錄 /var/log/news,INN 上必須編輯設定的檔案,inn.conf, hosts.nntp, nnrp.access newsfeeds, innfeed.conf active, history (*) expire.ctl, innwatch.ctl, control.ctl overview.fmt, moderators innreport.conf ( 外

11、加選項功能 ),INN 的相關系統設定(1),接收 (In-coming connection) hosts.nntp, nnrp.acesss 儲存與內部處理 ( filing) active, control.ctl 外送 (out-going newsfeeding) newsfeed, innfeed.conf (or nntpsend.ctl, ) 加掛特殊功能程式 ( overchan, crosspost, inpath, autoresponder,) newsfeed,INN 的相關系統設定(2),定期清理 ( expiration; news.daily) expire.c

12、tl 系統監督 ( background 程式 ) innwatch.ctl 系統報告 ( news.daily) innreport.conf 其他次要功能設定 moderators, passwd.nntp, .,INN.conf 的設定,範例# pathhost: 如果不定, default 就是 FQDNpathhost: netnews.NCTU.edu.tworganization: National Chiao Tung University, Taiwanserver: localhost,INN 的 hosts.nntp 設定,格式: 範例 news.edu.tw: 192.

13、83.166.5: ccnews.nctu.edu.tw:!*,tw*,nctu.*,nthu.*,INN 的 nnrp.access,標準格式: 範例# -Default is no access, no way to authentication, and no groups.*: -no- : -no- :!*# -General IP address ranges for most Taiwans sites*.tw:R:*,!junk,!control*,!tw.bbs.adm.*,!alt.binaries.*# -NCTU - National Chiao Tung Univer

14、sity140.113.*:Read:*,!junk,!control*,!twbbs.adm.*nctu.edu.tw:Read Post:*,!junk,!control*,!twbbs.adm.*,INN 的 newsfeeds 設定(1),標準格式site/exclude,exclude,.:pattern,pattern./distrib,distrib.:flag,flag.:param詳細說明請參閱 man page - newsfeeds (5),INN 的 newsfeeds 設定(2),範例 ME:!*/!local: # Create the links for cros

15、s- posted articles xpost:*:Tc,Ap,WR,B4096/1024:/usr/local/news/bin/crosspost # News overview NOV!:*:Tc,WO,B4096/1024:/usr/local/news/bin/overchan # innfeed-0.10.1, 86/04/22 innf!:!*:Tc,Wnm*,B4096/1024:/usr/local/news/lbin/startinnfeed -c /news/innfeed/innfeed.conf #- CC1/news.nctu.edu.tw,ccnews.nctu

16、.edu.tw:*,!control*,!junk:Tm,G20:innf!,關於 feed 型態 特別說明,Feed Type Tc, channel mode Tm, funnel mode Tf, file mode Tp, program(or pipe) mode Tx, exploder mode,INN 的 expire.ctl 設定,格式 /remember/: : 範例/remember/:10# Keep for 1-10 days, allow Expires headers to work.# General expire policy for most newsgroups*:A:0:0:0*:U:1:1:31*:M:1:7:31tw.*:U:1:7:31*.answers:M:1:31:31,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号