Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
how to install torrentflux on centos

How to Install Torrentflux on CentOS
#1
In this tutorial we will say you how to install torrentflux

Step 1

Code:
yum -y update

Step 2

Code:
yum -y 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
Code:
mysql_install_db
chkconfig --levels 235 httpd on
chkconfig --levels 235 mysqld on

Step 5
Restart Mysql server
Code:
/etc/init.d/mysqld restart

Step 6
Code:
mysqladmin -u root password YOURPASS

Step 7
Code:
mkdir /var/www/html/torrentflux
cd /var/www/html/torrentflux/
wget http://softlayer.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.4.tar.gz
tar -xzf torrentflux_2.4.tar.gz
mv torrentflux_2.4/html/* /var/www/html/torrentflux/

Step 8
Code:
cd /var/www/html/torrentflux/torrentflux_2.4/sql/
Code:
mysql -u root -p
Password: YOUR PASS
mysql>create database torrentflux;
mysql>\q

Code:
mysql torrentflux < mysql_torrentflux.sql -u root -p
Password: YOUR PASS

Step 9
CREATING A DIRECTORY WHRE THE FILES WILL BE DOWNLOADED AND STORED

Code:
cd /var/www/html/torrentflux
mkdir /downloadz (can put anything u need)
chmod 777 /downloadz
chown apache.apache /downloadz

Step 10
NOW WE HAVE TO EDIT TORRENTFLUX CONFIG TO AND FILL DB DETAILS
Code:
nano /var/www/html/torrentflux/config.php

IT WILL OPEN THE BELOW THING
PHP Code:
/**************************************************************************/
// 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"] = "YOUR PASS";    // password for database
/**************************************************************************/ 

EDIT IT TO YOU DB CONFIG
press control+x
then it asks weather to save the edited data or not..press Y

For security reasons

Code:
chmod -R 755 /var/www/
chown -R apache.apache /var/www/

Restarting

Code:
/etc/init.d/httpd restart
/etc/init.d/mysqld restart

Now Open
Code:
http://yourip/torrentflux/
default login details is
Code:
user:goombah
pass:iamah

change it to your needs..

credits to desiboy

Regards



Dinesh Kumar Mohanty
Ultra Web Solutions®
Bhubaneswar, Odisha, India.

UltratechHost - Your One Stop Offshore & Onshore Hosting Provider
Server Locations : Netherlands, Germany, Russia, Singapore & USA
Service Offers: Shared hosting | Reseller hosting | Cloud server | Dedicated server | VPS Hosting



Forum Jump:


Users browsing this thread: 1 Guest(s)