1. Untar the package into a directory then copy the contents of
the "html" folder into your web site directory.
tar -zxvf torrentflux.tar.gz
2. Create a database and load the torrentflux.sql script.
mysqladmin create torrentflux
"torrentflux.sql" contains the commands to build the table
structure and the default data for the TorrentFlux. Run the
script on your torrentflux database.
mysql torrentflux < torrentflux.sql
Or with PHPMyAdmin (web interface)
3. Edit 'config.php' for database settings and TorrentFlux file
path -- $cfg["path"]. Make sure the path is writable by the
user ID that Apache runs under. Or just chmod 777 it. Read
through the config.php file, there may be other options you may
need or want to set.
4. With version 1.4 and 1.5, you have the choice of using
BitTorrent or BitTornado as the base client -- BitTornado is
preferred. Select to use ONE of the following python scripts:
Use: btphptornado.py -- for use with BitTornado Client
in the TF_BitTornado directory
Use: btphptorrent.py -- for use with BitTorrent Client
in the TF_BitTorrent directory
The fastest way to get running is to update your config.php
file to use the btphp*.py files directly in their TF_BitTornado
or TF_BitTorrent paths since all the client files are included
in these directories -- no root installation required. Make
sure all the sub directories and files in the TF_BitTornado or
TF_BitTorrent remain intact. Make sure the *.py files are
chmod'd +x so they can execute:
chmod +x btphptornado.py
chmod +x btshowmetainfo.py
The config.php has two variables ($cfg["btphpbin"] and
$cfg["btshowmetainfo"]) that need to be set to the python script
that you have chosen. The following are examples of paths --
(you may have the TF_BitTornado or TF_BitTorrent directory
where ever you want just keep them intact):
$cfg["btphpbin"] = "/usr/local/TF_BitTornado/btphptornado.py";
$cfg["btshowmetainfo"] = "/usr/local/TF_BitTornado/btshowmetainfo.py";
5. IMPORTANT: The first time you access the application, you
will be prompted for a user/password -- this is when you will
set the SUPER ADMIN user and password by what you enter. For
example, you pull the site up for the first time, you will
be prompted to login and if you put in user: 'goombah' and
password: 'iama' then your super admin user account will
be set to goombah/iama -- cool?
Enjoy!
Voisiko joku hieman selventää tosta kakkosesta eteenpäin ja mistä yleensä ton nettisivujen kansion löytää????
|