Install TorrentFlux On CentOS 5.3
2000 + Views :D
2000 + Views :D
This Tutorial Assumes That The User Knows How To Use Putty
*DOWNLOAD PUTTY
* Connect To Your Vps OR Dedicated Box
*
*
*RESTART Apache
* CREATING MYSQL USER
Apache and mysql Auto Startup on server reboot by using the following commands
FOR APACHE
AND MYSQL
*Restart Mysqld
CREATING A DIRECTORY FOR DOWNLOADING TORRENT FLUX
*Next step is to download torrentflux from sourforge by using wget command
*Uncompressing the archive
*Moving the torrentflux to previously created dir
*Now we will create required database
* CREATING A DIRECTORY WHRE THE FILES WILL BE DOWNLOADED AND STORED
* NOW WE HAVE TO EDIT TORRENTFLUX CONFIG TO AND FILL DB DETAILS
IT WILL OPEN THE BELOW THING
*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
*Restarting
now to to http://yourip/torrentflux/
default login details is
change it to your needs..
credits to desiboy when you post it on other sites
*DOWNLOAD PUTTY
Code:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
*
Code:
yum update
Code:
yum install httpd python php mysql-server php-mysql php-common php-gd php-curl
Code:
/etc/init.d/httpd restart
Code:
mysql_install_db
FOR APACHE
Code:
chkconfig --levels 235 httpd on
Code:
chkconfig --levels 235 mysqld on
Code:
/etc/init.d/mysqld restart
Code:
mysqladmin -u root password YOURPASS
Code:
mkdir /var/www/html/torrentflux
Code:
cd /var/www/html/torrentflux/
Code:
wget http://softlayer.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.4.tar.gz
Code:
tar -xzf torrentflux_2.4.tar.gz
Code:
mv torrentflux_2.4/html/* /var/www/html/torrentflux/
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
Code:
mkdir /downloadz (can put anything u need)
chmod 777 /downloadz
chown apache.apache /downloadz
Code:
nano /var/www/html/torrentflux/config.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
/**************************************************************************/
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/
Code:
/etc/init.d/httpd restart
/etc/init.d/mysqld restart
default login details is
Code:
user:goombah
pass:iamah
credits to desiboy when you post it on other sites