you don’t (Web server application) need to set up the news
Monday, October 22nd, 2007you don’t need to set up the news user or create the spool directories. As INN is installed, you need only edit a few configuration files to get it going and turn on the service. (Though there isn’t much configuration needed at first, you will find yourself tuning it over time.) Note One thing you might need to do is run the makehistory command to create a history.hash file. This initializes the INN history database. Rich Salz created the INN software package. In recent years, its development was taken over by the Internet Software Consortium (at www.isc.org/products/INN). From ISC s home page, you can get other documentation and the latest software updates for INN. Starting with INN Because so much of the INN software package that comes with Red Hat Linux is already set up for you, it helps to find out first what you are starting with. Here is a quick rundown of how INN is set up for you after you install it from the Red Hat Linux distribution: News user: A news user is created in your /etc/passwd file. Ownership of news components (configuration files, spool files, and commands) is assigned to this user. The group name is also news. Its home directory is the news user’s spool directory (/var/spool/news). Configuration directory: Configuration files for INN are contained in the /etc/news directory. Sample files that you can use with INN are contained in /usr/share/doc/inn /samples. Spool directories: The INN spool directory structure, created in /var/spool/news, contains these directories: archive, articles, incoming, innfeed, outgoing, and overview. cron: Three entries exist for cron (two daily and one hourly). The two daily entries, in /etc/cron.daily, clean up the news service (remove old entries) and check that the news service is working once a day. The one hourly cron entry checks that the news service is running and then sends news articles to other NNTP sites. Mail command: The Mail Transfer Agent (MTA) used by news is set to the sendmail command in the inn.conf file. Reading access: As delivered, INN enables only users from the local host to read and post articles through your news server. Other hosts would have to be added to definitions in the INN server’s /etc/news/readers.conf file. Although a lot of the INN configuration is preset for you, some configuration is required before you can use the server. In particular, you must make some changes to the inn.conf (for general news server information), newsfeeds (to decide where your news articles are sent), and incoming.conf (where the articles you receive come from). If you use nontraditional storage methods (discussed later), some other files must also be configured. The inn.conf file is discussed in the next section, “Configuring the INN server.” Where your news articles are sent (newsfeeds) and where the articles you receive come from (incoming.conf) are discussed in “Setting Up News Feeds” later in the chapter. The information in these files is used by the innd daemon to manage incoming news feeds and by the nnrpd daemon to control which users can access the news server.
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.