User Tools

Site Tools


build:inn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
build:inn [2013/09/19 23:00]
SLUUG Administration
build:inn [2013/09/24 22:03]
SLUUG Administration
Line 6: Line 6:
  
   - <​del>​Download INN from isc.org</​del>​ 09/​18/​2013 ​   - <​del>​Download INN from isc.org</​del>​ 09/​18/​2013 ​
-  - Prepare configuration - **In Process** +  - <del>Prepare configuration</​del> ​09/19/2013 
-  - Determine dependencies - **In Process**+  - <del>Determine dependencies</​del> ​09/​19/​2013 
   * Need yacc, not found in zypper, ran refresh   * Need yacc, not found in zypper, ran refresh
   * Installed bison. (zypper install bison)   * Installed bison. (zypper install bison)
Line 44: Line 45:
  
   * Going to create a sluug.discuss list.   * Going to create a sluug.discuss list.
-  * +  * Add the group with: ctlinnd newgroup sluug.discuss 
 +  * Add entries to newsfeeds to restrict the local groups to your 
 +organization:​
  
 + ME:​!local.*::​
  
 + out.going.site:​*,​!local.*:​Tf,​Wnm:​
 +  * Add a descriptive entry to newsgroups
  
 +  * Started TIN
 +  * Newsgroup is there!
 +  * Attempted to post.
 +  * Post accepted, but does not show in group.
 +  * Checked log, seems to be a repeating error..  ​
 +  * Stopping innd
 +  * That's it for tonight. ​ Pick up later to see what the error is about..
  
 +09/20/2013
 +  * Checked /​var/​log/​new/​errorlog there appears to be a Perl MIME module missing.
 +  * Checked zypper, appears to be there
 +  * Installed perl-MIME modules (See log)
  
-  - Add additional software ​ +restarting inn 
-  ​- Determine ​configuration ​requirements +  ​* perl error no longer appears, however there is a config error in newsfeeds. 
-  ​- Determine database requirements +  * Reseting to installed newsfeeds ​configuration 
-  ​- Configure database ​server +  ​* clearing news.err, news.crit, news.notice & errlog in /​var/​log/​news 
-  ​- Implement ​news feed server +  ​* restart: /​etc/​init.d/​inn start 
-  - Implement ​news reader server +  * No errors in log. 
-  - Configure SLUUG groups+  * Start and status look good. 
 + 
 +Retrying TIN 
 +  * sluug.discuss still in groups list 
 +  * Trying post, post accepted but not updated 
 +  * Trying a default group 
 +  * No go.  Default groups are no post 
 + 
 +  * Going to do some google research on configuring inn 
 + 
 +09/​23/​2013 
 + 
 +I determined that the issue was not the server, but the TIN client configuration. ​ After setting the NNTPSERVER env to '​local'​ host and using rtin instead of tin, everything worked fine. 
 + 
 +Configured '​local.sluug.discuss'​ and posted a test message. ​ Posted good and read with rtin.   
 + 
 +I configured my remote client on my PC to point to port 119 on bud.sluug.org and it appears that the external port may be blocked. ​ I did an ssh to tunnel to localhost:​119 and everything works great! 
 + 
 +So now we need a news feed.. :) 
 + 
 +09/​24/​2013 
 + 
 +Continued to work on basic configuration. 
 + 
 +In particular the readers.conf file to allow only authorized users to access the server.   
 + 
 +1.)  configured the /​etc/​news/​readers.conf file.  See contents for changes. 
 +2.)  created a newsusers file (see /​etc/​news/​readers.com) for location. 
 +3.)  Prepared a script in my bin directory to add entries (users:​password) to the newsusers file. 
 +4.)  Ran a test from home using forte agent. All post/​read/​overview features work great! 
 +5.)  Uploaded a binary image (Apple.png) ​all worked great up, retrieved and the image looked great. 
 +6.)  Tried invalid passwords, blocked as expected. 
 + 
 +Created new groups with: 
 +root@bud:​~ 
 +# /usr/lib/news/​bin/​ctlinnd newgroup local.sluug.discuss 
 +# /​usr/​lib/​news/​bin/​ctlinnd newgroup local.sluug.steercom 
 +# /​usr/​lib/​news/​bin/​ctlinnd newgroup local.sluug.sysadmin 
 + 
 +edit /​var/​lib/​news/​newsgroups to add descriptions. 
 + 
 +Did a connect via rtin and agent. ​ Look good. 
 + 
 +Ready for users to connect. ​  
 + 
 +TODO: 
 +  - Configure SLUUG remaing groups 
 +  - Look into '​suck'​ for downloading news groups
   - Test configuration   - Test configuration
-  - Open Alpha test program+  - Open Alpha test program ​for sluug groups
   - Determine best fit for news-feed   - Determine best fit for news-feed
   - Determine subscriptions and DASD requirements   - Determine subscriptions and DASD requirements
Line 68: Line 132:
 There is the possibility that INN is overkill for our needs. ​ During the build out we should look for alternatives that may be lighter wieght. There is the possibility that INN is overkill for our needs. ​ During the build out we should look for alternatives that may be lighter wieght.
  
-Install Logs:+**Install Logs:** 
 + 
 +09/19/2013 Installing innd: 
 zypper install bison zypper install bison
 (install notes lost in page back but was successful) (install notes lost in page back but was successful)
Line 584: Line 651:
 Installing: gvfs-backends-1.10.1-2.4.1 [done] Installing: gvfs-backends-1.10.1-2.4.1 [done]
 Installing: pan-0.135-3.3.1 [done] Installing: pan-0.135-3.3.1 [done]
 +
 +
 +09/​20/​2013 ​
 +
 +Install perl MIME modules:
 +
 +# zypper install perl-MIME
 +Loading repository data...
 +Warning: Repository '​Updates for openSUSE 12.1 12.1-1.4'​ appears to outdated. Consider using a different mirror or server.
 +Reading installed packages...
 +Package '​perl-MIME'​ not found.
 +Resolving package dependencies...
 +
 +Nothing to do.
 +
 +root@bud:~
 +# zypper install perl-MIME-tools
 +Loading repository data...
 +Warning: Repository '​Updates for openSUSE 12.1 12.1-1.4'​ appears to outdated. Consider using a different mirror or server.
 +Reading installed packages...
 +Resolving package dependencies...
 +
 +The following NEW packages are going to be installed:
 +  perl-Convert-BinHex perl-IO-stringy perl-MIME-tools perl-MailTools
 +
 +4 new packages to install.
 +Overall download size: 427.0 KiB. After the operation, additional 947.0 KiB
 +will be used.
 +Continue? [y/n/?] (y): y
 +Retrieving package perl-Convert-BinHex-1.119-17.1.2.i586 (1/4), 41.0 KiB (109.0 KiB unpacked)
 +Retrieving: perl-Convert-BinHex-1.119-17.1.2.i586.rpm [done]
 +Retrieving package perl-IO-stringy-2.110-152.1.2.i586 (2/4), 64.0 KiB (128.0 KiB unpacked)
 +Retrieving: perl-IO-stringy-2.110-152.1.2.i586.rpm [done (0 B/s)]
 +Retrieving package perl-MailTools-2.08-3.1.2.i586 (3/4), 97.0 KiB (197.0 KiB unpacked)
 +Retrieving: perl-MailTools-2.08-3.1.2.i586.rpm [done]
 +Retrieving package perl-MIME-tools-5.502-2.1.2.i586 (4/4), 225.0 KiB (513.0 KiB unpacked)
 +Retrieving: perl-MIME-tools-5.502-2.1.2.i586.rpm [done]
 +Installing: perl-Convert-BinHex-1.119-17.1.2 [done]
 +Installing: perl-IO-stringy-2.110-152.1.2 [done]
 +Installing: perl-MailTools-2.08-3.1.2 [done]
 +Installing: perl-MIME-tools-5.502-2.1.2 [done]
 +
 +root@bud:~
 +# zypper install perl-MIME-Types
 +Loading repository data...
 +Warning: Repository '​Updates for openSUSE 12.1 12.1-1.4'​ appears to outdated. Consider using a different mirror or server.
 +Reading installed packages...
 +Resolving package dependencies...
 +
 +The following NEW package is going to be installed:
 +  perl-MIME-Types
 +
 +1 new package to install.
 +Overall download size: 33.0 KiB. After the operation, additional 65.0 KiB will
 +be used.
 +Continue? [y/n/?] (y): y
 +Retrieving package perl-MIME-Types-1.32-5.1.2.i586 (1/1), 33.0 KiB (65.0 KiB unpacked)
 +Retrieving: perl-MIME-Types-1.32-5.1.2.i586.rpm [done (0 B/s)]
 +Installing: perl-MIME-Types-1.32-5.1.2 [done]
 +
 +root@bud:~
 +# zypper install perl-MIME-Lite
 +Loading repository data...
 +Warning: Repository '​Updates for openSUSE 12.1 12.1-1.4'​ appears to outdated. Consider using a different mirror or server.
 +Reading installed packages...
 +Resolving package dependencies...
 +
 +The following NEW packages are going to be installed:
 +  perl-Email-Date-Format perl-MIME-Lite
 +
 +2 new packages to install.
 +Overall download size: 95.0 KiB. After the operation, additional 214.0 KiB will
 +be used.
 +Continue? [y/n/?] (y): y
 +Retrieving package perl-Email-Date-Format-1.002-19.1.2.noarch (1/2), 16.0 KiB (26.0 KiB unpacked)
 +Retrieving: perl-Email-Date-Format-1.002-19.1.2.noarch.rpm [done]
 +Retrieving package perl-MIME-Lite-3.027-11.1.3.i586 (2/2), 79.0 KiB (188.0 KiB unpacked)
 +Retrieving: perl-MIME-Lite-3.027-11.1.3.i586.rpm [done]
 +Installing: perl-Email-Date-Format-1.002-19.1.2 [done]
 +Installing: perl-MIME-Lite-3.027-11.1.3 [done]
 +
 +root@bud:~
 +# zypper install perl-MIME-Charset
 +Loading repository data...
 +Warning: Repository '​Updates for openSUSE 12.1 12.1-1.4'​ appears to outdated. Consider using a different mirror or server.
 +Reading installed packages...
 +Resolving package dependencies...
 +
 +The following NEW package is going to be installed:
 +  perl-MIME-Charset
 +
 +1 new package to install.
 +Overall download size: 40.0 KiB. After the operation, additional 98.0 KiB will
 +be used.
 +Continue? [y/n/?] (y): y
 +Retrieving package perl-MIME-Charset-1.009.1-3.1.2.noarch (1/1), 40.0 KiB (98.0 KiB unpacked)
 +Retrieving: perl-MIME-Charset-1.009.1-3.1.2.noarch.rpm [done]
 +Installing: perl-MIME-Charset-1.009.1-3.1.2 [done]
  
  
build/inn.txt · Last modified: 2013/09/24 22:25 by SLUUG Administration