Blob


1 version=pmwiki-2.2.130 ordered=1 urlencoded=1
2 agent=Mozilla/5.0 (X11; OpenBSD amd64; rv:82.0) Gecko/20100101 Firefox/82.0
3 author=jrmu
4 charset=UTF-8
5 csum=
6 ctime=1614250582
7 host=198.251.81.119
8 name=Leafnode.Install
9 rev=1
10 targets=
11 text=(:title Leafnode:)%0a%0aLeafnode is a simple to install and easy to maintain newsserver.%0a%0a[@%0a%0aAttention! do not:%0a%0a$ doas pkg_add leafnode%0a%0a%0a%0aYou have to install leafnode from source, because the package came with openbsd is too old.%0a%0aFirst go with your Browser to: https://leafnode.sourceforge.io/download.shtml%0a%0athen scroll down and select leafnode-2.0.0.alpha20081229a.tar.bz2 to open up in a new tab. Then copy the domain in this tab and go back to bsd.%0a%0aDownload from source:%0a%0a $ wget krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta/leafnode-2.0.0.alpha20081229a.tar.bz2%0a%0abzip2 extract the dir:%0a%0a $ bzip2 -d leafnode-2.0.0.alpha20081229a.tar.bz2%0a%0atar the new file:%0a%0a $ tar -xf leafnode-2.0.0.alpha20081229a.tar%0a%0aGo to the folder:%0a%0a $ cd leafnode-2.0.0.alpha20081229a%0a%0aFinally install the program:%0a%0a $ doas ./configure%0a%0a $ doas make%0a%0a $ doas make install%0a%0aCreate a usergroup (as many as you nees):%0a%0a $ touch /etc/leafnode/local.groups%0a%0a $ doas nano /etc/leafnode/local.groups%0a%0aHere is an example what to put in this file:%0a%0a IRCNow.Group y description%0a %0a IRCNow.Group 2 y description%0a%0aPlease dont use spaces between these elements, use tabs.%0a%0aThen Exit and save the file.%0a%0aAdd package "lynx":%0a%0a $ doas pkg_add lynx%0a%0aYou also have to add inetd, if you havent it already:%0a%0a $ doas pkg_add inetd%0a%0aThen you have to edit inetd;%0a%0a $ doas nano /etc/inetd.conf%0a%0ain this file you have to put following and delete everything else in the file:%0a%0anntp stream tcp nowait news /usr/local/sbin/leafnode%0a%0aMake sure you use tab instead of spaces, otherwise it will go into Errors.%0a%0aIf youre done then restart indetd:%0a%0a $ doas rcctl restart inedtd%0a%0aNow you should be able to start the server:%0a%0a $ lynx news://example.ircnow.org (replace example with your server)%0a%0aYou should see now the 2 groups you added in the local.groups file and are now able to add/read new posts.%0a@]
12 time=1614250582
13 title=Leafnode
14 author:1614250582=jrmu
15 diff:1614250582:1614250582:=1,86d0%0a%3c (:title Leafnode:)%0a%3c %0a%3c Leafnode is a simple to install and easy to maintain newsserver.%0a%3c %0a%3c [@%0a%3c %0a%3c Attention! do not:%0a%3c %0a%3c $ doas pkg_add leafnode%0a%3c %0a%3c %0a%3c %0a%3c You have to install leafnode from source, because the package came with openbsd is too old.%0a%3c %0a%3c First go with your Browser to: https://leafnode.sourceforge.io/download.shtml%0a%3c %0a%3c then scroll down and select leafnode-2.0.0.alpha20081229a.tar.bz2 to open up in a new tab. Then copy the domain in this tab and go back to bsd.%0a%3c %0a%3c Download from source:%0a%3c %0a%3c $ wget krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta/leafnode-2.0.0.alpha20081229a.tar.bz2%0a%3c %0a%3c bzip2 extract the dir:%0a%3c %0a%3c $ bzip2 -d leafnode-2.0.0.alpha20081229a.tar.bz2%0a%3c %0a%3c tar the new file:%0a%3c %0a%3c $ tar -xf leafnode-2.0.0.alpha20081229a.tar%0a%3c %0a%3c Go to the folder:%0a%3c %0a%3c $ cd leafnode-2.0.0.alpha20081229a%0a%3c %0a%3c Finally install the program:%0a%3c %0a%3c $ doas ./configure%0a%3c %0a%3c $ doas make%0a%3c %0a%3c $ doas make install%0a%3c %0a%3c Create a usergroup (as many as you nees):%0a%3c %0a%3c $ touch /etc/leafnode/local.groups%0a%3c %0a%3c $ doas nano /etc/leafnode/local.groups%0a%3c %0a%3c Here is an example what to put in this file:%0a%3c %0a%3c IRCNow.Group y description%0a%3c %0a%3c IRCNow.Group 2 y description%0a%3c %0a%3c Please dont use spaces between these elements, use tabs.%0a%3c %0a%3c Then Exit and save the file.%0a%3c %0a%3c Add package "lynx":%0a%3c %0a%3c $ doas pkg_add lynx%0a%3c %0a%3c You also have to add inetd, if you havent it already:%0a%3c %0a%3c $ doas pkg_add inetd%0a%3c %0a%3c Then you have to edit inetd;%0a%3c %0a%3c $ doas nano /etc/inetd.conf%0a%3c %0a%3c in this file you have to put following and delete everything else in the file:%0a%3c %0a%3c nntp stream tcp nowait news /usr/local/sbin/leafnode%0a%3c %0a%3c Make sure you use tab instead of spaces, otherwise it will go into Errors.%0a%3c %0a%3c If youre done then restart indetd:%0a%3c %0a%3c $ doas rcctl restart inedtd%0a%3c %0a%3c Now you should be able to start the server:%0a%3c %0a%3c $ lynx news://example.ircnow.org (replace example with your server)%0a%3c %0a%3c You should see now the 2 groups you added in the local.groups file and are now able to add/read new posts.%0a%3c @]%0a\ No newline at end of file%0a
16 host:1614250582=198.251.81.119