Next Previous Contents

1. Installazione

Inn esiste pacchettizzato per molte distribuzioni linux, se volete cmq installarlo partendo dai sorgenti (ad esempio perche' volete il supporto per l'ssl, che in genere non e' compilato) questi sono i passaggi necessari:

Scaricare il file tar.gz dal sito http://www.isc.org/products/INN/

Creare un utente news la cui home sia /usr/local/news dove sara' installato inn

Decomprimere con tar -xzvf e configurare il pacchetto con:

# ./configure --enable-tagged-hash --with-perl --with-openssl=/usr/bin/

--enable-tagged-hash serve per usare meno memoria per gestire la history (consigliata se ci sono meno di 256Mb di ram)

--with-perl per abilitare la possibilita' di usare filtri antispam scritti in perl

--with-openssl per poter accedere a inn con una connessione criptata

poi compilare:

# make

# make install

creare il certificato ssl:

# make cert

Come utente news eseguire questi comandi

$ cd /usr/local/news/db

$ touch history

$ ../bin/makedbz -i

$ mv history.n.dir history.dir

$ mv history.n.pag history.pag

$ chmod 644 *

poi copiare il file rc.news in /etc/init.d mettere in /etc/rc2.d il symlink S20inn2 che punta a /etc/init.d/inn2 inn2 esegue semplicemente "su news -c rc.news" per far partire il server inn da parte dell'utente news.


Next Previous Contents