Use of newsgroup servers and clients in Linux

Source: Internet
Author: User
Article Title: Use of newsgroup servers and clients in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

  1. Install a newsgroup server

This article introduced the INN (InterNetNews) news group service system was born at the end of 1990, by Rich Salz (rsalz@bbn.com) and other 27 network experts joint development, development and continuous improvement and maintenance, it can run in Linux and UNIX operating systems. Currently, the maximum version of this software is inn-2.3.5-6. For detailed background information about the INN news service system, see the official website of the INN system http://www.isc.org/inn.html. The following describes how to create an INN (InterNetNews) newsgroup Service System in Linux. The inn server has four storage methods available.

Tradspool: The storage method used before INN 2.0. The document is stored in a separate file and distributed in a newsgroup name-based directory. This storage method is very simple, and many third-party INN plug-ins rely on this storage method. The disadvantage is low efficiency.

Timehash: The article is also stored as a separate file, but the directory name is determined based on the time of the article. This ensures that there will not be too many files in a directory. The disadvantage is that it still does not solve the problem caused by too many file operations, and the file storage method makes it difficult to determine the number of articles in a newsgroup and manually modify them like tradspool.

Timecaf: similar to timehash, the article is classified by time. The difference is that, instead of having one file in every article, one file is used for storage. The disadvantage is that it is more difficult to understand and manually modify the storage structure of the server. As a new storage method, it is not widely used and tested.

Cnfs: The article is stored in the pre-defined File Buffer, And the File Buffer is recycled. If the buffer is full, it overwrites the previous article. Therefore, for The cnfs storage method, the article expiration settings are special.

1. Install software

You can use the "Add/delete application" tool on the GUI of Rat Het Enterprise Linux 4. Select "Main Menu"> "system settings"> "Add/delete application ", on the displayed page, select "server"> "newsgroup server"> "standard software package". For details, see.



Installation of INN and related software packages

2. INN server system configuration

(1) set a news User Account

Confirm that the system contains news users and news groups. If not, add:

$ Groupadd news
$ Useradd-g news-d/usr/local/news

(2) create a news User Password

Use the passwd command to create a password for the news user as follows:

# Passwd

Changing password for user news.

Changing password for news

(Current) UNIX password:

New UNIX password:

Retype new UNIX password:

Passwd: all authentication tokens updated successfully.

(3) Check and modify the configuration file

First, use the login out command to log out, and then use the news user to log on to the system again. For details about how to use the inncheck command to check the configuration file, see:



Use the inncheck command to check the configuration file

Inncheck check files include: active, control. ctl, expire. ctl, incoming. conf, inn. conf, moderators, newsfeeds

Overview. fmt, nntpsend. ctl, passwd. nntp. Modify the File Permission as prompted by the detection result:

$ Chmod 664/var/lib/news/active

[1] [2] [3] [4] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.