-={MINDFREAK}=-
Active Member
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: