Ubuntu/Samba fileserver

Soldato
Joined
20 Jun 2005
Posts
3,826
Location
London..
Yesterday i made a post on here about using ubuntu with an onboard graphics card and the issues assosiated with it.

Today i decided to just try and set up a file server so i then went and reinstalled the latest version of Ubuntu along with samba and i got it up and running ok. I got it plugged into my wireless router with cat5 and i use ssh to access it from my windows pc, which gives me a command line interface for remote access to the linux pc.

I can now access the shared folder on the drive which i set up through samba, but i am now trying to install torrentflux onto the system. The problem is when i install it through ssh it fails to install as it encounters a database error. When i goto 192.168.0.x/torrentflux where the server is located there is a grey background of torrentflux but it gives me a mysql password error.

Now i have configured the mySQL to run with jinzora2 and im not quite sure how to fix this error, can anyone enlighten me?

thanks
 
Have you created the database for torrentflux to use, set it up with their sql file and entered the database details into config.php?
 
The obvious questions first:

Have you installed Apache?
" " " PHP?
" " " MySQL? (by the sounds of it you have)
" " " Python? (should be installed by default)

What steps have you taken to install the application and at what point does it fail?
 
M0KUJ1N said:
The obvious questions first:

Have you installed Apache?
" " " PHP?
" " " MySQL? (by the sounds of it you have)
" " " Python? (should be installed by default)

What steps have you taken to install the application and at what point does it fail?

Looks like the OP's got apache/php installed, as the page displays, albeit it with database errors - it's probably the database setup. Python errors will probably only crop up once you try torrenting things (if they're going to at all).

Torrentflux Install file said:
2. Create a database and load the mysql_torrentflux.sql script.
Database abstraction is supported starting in TorrentFlux 2.0
using ADODB for PHP. You may specify type of database you want
to use in the config.php, but the examples here use MySQL.

mysqladmin create torrentflux

"mysql_torrentflux.sql" contains the commands to build the table
structure and the default data for the TorrentFlux. Run the
script on your torrentflux database.

mysql torrentflux < mysql_torrentflux.sql
Or load the script with PHPMyAdmin (web interface)

3. Edit 'config.php' for database settings. Database
abstraction is supported starting in TorrentFlux 2.0 using
ADODB for PHP. You may specify type of database you want to
use, but the examples here use MySQL.

That's version 2.1 which I have installed, but shouldn't be very different, just check the INSTALL file in whereever you extracted the download.
 
I have everything mentioned above installed. This is the error i get when going to torrent flux:

Database error: Access denied for user 'www-data'@'localhost' (using password: NO)

i have checked my config.php and i set my user and pass there and i have also used a guide to set my pass in mysql. Can anyone guide me step by step, im new to this.

Thanks
 
Can you use the username/password to log in directly to mysql via a terminal? That is:
Code:
mysql -u www-data -p
and then give the password when prompted? If you can, the username/password is obviously okay but if you get a similar error then it may mean www-data doesn't have permissions to access from localhost?
 
You should use debian..

All you would need to do is a list off commands and everything would be installed.. If you would want me to talk you through debian i can help you out, I use torrentflux i also have phpmyadmin my own domain name going to my server on dymanic ip.. teamspeak and a few other bits including samba/swat..

Contact me on WLM if you want help..
 
Back
Top Bottom