How To Install Torrentflux-b4rt on Centos 5

Status
Not open for further replies.

-={MINDFREAK}=-

Active Member
194
2011
4
20
How To Install Torrentflux-b4rt on Centos 5 x84_64


This is a guide to install (torrentflux-b4rt_1.0-beta2) on centos 5 from scratch! you don't need to know anything because all the steps are clearly provided so don’t hesitate to follow these steps.


This tutorial assumes that Centos 5 is already installed and the user knows how to use Putty.
*DOWNLOAD PUTTY
Code:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


* Connect To Your Vps OR Dedicated Box




* First we will update system.
Code:
yum update


* Lets start installing Torrentflux-b4rt.
* We need to install apache,mysql,php and curl.
Code:
yum install httpd python php mysql-server php-mysql php-common php-gd php-curl

* Now we have installed all the scripts necessary so restart apache by using this code.
Code:
/etc/init.d/httpd restart

* Now we need to create MySQL Data Base user.
Code:
mysql_install_db

* Apache and mysql Auto Startup on server reboot by using the following commands.
FOR APACHE
Code:
chkconfig --levels 235 httpd on

AND MYSQL
Code:
chkconfig --levels 235 mysqld on

* Then restart mysql.
Code:
/etc/init.d/mysqld restart

* Then wee need to create mysql root password you can use any password for this simply replace YOURPASSHERE with your desired password.
Code:
mysqladmin -u root password YOURPASSHERE

* Then you need to create a directory to run torrentflux because running on the main directory might give us some problems so please create a directory. Its like normal directory for ex- Google Images ! In this guide I have set the directory as torrentflux you can see it below! Run this code
Code:
mkdir /var/www/html/torrentflux

* Now enter into torrentflux directory.
Code:
cd /var/www/html/torrentflux

* Next step is to download torrentflux from sourforge by using wget command.
Code:
wget http://download.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2

* Uncompressing the archive.
Code:
tar -xjvf torrentflux-b4rt_1.0-beta2.tar.bz2

* Now moving the torrentflux to previously created dir,
Code:
mv torrentflux-b4rt_1.0-beta2/html/* /var/www/html/torrentflux/

* Then you need to create a directory to store downloaded files. Im making a directory called downloads. Also run these commands one by one to change permission.
Code:
mkdir /var/www/html/torrentflux/downloads/
chmod 777 /var/www/html/torrentflux/downloads/
chown apache.apache /var/www/html/torrentflux/downloads/

* Now change permission to config folder.
Code:
chmod 777 /var/www/html/torrentflux/inc/config/
chown apache.apache /var/www/html/torrentflux/inc/config/

* Now we will install unrar for torrentflux by using commands one by one.
Code:
cd /usr/local/src
wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
tar zxvf rarlinux-3.8.0.tar.gz
cd rar
make
make install

* Now open browser to setup your seedbox and follow screenshots. (Click on image to view large)


















* Now delete setup.php
Code:
rm /var/www/html/torrentflux/setup.php

* It's time to login into seedbox first time with default username & password.
Code:
username: admin
password: admin




Now we have successfully installed torrentflux-b4rt_1.0-beta2 on centos 5.

Don't forget to give credit to me if you are sharing on other site.
 
Last edited:
9 comments
thank you very much indeed that was such a great tutorial and I followed it step-by-step, and glad to say it was not really hard at all !

but I am going to use this version of torrent flux: torrentflux_2.4
actually I did go through your tutorial until I reached this:
"* Now open browser to setup your seedbox and follow screenshots. (Click on image to view large)"

I have my own dedicated server, and I have setup a VPS with CentOS just fine, the VPS is logged in as root user, and it is connected to the internet just fine,

But when I enter the VPS IP in my browser I can't reach (to initiate torrentflux setup steps..)

I think something is missing at my end but am not sure what it is, can you help me out with this ?!..

thank you,,
 
thank you very much indeed that was such a great tutorial and I followed it step-by-step, and glad to say it was not really hard at all !

but I am going to use this version of torrent flux: torrentflux_2.4
actually I did go through your tutorial until I reached this:
"* Now open browser to setup your seedbox and follow screenshots. (Click on image to view large)"

I have my own dedicated server, and I have setup a VPS with CentOS just fine, the VPS is logged in as root user, and it is connected to the internet just fine,

But when I enter the VPS IP in my browser I can't reach (to initiate torrentflux setup steps..)

I think something is missing at my end but am not sure what it is, can you help me out with this ?!..

thank you,,

try to open this
Code:
[COLOR=#ff0000]http://yourserverip/torrentflux/setup.php[/COLOR]
 
Status
Not open for further replies.
Back
Top