Control your torrent downloads through a web interface.

Dec 7, 2006 10:03 GMT  ·  By

TorrentFlux is a PHP based torrent client that runs on a web server, allowing you to manage your downloads through a web interface from anywhere. It's based on BitTornado and requires a functional LAMP server in order to run properly. Once having it installed, you'll be able to add, remove and/or manage torrents and their settings through a web browser. NOTE! If your Linux system already has a functional Apache + MySQL suite already installed, you can skip this step. Otherwise, this guide will allow you to have TorrentFlux installed with XAMPP.

Install XAMPP

XAMPP is a very easy to install Apache distribution containing MySQL, PHP, Perl and ProFTPD. To install it, you have to:

- Download the latest version of XAMPP from Softpedia - click HERE.

- Extract the packages and move them to the appropriate directories:

code
# tar xfz xampp-linux-1.5.5a.tar.gz -C /opt/
- Secure your XAMPP installation. Type:
code
# /opt/lampp/lampp security
- Answers you'll need to type:
code
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? NO

XAMPP: MySQL is accessible via network.
XAMPP: Normally, that's not recommended.
Do you want me to turn it off? YES.

XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? YES
Enter your password?

XAMPP: MySQL has no root password set!!!
XAMPP: Do you want to set a password? YES
Enter your password?

XAMPP: The FTP password is still set to 'lampp'.
XAMPP: Do you want to change the password? NO
- Start Apache and MySQL:
code
# /opt/lampp/lampp startapache
# /opt/lampp/lampp startmysql
Install TorrentFlux

NOTE1: If you already have Apache, PHP and MySQL installed and skipped the "Install XAMPP" step, you should remove the /opt/lampp/bin/ target from ALL the commands. For instance: # /opt/lampp/bin/mysqladmin -uroot -p create torrentflux becomes: # mysqladmin -uroot -p create torrentflux

NOTE2: If you already have Apache, PHP and MySQL installed, the PHP configuration file could be unsuitable for TorrentFlux. Check the /etc/php.ini file if the following directives are correctly set:

code
safe_mode = Off
allow_url_fopen = On
NOTE3: If you're running Fedora CORE, you must disable SELinux: Open /etc/selinux/config and replace the line:

SELINUX=enforcing with SELINUX=disabled

and reboot your computer.

- Download the latest version of TorrentFlux from Softpedia - click HERE.

- Extract and move it to the appropriate directory:

code
# tar xfz torrentflux_2.2.tar.gz -C /opt/
# mv /opt/torrentflux_2.2/html /opt/lampp/htdocs/tf

(If you already have Apache installed, you should use the proper document root, usually /var/www/html so the command will be:

# mv /opt/torrentflux_2.2/html /var/www/html/tf )
- Create a database for torrentflux and load the sql script in it.
code
# /opt/lampp/bin/mysqladmin -uroot -p create torrentflux
(Enter the MySQL root password you've set using XAMPP security script)

# cd /opt/torrentflux_2.2/sql
# /opt/lampp/bin/mysql -uroot -p torrentflux < mysql_torrentflux.sql
(Enter the same MySQL root password)
- Edit /opt/lampp/htdocs/tf/config.php file and specify the MySQL ROOT password in the db_pass directive. The rest shouldn't need to be edited.

- Open a browser and go to http://your.linux.ip.address/tf. The first time you access TorrentFlux, you will be prompted for a user and password, this will be used to set the SUPERADMIN user and password by what you enter. If you enter username "admin" and password "nimda", you will be able to access the application later by using this login information. Enjoy!

Review image
Review image
Review image
Review image