[Tutorial] How to install TorrentFlux ( Easy Way )

Status
Not open for further replies.

Dom

Active Member
608
2010
53
0
How to install TorrentFlux - The Easy Way


What is TorrentFlux ?

TorrentFlux is a web-based system for managing bit torrent file transfers. It is an open source package (GPL) and developed for Linux, Unix & BSD platforms on the ubiquitous LAMP stack.


How to Install it :

Step 1 : Update Centos.
Code:
yum update
Step 2 : Install Modules
Code:
yum install httpd python php mysql-server php-mysql php-common php-gd php-curl
Step 3 : Restart Apache
Code:
/etc/init.d/httpd restart
Step 4 : Make MYSQL
Code:
mysql_install_db
Step 5 : Fix some permissons :
Code:
chkconfig --levels 235 httpd on
Code:
chkconfig --levels 235 mysqld on
Step 6 : Restart Mysql
Code:
/etc/init.d/mysqld restart
Step 7 : Make a MYSQL DataBase :

Code:
mysqladmin -u root password [COLOR=Red][B]YOUR ROOT PASSWORD[/B][/COLOR]
Step 8 : Setup Some Folders for TorrentFlux



Code:
mkdir /var/www/html/torrentflux

  

cd /var/www/html/torrentflux/

wget [U][URL]http://downloads.sourceforge.net/torrentflux/torrentflux_2.4.tar.gz?modtime=1213797423&big_mirror=0[/URL][/U]
Step 9 : Un-Tar Torrent Flux

Code:
tar -xzf torrentflux_2.4.tar.gz

mv torrentflux_2.4/html/* /var/www/html/torrentflux/
Step 10 : Make a database Again <_<
Code:
cd /var/www/html/torrentflux/torrentflux_2.4/sql/

mysql -u root -p 

[CODE]mysql>create database [B]Your DATABASE NAME[/B];

mysql>\q
[/CODE].... Follow On Screen Steps

Step 11 : Enter This Code

Code:
mysql torrentflux < mysql_torrentflux.sql -u root -p
Step 12 : Make Downloads Folder

Code:
mkdir /mydownloads (can put anything u need) 
chmod 777 /mydownloads
chown apache.apache /mydownloads
Step 13 : Edit Your Config

Code:
nano /var/www/html/torrentflux/config.php

$cfg["db_pass"] = "YOUR PASS";    // password for database
Step 14 : Restart MYSQL and Apache
Code:
/etc/init.d/httpd restart 
/etc/init.d/mysqld restart
Now You can Login. http://youripadresss/torrentflux

Code:
user:[COLOR=Red][B]goombah[/B][/COLOR] pass:[COLOR=Red][B]iamah[/B][/COLOR]
 
6 comments
i use this php client and is just like torrentflux,and for this one you dont need database. (more easy to install).you can install on a subdomain to and use like a seedbox.
83295115.jpg
 
Hi ,

Cool , I might make a tutorial on how to install TorrentVovle. If I do ill add you in the credits ;)
 
Thanks for sharing mate! (y)

edit: can u help me.. getting this error:

Code:
[root@sound ~]# yum install php-mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.ash.fastserv.com
 * epel: mirror.symnds.com
 * extras: mirror.symnds.com
 * updates: centos.mirror.choopa.net
epel                                                                            | 3.7 kB     00:00
epel/primary_db                                                                 | 3.1 MB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mysql
--> Processing Dependency: php-pdo for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mysql
---> Package php-pdo.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-pdo
--> Running transaction check
---> Package perl-DBI.i386 0:1.52-2.el5 set to be updated
---> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mysql
---> Package php-pdo.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-pdo
--> Finished Dependency Resolution
php-mysql-5.1.6-27.el5_5.3.i386 from base has depsolving problems
  --> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-mysql-5.1.6-27.el5_5.3.i386 (base)
php-pdo-5.1.6-27.el5_5.3.i386 from base has depsolving problems
  --> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-pdo-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-pdo-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-mysql-5.1.6-27.el5_5.3.i386 (base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
 
Status
Not open for further replies.
Back
Top