TorrentFlux is a PHP based BitTorrent client. Now that I have a server, may as well use that as a seeder/downloader all the time.The prerequisite is LAMP (Linux Apache Mysql PHP). So let’s install that first.
Install Apache 2:
#apt-get install apache2
Now type http://myComputerName/apache2-default/ to test that it works. You should get the test page.
Install MySQL:
#apt-get install mysql-server
After that, run this script to initialize MySQL and don’t forget to change the root password. This root is NOT the same as the root user on your Linux machine:
#mysqladmin -u root password MyNewPassword
Install the latest version of PHP, which at the present moment is 5:
#apt-get install php5
Let’s restart Apache just for fun and to make sure all the setting are loaded properly:
#/etc/init.d/apache2 restart
If you don’t already have BitTorrent, then install that as well:
#apt-get install bittorrent
Now create a folder to host your torrentflux.
#cd /var/www
#mkdir torrentflux
#chmod 777 torrentflux
Now go and download Torrentflux from http://www.torrentflux.com and follow the instruction in the INSTALL file.
#wget http://heanet.dl.sourceforge.net/sourceforge/torrentflux/torrentflux-2.0beta1.tar.gz
Ok, so now we have to add a database to MySQL. I’m going to install PHPMyAdmin because it’s easy and nice to configure.
#apt-get install phpmyadmin
Create database torrentflux and dump torrentflux.sql to database
#mysql -u root -p
Enterpassword : ***********
mysql>create database torrenflux;
mysql>GRANT ALL ON torrentflux.* TO torrentflux@localhost IDENTIFIED BY ‘xxxxxx’;
mysql> flush privileges;
mysql>quit;
Dump data to Database
#mysqldump -u root -p torrentflux < torrentflux.sql
Enterpassword : ***********
Now edit the torrentflux config.php file located in the /var/www/torrentflux directory to reflect this change.
#pico /var/www/torrentflux_2.0/html/config.php
The variable to edit is $cfg[”path”] I also edited the line:
$cfg[”db_user”] = “user”; // username for your MySQL database
$cfg[”db_pass”] = “password”;
to
$cfg[”db_user”] = “torrentflux”; // username for your MySQL database
$cfg[”db_pass”] = “xxxxxxx”;
< blockquote >< a href=”http://cheaptabletsonline.com/”>CheapTabletsOnline.com. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. Low price drugs. Order drugs online< /a >…
Buy:100% Pure Okinawan Coral Calcium.Accutane.Lumigan.Retin-A.Arimidex.Petcam (Metacam) Oral Suspension.Nexium.Prevacid.Human Growth Hormone.Prednisolone.Mega Hoodia.Zovirax.Zyban.Actos.Valtrex.Synthroid….
1 | TODD September 10th, 2010 at 1:05 am