From: Johnjohn <jj...@us...> - 2004-07-07 18:19:34
|
Update of /cvsroot/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25865 Modified Files: HOWTO Log Message: list the dependencies, include the nget setup and a sample nget config file Index: HOWTO =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/HOWTO,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** HOWTO 21 May 2004 08:40:05 -0000 1.6 --- HOWTO 7 Jul 2004 18:19:24 -0000 1.7 *************** *** 1,4 **** --- 1,30 ---- How to use ngetsuite : + Before installation, here are the requirement (for debian unstable, you should + find your way with the package names for your own distribution): + + * Please note that ruby versions older than 1.8 are untested + + apt-get install mysql-server yydecode nget ruby libdbd-mysql-ruby libdrb-ruby libzlib-ruby libwebrick-ruby + + You should also set up nget correctly (read the man to create a correct ~/.nget5/.ngetrc). You can check this by running by hand 'nget -g alt.binaries.pictures.linux' or any other newsgroup fed by your server. + + A sample .ngetrc file : + ---- snip here ---- + case=0 + complete=0 + autopar=0 + text=ignore + {halias + {myserver + addr=my.news.server.hostname + user=myusername + pass=secretpassw0rd + id=1 + linelenience=-2,2 + } + } + ---- snip here ---- + 0) Before the first run ----------------------- *************** *** 10,15 **** the most important is the login/pass for the database. ! Then set up the database ! log in mysql as root, add the database and the above user with drop, create, insert, delete, update privileges. ./resetdb.rb should set up the tables correctly inside the database --- 36,41 ---- the most important is the login/pass for the database. ! Then set up the database: ! log in mysql as root, add the database and the above user with select, insert, delete, update, create, drop privileges. ./resetdb.rb should set up the tables correctly inside the database |