INN
跳至導覽
跳至搜尋
INN是一套News Server。
安裝
先安裝編譯需要的套件,並且把news
帳號的環境設定好:
sudo apt install -y bsd-mailx build-essential libdb-dev libgd-perl libmime-tools-perl libperl-dev libpython-dev libssl-dev; sudo chsh -s /bin/bash news; sudo mkdir ~news; sudo cp /etc/skel/.[a-z]* ~news/; sudo chown -R news:news ~news
再切到news
帳號下下載檔案並且編譯:
sudo su - news -c "wget https://downloads.isc.org/isc/inn/inn-2.6.4.tar.gz; tar zxvf inn-2.6.4.tar.gz; cd inn-2.6.4; ./configure --prefix=/var/spool/news --enable-tagged-hash --with-perl --with-python --with-bdb --with-openssl --with-zlib; make"; cd ~news/inn-2.6.4; sudo make install
設定
cycbuff.conf
inn.conf
- docnfsstat
- domain
- enableoverview
- noreader
- organization
- ovmethod
- pathhost
- port
- runasgroup
- runasuser
- server
- useoverchan
newsfeeds
storage.conf
readers.conf
crontab
#
@reboot ~/bin/rc.news > /dev/null 2>&1
@reboot ~/bin/nnrpd -D > /dev/null 2>&1
#
1 6 * * * ~/bin/news.daily expireover lowmark
6 6 * * * ~/bin/ctlinnd flush inpaths!
10 6 * * * ~/bin/sendinpaths
相關連結
外部連結
- 官方網站 (英文)