1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
Torrentflux 2.4 How To
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Torrentflux 2.4 How To
#3225
Torrentflux 2.4 How To 2 Years ago  
Hello Comunity.

I resently got Torrentflux 2.4 installed and working and thought id share what i did to get it going.
This how to is more for those of us out there that have come from windows enviroments and are new to the whole linux exspeariance.

What you will need

For windows you will need winSCP and putty.

First download Torrentflux 2.4 on to you windows computer. Then using winSCP as root user copy the torrenflux download to your ClearOS box. I uploaded the file to "/var/tmp/", just by draging and droping the file into winSCP.

Next open Putty and login as root. Navigate to "/var/tmp" command "cd /var/tmp".
Then extract the file

"tar zxvf torrentflux_2.4.tar.gz"

Once extracted "cd /torrentflux_2.4" then we need to copy the html folder to the webserver.
"mv ./html /var/www/html/torrentflux". This will move the file to the webserver and place it into a file called torrentflux.

Before we go any therther there is a file located in the extracted torrentflux folder that we will need later called mysql_torrentflux.sql. You should find it at
"/var/tmp/torrentflux_2.4/sql/mysql_torrentflux.sql" using winSCP copy this file to you desktop for the time being (or if you still have the download for torrentflux_2.4 on your windows machine you can find it in the sql folder using winrar.

Now login to your ClearOS webconfig page and navigate to "server > webserver". Start the service if not all ready and switch it to auto start. Then do the same for "server > mysql" Set the mysql password if not done all ready.

Then click on "go" login in with root user and what ever password you have just used for mysql.
Under the heading "MySQL localhost" change the drop down option for "Collation" and select
"utf8_general_ci" and fill out the box just under "MySQL localhost" (this is the name for the data base) i used "torrentflux" then click create.
Now click on "import" upto then "browse" find the "mysql_torrentflux.sql" file from the download. And then click "go".
This should set the data base up for us.

The next step i did because i like to be able to accsess stuff from windows networking is to create a new flexshare from webconfig. I called mine "torrentflux".

Using winSCP i then navigate to "/var/www/html/torrentflux/" and edit "config.php" by dubble clicking on the file (if you find that there is no torrentflux file in here refresh winSCP).

The config.php file need the information for you new data base.

/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7, postgres8 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = "rootpasswordhere"; // password for database
/**************************************************************************/

If you have done every thing the same way so far you should only need to fill out the password section. If you have called you data base somthing other than "torrentflux" you will need to change this. Save the changes once done.

We are now ready to login to torrentflux. Open your web browser and then
"myclearosip/torrentflux" if all has gone ok you should be faced with a login for torrentflux.

What ever you type in username and password wise will become the defualt admin user.

Once loged in to torrentflux for the first time you should be faced with the "TorrentFlux Settings"
page.
For the "Path" option i changed mine to the new flexshare that i made earlyer
"/var/flexshare/shares/torrenflux/" and then clicked on "update settings" down at the bottem.

I then had to login with putty and change the file permitions

"chmod 777 /var/flexshare/shares/torrentflux" after this torrentflux now works

If any one would like to add to this how to or may be offer up a linux command line only how to please feel free.

It would also be good to know what people make of my how to as it is my first

Any how i hope people find it handy
Duncan Rix
Gold Boarder
Posts: 253
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/20 07:38 By Kingsize.
The administrator has disabled public write access.
 
#3228
Re: Torrentflux 2.4 How To 2 Years ago  
Good job thanks, nice idea to have all the downloads end up in a flexshare
Tim Burgess
Moderator
Posts: 4181
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3229
Re: Torrentflux 2.4 How To 2 Years ago  
Thanks Tim, about time i gave back to the comunity and gave guys such as your self a well deserved rest lol.

I would like to know if any one manages to install Torrentflux using my How To so i know how iv done or if iv forgot any thing
Duncan Rix
Gold Boarder
Posts: 253
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3281
Re: Torrentflux 2.4 How To 2 Years ago  
This is such a nice tut. I am trying it but whenever I do cd /torrentflux_2.4 I get directory no such file/directory but I know there's the folder there because it's in the folder. So I'm probably jsut going to move it with winscp because that's easier anyways hahaha

Ok after that little thing in the beginning I got it to work I never knew how to do it before and was wanting to do it but couldn't. So I thank you..
Parker
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/11 20:25 By parker955.
The administrator has disabled public write access.
 
#3332
Re: Torrentflux 2.4 How To 2 Years ago  
Love the TorrentFlux, been running 2.4 for a long time now - works great!

Thanks for the tutorial!
Darryl Sokoloski
Developer
Posts: 88
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3459
Re: Torrentflux 2.4 How To 2 Years ago  
Have you given torrentflux-b4rt a go, out of interest
herballizard
Gold Boarder
Posts: 216
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3460
Re: Torrentflux 2.4 How To 2 Years ago  
I got b4rt working to. Just put the files from the html folder in b4rt to var/www/html/torrentfluxb4rt/ or whatever you want to call it.

No need to mess around with adding the sql in mysql since b4rt does it automatically. Just make sure to have mysql and the webserver running and jut go to

clearosip/torrentfluxb4rt
Parker
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3590
Re:Torrentflux 2.4 How To 2 Years ago  
Thanks for a wery "easy-to-follow" tutorial!
Even I managed to get Torrentflux working now with this helpful tutorial!
I used Torrentflux long time ago on a CC 3 or 4 release- but with help installing it from a linux-friend of mine.
This time I managed to install it myself without ending up with a server dead like a brick

PS:
I dont know if its just me not understanding all in your tutorial since norwegian is my native language, but I had to choose "Create" the database BEFORE i could import the file "mysql-torrentflux.sql" file. Not doing so generated a error message dump ending with:

#1046 - No database selected
Anders Klock
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/17 08:49 By bandit1.
The administrator has disabled public write access.
 
#3840
Re:Torrentflux 2.4 How To 2 Years ago  
Thanks for the imput people.

And Anders Klock thanks for the pointer i did leve the create bit out so thanks.

herballizard yes i have used B4rt in the past but i like a challenge and to put my new linux skills to the test

Thanks once again all
Duncan Rix
Gold Boarder
Posts: 253
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3966
Re:Torrentflux 2.4 How To 2 Years ago  
I'm going to install a torrent client on my gateway also, and this looks fairly easy to follow. Just one question before I do please - can you add blocklists or IP filters in torrentflux? (searched it's forums and only mentioned making firewall changes)
I currently use Vuze on windows, and it works ok but is a resource hog, and I'd be happy to use what others do in ClearOS, but I'd really like something that can block certain IPs also.
Any comments/experience appreciated.
Thanks,
Simon
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop