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
