๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ Fri, 24 Jan 2020 14:48
SQLnetNews cheat sheet โ€“ install documentaion
#88047
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 14:48
2 lines
1272 bytes
sqlnetnews is only 3 files which already is 2 too much  :-)  Anyhow, the followโ€“ups will document the few steps needed to get it 
going from sources. should then take no longer than 20 minutes, unless ure Linux does things much differently from mine.
SQLnetNews cheat sheet โ€“ install documentation
#88050
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 15:07
56 lines
2389 bytes

consider performing any of the below, pls follow-up with any corrections




	sudo -H   setcap cap_net_bind_service=+ep /home/URESELF/bin/sqlnetnews   ## set bind capabilities    for  port  # 119
	# wget   https://www.sqlite.org/2020/sqlite-src-3310000.zip

	# gcc shell.c sqlite3.c -lpthread -ldl
	  gcc -s -O2 -o ~/bin/sqlnetnews sqlnetnews.c sqlite3.o -ldl -lpthread -lrt
	ls -l  sqlite3.o                                             #  make sqlite from sources and copy to here
	chmod +x ~/bin/sqlnetnews

	sudo chmod +x  /etc/xinetd.d/nntp
	sudo -H xinetd -d                      # debug mode in Konsole bash

	exit


/etc/    content  like:

#
# /etc/xinetd.conf
#

defaults
{
         instances               = 60
         log_type                = SYSLOG authpriv
         log_on_success          = HOST PID
         log_on_failure          = HOST
         cps                     = 25 30
}

includedir /etc/xinetd.d





	file:///etc/xinetd.d/nntp
service nntp
{
         socket_type             = stream
         wait                    = no
         user                    = root
         server                  = /home/URESELF/bin/sqlnetnews
         log_on_success  += HOST DURATION
         log_on_failure  += HOST
         disable                 = no
}


Re: SQLnetNews cheat sheet โ€“ install documentation
#88049
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 15:15
1 lines
1175 bytes
obviously thee instructions are out of order, you'll catch the drift...
SQLnetNews cheat sheet
#88051
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 15:29
19 lines
1866 bytes
	wget   https://www.sqlite.org/2020/sqlite-src-3310000.zip      # we need the   .o  file  for compilation
	cd . # goto unzipped dir
	gcc shell.c sqlite3.c -lpthread -ldl
	ls -l  sqlite3.o     # cp  ....  .....    #  make sqlite from sources and copy into   sqlnetnews build dir


	# with sqlite3.o iin place we now build the usenet server
	gcc -s -O2 -o ~/bin/sqlnetnews sqlnetnews.c sqlite3.o -ldl -lpthread -lrt
	chmod +x ~/bin/sqlnetnews # set executable bit
  	sudo -H   setcap cap_net_bind_service=+ep /home/URESELF/bin/sqlnetnews   ## set bind capabilities   for  port  # 119


	sudo chmod +x  /etc/xinetd.d/nntp      # set exe bit
	sudo -H xinetd -d                      # debug mode in Konsole bash
	~/bin/sqlnetnews                       # ACTUALLY launch the usenet server, which utilizes xinetd

	thunderbird -news                      # and add   news  127.0.0.1  , which is ure local nntp-server,
                                                # like any other   nntp-server
Re: SQLnetNews cheat sheet
#88052
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 15:32
7 lines
1158 bytes
On 1/24/20 4:29 PM, ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ usenetted:
> ~/bin/sqlnetnewsย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย  #   launch the usenet server  for local test, otherwise not necessary

just for test u do that.


normally  xinetd does it by itself
flaskBB plugin
#88053
Author: ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ฐ๐Ÿ‡ญ ๐Ÿ‡จ๐Ÿ‡ฒ
Date: Fri, 24 Jan 2020 15:42
3 lines
919 bytes
  using the cookiecutter of flaskBB

a plugin can be made easily to have a gateway to usenet
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads