NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Other Tips, Tricks and Tutorials

Other Tips, Tricks and Tutorials


Installing TorrentFlux and XAAMP

Control your torrent downloads through a web interface.

By Mihai Marinof, Linux Editor

7th of December 2006, 10:03 GMT

Adjust text size:


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 imageReview imageReview imageReview image
Read by 18,534 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Good (3.4/5) 7 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Grant Root Privileges to Regular Users

Installing NTFS Write Support on Fedora/Ubuntu

Setting Up a SHOUTcast Server + DSP Plug-In

Apache VirtualHosting Guide

Building Your Own IRC Server with Services

Resetting a Forgotten Root Password

How to Setup a Free Backup Solution for MySQL

User opinions:

No user comments yet.
Be the first to express your opinion using the form below!

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM