-----------------------------------------------------------------
System Requirements
-----------------------------------------------------------------
-- A Linux Box (
) Installed and working
properly. (tested on Debian, RedHat, Fedora, and others)
-- Apache Web Server (
کد:
http://www.apache.org
)
-- PHP Apache module version 4.1.x or better with MySQL, Session,
and PCRE support enabled (
)
-- MySQL database server (
) others also
supported through ADODB.
-- Python 2.2 or higher
-- SELinux should be turned off or configured to allow
TorrentFlux to work with files in the application Path.
-- Safe Mode must be turned off in the php.ini file.
TorrentFlux reads, writes files that Safe Mode will restrict.
-----------------------------------------------------------------
Installing
-----------------------------------------------------------------
*** Make sure the System Requirements are met.
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 mysql_torrentflux.sql script.
Database abstraction is supported starting in TorrentFlux 2.0
using ADODB for PHP. You may specify type of database you want
to use in the config.php, but the examples here use MySQL.
mysqladmin create torrentflux
"mysql_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 < mysql_torrentflux.sql
Or load the script with PHPMyAdmin (web interface)
3. Edit 'config.php' for database settings. Database
abstraction is supported starting in TorrentFlux 2.0 using
ADODB for PHP. You may specify type of database you want to
use, but the examples here use MySQL.
4. 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? You are ready to access
the application!
5. On your first login, you will be taken to the admin settings
page. This is where you will check all your TorrentFlux
Settings (previous versions had these settings in the config.php).
At the top of this page is "Path" -- you will need to create
a directory with read/write permissions for TorrentFlux to use.
You can create a directory and chmod 777 it then specify this
path on the Admin Settings page. When the path is valid and
writable, there will be a green light next to it.
While you are on the TorrentFlux Settings page, you may want to
verify that you have green lights down the page (if not you will
want to fix them).
Enjoy!