![]() |
INN
From Douglas Hunley
Installing INN as a stand-alone news server on your Linux
workstation is easy.
The steps to install it are as follows:
tar zxvf inn-2.3.2.tar.gzcd inn-2.3.2./configure --prefix=/opt/inn \--sysconfdir=/etc \--localstatedir=/var/state \--enable-libtool \--with-log-dir=/var/log \--with-sendmail=/usr/sbin/sendmail
\--enable-tagged-hash \--with-perl \--enable-shared \--with-gnu-ldmakegroupadd newsuseradd -g news -d /opt/inn newsrpm -q -a | grep inn | while read
linedorpm -e --nodeps $linedonemake installldconfig -vsu - newsexport PATH=/opt/inn/bin:$PATHedit inn.conf and season to taste (man inn.conf
for details)edit newsfeeds and turn on the
'controlchannel'edit cycbuff.conf to addcycbuff:ONE:/opt/inn/spool/cycbuffs/one:512000cycbuff:TWO:/opt/inn/spool/cycbuffs/two:512000metacycbuff:BIGAREA:ONE,TWO:SEQUENTIALmkdir /opt/inn/spool/cycbuffsdd if=/dev/zero of=/opt/inn/spool/cycbuffs/one
bs=1k count=512000dd if=/dev/zero of=/opt/inn/spool/cycbuffs/two
bs=1k count=512000method cnfs {[tab]newsgroups: *[tab]class: 1[tab]options: BIGAREA}auth "localhost" {hosts: "linux-sxs.org, hunley.homeip.net,
localhost, 127.0.0.1, stdin"default: "<localhost>"} access "localhost" {users: "<localhost>"newsgroups: "*"access: RPA} auth "everyone" {hosts: "*, !localhost, !127.0.0.1, !stdin,
!linux-sxs.org, !hunley.homeip.net"default: "<everyone>"} access "everyone" {users: "<everyone>"read: "sxs.lists.general,
sxs.lists.linux-users, sxs.lists.submissions"post: "sxs.lists.general,
sxs.lists.linux-users"}chmod 755 /opt/inn/spool/cycbuffs/chmod 644 /opt/inn/spool/cycbuffs/*cd ../dbtouch historymakedbz -imv history.n.pag history.pagchmod 644 *news.crit[tab]-/var/log/news.critnews.err[tab]-/var/log/news.errnews.notice[tab]-/var/log/news.noticecd .. && bin/rc.newsbin/ctlinnd newgroup
sxs.lists.linux-usersEnjoy your new INN libraries!