Ok so I think I'm getting somewhere but could still use some assistance.
I started again, From a command line system.
Code:
sudo aptitude install torrentflux mysql-server
At this screen go ok:
Code:
┌────────────────────┤ Configuring libphp-adodb ├────────────────────┐
│ │
│ WARNING: include path for php has changed! │
│ │
│ libphp-adodb is no longer installed in /usr/share/adodb. New │
│ installation path is now /usr/share/php/adodb. │
│ │
│ Please update your php.ini file. Maybe you must also change your │
│ web-server configuraton. │
│ │
│ <Ok> │
│ │
└────────────────────────────────────────────────────────────────────┘
Now this bit is what seems to be the headache:
Code:
┌────────────────────────┤ Configuring torrentflux ├────────────────────────┐
│ │
│ torrentflux must have a database installed and configured before it can │
│ be used. If you like, this can be handled with dbconfig-common. │
│ │
│ If you are an advanced database administrator and know that you want to │
│ perform this configuration manually, or if your database has already │
│ been installed and configured, you should refuse this option. Details │
│ on what needs to be done should most likely be provided in │
│ /usr/share/doc/torrentflux. │
│ │
│ Otherwise, you should probably choose this option. │
│ │
│ Configure database for torrentflux with dbconfig-common? │
│ │
│ <Yes> <No> │
│ │
└───────────────────────────────────────────────────────────────────────────┘
Selecting Yes ends up with an error??? So I carry on with No.
Then here select yes:
Code:
┌────────────────────────┤ Configuring torrentflux ├────────────────────────┐
│ │
│ Remember that in order to activate the new configuration apache2 has to │
│ be restarted. You can also restart apache2 by manually executing │
│ invoke-rc.d apache2 restart. │
│ │
│ Should apache2 be restarted? │
│ │
│ <Yes> <No> │
│ │
└───────────────────────────────────────────────────────────────────────────┘
Now it does not work. I guested that this was because I had to select no to dbconfig-common. So based on the instructions from this guide I tried this:
Code:
mysql -uroot -p
mysql> use mysql;
mysql > INSERT INTO user (Host,User,Password) VALUES('localhost','torrentflux',PASSWORD('yourpassword'));
mysql > GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON torrentflux.* TO 'torrentflux'@'localhost';
mysql > exit;
And then:
Code:
mysqladmin -utorrentflux -p create torrentflux
mysql -uroot -p torrentflux < mysql_torrentflux.sql
And then;
Code:
sudo nano /etc/torrentflux/config-db.php
And put in the username, password, and database.
Code:
$dbuser='torrentflux';
$dbpass='yourpassword';
$dbname='torrentflux';
$dbtype='mysq
And now if works!!! It was not before!!! oh well if anyone else if having problems thats how I got around it.
This was Ubuntu Feisty - Command Line System Only.
Thanks
Bookmarks