mysql root password can be found in /root/.my.cnf but it shouldn't be used because root account shouldn't be used.
I'll try to explain all the necessary steps to install torrentflux (and it's the same for many other applications like SPIP or JOOMLA):
1) First, download the archive:
wget http://kent.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.1.tar.gz
2) Create an ibay, for exemple an ibay called torrent:
- owner: admin
- write: group, read: group
- Web access, local only or internet, as you want, without password (torrentlux has it own authentication system)
- enable dynamic pages
3) Remove the index.html from the html directory of the ibay
rm -f /home/e-smith/files/ibays/torrent/html/index.html
4) Extract the archive in the html directory of the ibay
tar xvzf torrentflux_2.1.tar.gz
mv torrentflux_2.1/* /home/e-smith/files/ibays/torrent/html/
5) make www the owner of all this files
chown -R www:www /home/e-smith/files/ibays/torrent/html
6) create a database and grant all permissions on it to a user of your choice, for example we will create a database called torrentflux_db, and we will grant permissions on it to user torrentflux with password torrent_pass
mysql
create database torrentflux_db;
grant all privileges on torrentflux_db.* to 'torrentflux'@'localhost' identified by 'torrent_pass';
flush privileges;
exit
7) Open your web browser and go to the ibay you have created, for example
http://yourserver/torrent.
You should arrived on a the installation page of the software, you just have to follow the instructions. When it asks for the mysql database parameters, enter the name of the database you have created the step before, server localhost and the user/password you have used
From my memory, you will also have to choose a directory to store the downloded file and give it 777 permissions, you can choose the directory you want. For example, I've created a directory download in the files directory of the ibay:
mkdir /home/e-smith/files/ibays/torrent/files/download
chown www:www /home/e-smith/files/ibays/torrent/files/download
chmod 777 /home/e-smith/files/ibays/torrent/files/download
That's all. I hope this were usefull, ask if you want more details
Cheers, daniel