1
0

README 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. =======================================================================
  2. $Id: README 3235 2007-10-19 11:22:17Z munk $
  3. vim: set comments=fb\:o,fb\:#,fb\:-,fb\:*,fb\:A.,fb\:Q. et tw=72 sw=4:
  4. =======================================================================
  5. /**********************************************************************
  6. Torrentflux-b4rt 1.0 README file
  7. **********************************************************************/
  8. Contents:
  9. =========
  10. 1. Introduction
  11. 2. Features
  12. 3. Requirements
  13. 3.1 Minimum Requirements
  14. 3.2 Additional/Optional Feature Requirements
  15. 3.3 Fluxd Requirements
  16. 4. Installation
  17. 5. Support
  18. /**********************************************************************
  19. 1. Introduction
  20. **********************************************************************/
  21. Torrentflux-b4rt is a web based transfer control client.
  22. Torrentflux-b4rt allows you to control your bittorrent transfers
  23. from anywhere using a highly configurable web based front end.
  24. Torrentflux-b4rt is very easy to install on a web server and includes
  25. a simple setup script which can be accessed from a web browser.
  26. Just upload the files to your web server, run the setup script and
  27. your torrentflux-b4rt installation is ready to go.
  28. Torrentflux-b4rt was originally based on the TorrentFlux BitTorrent
  29. controller written by Qrome, although has recently undergone a major
  30. rewrite to allow transparent integration with a number of transfer
  31. clients and protocols:
  32. Torrentflux-b4rt has builtin support for transfers via:
  33. o BitTorrent - supported client(s) include:
  34. * Original BitTorrent/Mainline - supports trackerless
  35. torrents and encryption
  36. * BitTornado - uses slightly less resources than the original
  37. BT, allows file priority for downloading files selectively
  38. * Transmission - much smaller memory footprint without much
  39. loss in functionality
  40. * Azureus - control a number of transfers from a single
  41. control process, tighter control on total max bandwidth
  42. for all torrents
  43. o HTTP/FTP - supported client(s) include:
  44. * wget - standard lightweight file transfer utility on
  45. Linux, supported on many other platforms also
  46. o Usenet - supported client(s) include:
  47. * nzbperl - perl based application allowing multi-connection
  48. news server downloads from nzb files with functionality
  49. for bandwidth throttling.
  50. Torrentflux-b4rt incorporates a huge number of advanced options to
  51. allow you finer grained control of your transfers. The
  52. administration panel in torrentflux-b4rt includes a large number of
  53. options to allow you fine grained control over every aspect of your
  54. bittorrent/transfers usage.
  55. Torrentflux-b4rt is also a multi-user application, allowing you to
  56. create individual accounts and assign restrictions to those accounts
  57. as you wish.
  58. /**********************************************************************
  59. 2. Features
  60. **********************************************************************/
  61. Please see the FEATURES file for a comprehensive list of
  62. Torrentflux-b4rt features.
  63. /**********************************************************************
  64. 3. Requirements
  65. **********************************************************************/
  66. Due to the extensible nature of torrentflux-b4rt, there are a
  67. variety of 3rd party tools/utilities and extra functionality that
  68. can be enabled from within the administration control panel.
  69. Torrentflux-b4rt also features a service daemon called Fluxd which
  70. can be used to schedule rss feed downloads, keep watch over running
  71. torrents and restart them if they die.
  72. The 3rd party utils/functionality and Fluxd all have their own
  73. requirements. For this reason the requirements section is split
  74. into the following sections:
  75. 3.1 Minimum Requirements
  76. 3.2 Additional/Optional Feature Requirements
  77. 3.3 Fluxd Requirements
  78. ALWAYS install the required items from the package installation
  79. manager for your OS whenever possible. This will save a lot of time
  80. and headaches, and ensure all the dependencies are installed
  81. correctly. See your OS documentation for details about the software
  82. management systems available on your OS.
  83. /**********************************************************************
  84. 3.1 Minimum Requirements
  85. **********************************************************************/
  86. This section lists the minimum requirements required to operate
  87. torrentflux-b4rt with the basic core functionality. This list may
  88. seem daunting, but most Unix like OSs have many of these features
  89. available as part of their software distribution system.
  90. /******************************************************************
  91. Notes:
  92. =====
  93. - The following lists are NOT exhaustive - if you use a Unix like
  94. OS/webserver/database/etc not listed below, basic functionality of
  95. torrentflux-b4rt may well work. Success reports installing
  96. torrentflux-b4rt on other OSs other than those below above are
  97. welcome on the forum:
  98. http://tf-b4rt.berlios.de/forum/
  99. - IT IS STRONGLY ADVISED THAT YOU INSTALL THE COMPONENTS LISTED
  100. BELOW FROM THE SOFTWARE DISTRIBUTION SYSTEM INCLUDED WITH YOUR OS
  101. (ie apt-get, rpm package management, FreeBSD ports system, etc).
  102. ******************************************************************/
  103. The core minimum requirements follow below:
  104. o A Unix like OS (no Win32 support).
  105. Current tested OSs include:
  106. * Linux:
  107. o Debian, Ubuntu, Gentoo, RedHat, Fedora, NSLU2,
  108. ClarkConnect - amongst others
  109. Note:
  110. =====
  111. SELinux should be turned off.
  112. * BSD:
  113. o FreeBSD, OpenBSD, NetBSD
  114. * Apple:
  115. o Mac OS X
  116. o A Web Server.
  117. Current tested webservers include:
  118. * Apache
  119. http://www.apache.org/
  120. * LightTPD
  121. http://www.lighttpd.net/
  122. o An SQL-Database.
  123. Currently Supported databases:
  124. * MySQL
  125. http://www.mysql.com/
  126. * SQLite
  127. http://www.sqlite.org/
  128. * PostgreSQL
  129. http://www.postgresql.org/
  130. o PHP in 'web mode' (ie mod_php or php-cgi - preferably mod_php) >=
  131. 4.3.x built with database (MySQL, SQLite or PostgreSQL), session,
  132. sockets and PCRE support enabled. For image recognition/captcha
  133. support for logins, GD support must be enabled in PHP.
  134. o PHP in 'commandline mode' (php-cli) >= 4.3.x built with database
  135. (MySQL, SQLite or PostgreSQL), session, sockets and PCRE support
  136. enabled.
  137. http://www.php.net/
  138. PHP Notes:
  139. ==========
  140. o Safe Mode must be turned off:
  141. * php.ini: safe_mode = Off
  142. o Allow Url fopen must be allowed:
  143. * php.ini: allow_url_fopen = On
  144. o open_basedir must be empty:
  145. * php.ini: open_basedir = ''
  146. Note: some web control panels like cPanel use
  147. open_basedir to restrict users as to what they can do with
  148. PHP. torrentflux-b4rt does NOT officially support
  149. installations on shared hosting platforms due to the
  150. complications that arise (such as the use of open_basedir
  151. amongst many other things). However if you do choose to
  152. attempt to install torrentflux-b4rt on a shared host running
  153. a control panel such as cPanel, be aware of the problems
  154. open_basedir can cause.
  155. Please see:
  156. http://php.net/manual/en/features.safe-mode.php#ini.open-basedir
  157. for more info.
  158. o As mentioned above, both the PHP web module and the
  159. commandline / cli binary must be installed, both with support
  160. for the database you plan to use and with support for PCRE and
  161. sessions. Check the package management system
  162. documentation/website for your OS for more info on installing
  163. PHP with support for web and cli.
  164. o Python is required for the BitTorrent, BitTornado and Azureus
  165. bittorrent clients:
  166. * Python >= 2.2 for BitTornado
  167. * Python >= 2.4 for BitTorrent Mainline (original 'BitTorrent client)
  168. * Python >= 2.2.1 for Azureus
  169. o Perl >= 5.6 or higher for fluxd, nzbperl.pl, ttools.pl and
  170. fluxpoller.pl. See section 3.2 below for extra info.
  171. Once more(!), it is highly advisable to install these requirements
  172. using the recommended package management system for your OS.
  173. /**********************************************************************
  174. 3.2 Additional/Optional Feature Requirements
  175. **********************************************************************/
  176. The following is a list of additional requirements needed before
  177. enabling additional features and options in torrentflux-b4rt. By
  178. default these options or features are disabled and can be enabled
  179. via the administration panel - please ensure the requirements are
  180. installed before enabling additional features.
  181. As mentioned above, it is strongly advised that these requirements
  182. are installed from your OS's software distribution system to ensure
  183. all dependencies are installed correctly.
  184. Additional/optional feature requirements follow below:
  185. o BitTorrent Mainline Client requirements:
  186. * PyCrypto (Python Cryptography Toolkit)
  187. http://sourceforge.net/projects/pycrypto/
  188. * Twisted Python libs
  189. http://twistedmatrix.com/trac/
  190. Note:
  191. =====
  192. Twisted also requires Zope Interface >=3.0.1
  193. http://www.zope.org/Products/ZopeInterface/
  194. see Twisted installation docs for more info.
  195. o Azureus Client requirements:
  196. * Azureus 2.5.0.0 or higher with the XML/HTTP Plugin
  197. http://azureus.sourceforge.net
  198. http://azureus.sourceforge.net/plugin_details.php?plugin=xml_http_if
  199. see azureus installation doc (doc/azureus.txt) for more info.
  200. o wget transfer functionality requirements:
  201. * wget
  202. http://www.gnu.org/software/wget/
  203. o nzbperl.pl requirements:
  204. * UUDeview
  205. http://fpx.de/fp/Software/UUDeview/
  206. The following perl modules are also required for nzbperl:
  207. * IO::File
  208. * IO::Select
  209. * IO::Socket::INET
  210. * File::Basename
  211. * Getopt::Long
  212. * Cwd
  213. * XML::Simple
  214. * XML::DOM
  215. Optional nzbperl perl modules:
  216. * Threads
  217. * Thread::Queue
  218. o Archive (rar/zip) extraction functionality requirements:
  219. * unrar
  220. http://www.rarlab.com/rar/
  221. o SFV file integrity checking functionality requirements:
  222. * cksfv
  223. http://zakalwe.fi/~shd/foss/cksfv/
  224. o vlc streaming functionality requirements:
  225. * vlc
  226. http://www.videolan.org/
  227. o ttools.pl is an alternative BitTorrent metadata client that
  228. supports metadata scraping. It can be enabled in the
  229. Administration panel. It requires the following modules:
  230. * Digest::SHA1 (perl -MCPAN -e "install Digest::SHA1")
  231. * LWP::UserAgent (perl -MCPAN -e "install LWP::UserAgent")
  232. o Mac OS X specific:
  233. o Compilation of Transmission on Mac OS X requirements:
  234. * Apple Developer Tools
  235. http://developer.apple.com/tools/
  236. o wget functionality on Mac OS X requirements:
  237. * wget
  238. http://www.statusq.org/images/wget.zip
  239. /**********************************************************************
  240. 3.3 Fluxd Requirements
  241. **********************************************************************/
  242. The fluxd daemon works as part of torrentflux-b4rt to run in the
  243. background on your server performing various tasks that you
  244. schedule. Fluxd is started from the Administration control panel -
  245. by default it is not running.
  246. Fluxd is written in the Perl scripting language and requires a
  247. number of perl modules to run. In the following list, the perl
  248. command is given for you to install the corresponding module from
  249. CPAN. HOWEVER, most of these modules should be available from your
  250. OS's package management system and it is strongly advised that you
  251. install the modules from there rather than directly using the perl
  252. CPAN system.
  253. The required perl modules are as follows:
  254. o Core fluxd functionality:
  255. * IO::Select (perl -MCPAN -e "install IO::Select")
  256. * IO::Socket::UNIX (perl -MCPAN -e "install IO::Socket::UNIX")
  257. * IO::Socket::INET (perl -MCPAN -e "install IO::Socket::INET")
  258. * POSIX (perl -MCPAN -e "install POSIX")
  259. IMPORTANT:
  260. ==========
  261. Additionally, Fluxd uses a PHP based helper script called
  262. fluxcli.php and for this to run correctly the commandline (cli)
  263. version of PHP must be installed with the correct extensions
  264. (database, PCRE, socket and session support). See the notes above
  265. in section 3.1 for more information.
  266. o (Optional) Fluxd database connectivity using Perl DBI - Perl DBI
  267. db connectivity is not required to run Fluxd. The option exists
  268. to enable perl DBI however in the Admin panel. The following
  269. modules are required to run Fluxd in Perl DBI mode:
  270. * all database-types:
  271. DBI (perl -MCPAN -e "install Bundle::DBI")
  272. * MySQL:
  273. DBD::mysql (perl -MCPAN -e "install DBD::mysql")
  274. * SQLite:
  275. DBD::SQLite (perl -MCPAN -e "install DBD::SQLite")
  276. * PostgreSQL:
  277. DBD::Pg (perl -MCPAN -e "install DBD::Pg")
  278. o (Optional) Fluxinet functionality requirements - Fluxinet allows
  279. remote connections directly to the Fluxd daemon over TCP. It
  280. is not enabled by default:
  281. * IO::Select (perl -MCPAN -e "install IO::Select")
  282. * IO::Socket::INET (perl -MCPAN -e "install IO::Socket::INET")
  283. /**********************************************************************
  284. 4. Installation
  285. **********************************************************************/
  286. Torrentflux-b4rt can be installed quickly from a web browser using
  287. the included setup script. For full details of how to install
  288. torrentflux-b4rt, please see the INSTALL file.
  289. It is also possible to Upgrade an existing installation of 2.1-b4rt
  290. or official TF (2.1 - 2.3) to torrentflux-b4rt. Details about
  291. upgrades can be found in the INSTALL file.
  292. /**********************************************************************
  293. 5. Support
  294. **********************************************************************/
  295. Please see the SUPPORT file for information on getting help with
  296. your Torrentflux-b4rt installation.