Configuring Linux News Servers Objectives –This chapter will show you how to install and use News servers Contents –Understanding news –Installing News.

Slides:



Advertisements
Similar presentations
Achtung, das Originalformat war Star Office 6.0 (.sxi). Die Konvertierung nach PowerPoint (.ppt) ist nicht ganz reibungslos verlaufen, so dass vieles falsch.
Advertisements

Windows 2003 Server. Windows 2003 Server Contents Fitur Windows 2003 Server Installation And Configuration Windows Management Resource  User Management.
Web Server Administration Chapter 4 Name Resolution.
By: Jeason Mejia. History Of NNTP The Network News Transport Protocol (NNTP) is published by RFC 977 and was first implemented by Phil Lapsley for BSD.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
XP Adding Hypertext Links to a Web Page. XP Objectives Create hypertext links between elements within a Web page Create hypertext links between Web pages.
Computers Going Online Internet Resources and Applications Finding information on the Web browsing: just looking around searching: trying to find specific.
Web 2.0: Concepts and Applications 3 Syndicating Content.
Lesson 19 Internet Basics.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Pro Exchange SPAM Filter An Exchange 2000 based spam filtering solution.
Mastering Windows Network Forensics and Investigation Chapter 11: Text Based Logs.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
1 Linux Networking and Security Chapter 3. 2 Configuring Client Services Configure DNS name resolution Configure dial-up network access using PPP Understand.
Mail Server Setup MAIL SERVER SETUP.
Implementing POP3 and IMAP4 Using Dovecot
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
1 Linux Networking and Security Chapter 4. 2 Configuring Client Services Configure “superservers” to handle multiple network services Set up administrative.
1 Web Server Administration Chapter 9 Extending the Web Environment.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Mail Server Three major components MTA MUA MDA Mail Transfer Agent
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Internet-Based Client Access
© Anthony J. Nowakowski, Ph.D. Communications © Anthony J. Nowakowski, Ph.D. EDC 601 Instructional Technologies .
Copyright © Allyn & Bacon 2008 POWER PRACTICE Chapter 7 The Internet and the World Wide Web START This multimedia product and its contents are protected.
Internet Basics A management-level overview of the Internet, its architecture, capabilities, and protocols. Copyright 2011 SPMI / Online Development.
How do you spread the news using NNTP (Network News Transfer Protocol) - Avinash Gosavi
Chapter 8 The Internet: A Resource for All of Us.
1 Web Server Administration Chapter 9 Extending the Web Environment.
Microsoft Internet Information Services 5.0 (IIS) By: Edik Magardomyan Fozi Abdurhman Bassem Albaiady Vince Serobyan.
Computer Communications Before the Internet. Pre-Internet Networks and Protocols: Usenet Usenet was developed to allow regular users to transfer files,
XP New Perspectives on The Internet, Fifth Edition— Comprehensive, 2005 Update Tutorial 7 1 Mass Communication on the Internet Using Newsfeeds Tutorial.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
Samba Advanced System Administration Course James Lwali University computing Centre Ltd, University of Dar es salaam,
8 1 ADVANCED COMMUNICATION TOOLS Using Chat, Virtual Worlds, and Newsgroups New Perspectives on THE INTERNET.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
INN InterNet News. Computer Center, CS, NCTU 2 Introduction to INN (1)  Originally written by Rich Salz ISC took over development in 1996
200 pt 300 pt 400 pt 500 pt 100 pt 200 pt 300 pt 400 pt 500 pt 100 pt 200pt 300 pt 400 pt 500 pt 100 pt 200 pt 300 pt 400 pt 500 pt 100 pt 200 pt 300 pt.
Internet Research Tips Daniel Fack. Internet Research Tips The internet is a self publishing medium. It must be be analyzed for appropriateness of research.
XP New Perspectives on The Internet, Fifth Edition— Comprehensive, 2005 Update Tutorial 7 1 Mass Communication on the Internet Using Newsgroups Tutorial.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Networks Overview of a Network Web Ftp Newsgroups.
NetTech Solutions Microsoft Outlook and Outlook Express Lesson Four.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Linux Operations and Administration
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Engineering Workshops Unix Hosts Rangers.ipv6.unl.edu Dale Finkelson.
Web Server Administration Chapter 4 Name Resolution.
Application of the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
INTERNET AND . WHAT IS INTERNET The Internet can be defined as the wired or wireless mode of communication through which one can receive, transmit.
VIRTUAL SERVERS Chapter 7. 2 OVERVIEW Exchange Server 2003 virtual servers Virtual servers in a clustering environment Creating additional virtual servers.
Week-2 (Lecture-1) An electronic message sent from one computer to another. contains account i.e. How does.
Ska in KAist …The BBS of Dream… netj leetop leechun jeans
Understand Names Resolution
3.1 Types of Servers.
3.1 Types of Servers.
IMPLEMENTING NAME RESOLUTION USING DNS
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
DHCP server & Client Objectives Contents
“Real Simple Syndication” (RSS)
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
TYPES OF SERVER. TYPES OF SERVER What is a server.
has many aspects that work together to give people almost instant communication from any computer on the internet to any other computer There.
Network Media, models and number systems
Exceptions and networking
Presentation transcript:

