Install TorrentFlux On CentOS 5.3

2000 + Views


This Tutorial Assumes That 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




*
Code: 
yum update
*
Code: 
yum install httpd python php mysql-server php-mysql php-common php-gd php-curl
*RESTART Apache
Code: 
/etc/init.d/httpd restart
* CREATING MYSQL 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
*Restart Mysqld
Code: 
/etc/init.d/mysqld restart
Code: 
mysqladmin -u root password YOURPASS
CREATING A DIRECTORY FOR DOWNLOADING TORRENT FLUX
Code: 
mkdir /var/www/html/torrentflux
*Next step is to download torrentflux from sourforge by using wget command
Code: 
cd /var/www/html/torrentflux/
Code: 
wget http://softlayer.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.4.tar.gz
*Uncompressing the archive
Code: 
tar -xzf torrentflux_2.4.tar.gz
*Moving the torrentflux to previously created dir
Code: 
mv torrentflux_2.4/html/* /var/www/html/torrentflux/
*Now we will create required database

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
* CREATING A DIRECTORY WHRE THE FILES WILL BE DOWNLOADED AND STORED
Code: 
mkdir /downloadz (can put anything u need) 
chmod 777 /downloadz
chown apache.apache /downloadz
* 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
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 to to http://yourip/torrentflux/
default login details is
Code: 
user:goombah
pass:iamah
change it to your needs..

credits to desiboy when you post it on other sites


desiboy Reviewed by desiboy on . Install TorrentFlux On CentOS 5.3 Install TorrentFlux On CentOS 5.3 2000 + Views :D This Tutorial Assumes That The User Knows How To Use Putty *DOWNLOAD PUTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html* Connect To Your Vps OR Dedicated Box http://www.besthostingforums.com/images/cdn/besthostingforums.com/2009/06/13.png Rating: 5