Configuring Linux News Servers Objectives –This chapter will show you how to install and use News servers Contents –Understanding news –Installing News software –Configuring and starting the INN server –Setting up local newsgroups Practical –Setting up local newsgroups

Understanding newsgroups Usenet a store and forward messaging network –News and Mail are relayed from one system to another –Uses NNTP protocol RFC 977 –Can use the UUCP for modem users Reading news –You need a newsfeed –Newsreader –Mozilla mail –Slrn –Newsreader –List of newsgroups News Hierarchy –comp.os.linux.announce Subscribing –.newsrc list of newsgroups that newsreader reads

The INN server News database: /var/spool/news –Can take up anything between 10Megabyte to 5Gigabyte Cronjob for cleaning up stale news –/usr/lib/news/bin/news.daily INN server programs InndThe news server NnrpdHandles local readers ExpireRemoves old news NntpsendExchange news /etc/news/nntpsend.ctl CtlinndInteractive shell for innd server Main config files /etc/news/inn.confINND server main configuration /etc/news/newsfeedsDownstream news feed /etc/news/incoming.confDeclares incoming newsfeeds /var/lib/news/newsgroupsList newsgropus /etc/news/readers.confDeclares hosts that are allowed to read news

Understanding inn.conf File format parameter:value Parameters MtaMail Transfer Agent (sendmail) OrganizationHeader in all articles posted from our system OvmethodOverview storage methodes PathostAdd this host to the news path that passws this system PathnewsWehere inn binaries lives Domainthe domain name of this server Allownewnews Storageapi Hiscachesize innflags

Understanding newsfeeds Declares how incoming news articles are redistributed to other servers, news feeds to others. Format of newsfeed file: Site[/exclude, exclude…]:pattern,pattern…[/distrib, distrib…]:flag,flag…:param Format explained, colon separated : Fielddescription 1)The name of the feed’s: feed.domain.com, feed2.dom.com 2)Newsgroups patterns drops news patter ! Dont distribute further * All matches 3) Feed entry type 4) External programs/files /usr/bin/controlchan

Understanding incoming.conf Describes which host is allowed to feed me weth news Peer myfeed { hostname: myfeedsite.com } Myfeed is a label for the peer and myfeedsite.com is the peer that feed us with news

Understanding readers.conf Declares this server allowed clients that can read news and post news Auth ”localhost” { hosts: ”localhost, , stdin” default:” ” } Access ”localhost” { users: ” newsgroups: ”*” access RPA } Auth ”localnet” { hosts: /24 default:” ” } Access ”localnet” { users: ” newsgroups: ”*” access RPA }

Starting the INN server You need to prepare your INN history database INN is a stand alone server Start INND Remember to restart INND when you do changes # /usr/lib/news/bin/makehistory –b –f history 0 –l –I # cd /var/lib/news # /usr/lib/news/bin/makedbz –s `wc –l < history` -f history # chown news.news * # chown news.news /var/spool/news/overview/group.index # chmod 664 /var/spool/news/overview/group.index # /usr/lib/news/bin/makehistory –b –f history 0 –l –I # cd /var/lib/news # /usr/lib/news/bin/makedbz –s `wc –l < history` -f history # chown news.news * # chown news.news /var/spool/news/overview/group.index # chmod 664 /var/spool/news/overview/group.index # chkconfig –level 35 innd on # service innd start # ps ax ?S0:00/usr/lib/news/bin/innd –p ?S0:00/usr/bin/perl /usr/lib/news/bin/controlchan # ps ax ?S0:00/usr/lib/news/bin/innd –p ?S0:00/usr/bin/perl /usr/lib/news/bin/controlchan # service innd restart

Setting up Local Newsgroups Defining a newsgroup hirarchy ikea.generalikea.forsaleikea.technical.hardware Ikea.weekly.newsikea.jobsikea.technical.software Ikea.weekly.menuikea.wantedikea.os.redhat Updating configuration files Add descriptions on those newsgroups in /var/lib/news/newsgroups ikea.generalVarious information about anything ikea.forsaleEmployees forsale anything After this, add the ME entry in /etc/news/newsfeeds file ME : !ikea.* Nex you need a storage methode in: /etc/news/storage.conf method tradspool { class: 1 newsgroups:ikea.* } Restart innd # service innd restart

Adding the newsgroups The final step is to add the newsgroups Testing my newsserver Open your web browser (mozilla) and in address field type: news:ikea.generalnews:ikea.general # /usr/lib/news/bin/ctlinnd newgroup ikea.general # /usr/lib/news/bin/ctlinnd newgroup ikea.news # /usr/lib/news/bin/ctlinnd newgroup ikea.menu... # /usr/lib/news/bin/ctlinnd newgroup ikea.general # /usr/lib/news/bin/ctlinnd newgroup ikea.news # /usr/lib/news/bin/ctlinnd newgroup ikea.menu...