|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Is it possible to install + run a bittorrent client on a linux system without having root?
#5642047 - 05/17/06 02:13 PM (17 years, 8 months ago) |
|
|
Hey,
this is a pretty simple question from a linux n00b (I'm guessing the answer is "no" )
I have a web server I'm not doing anything with. I can ftp and telnet to it, but it's a shared server and I don't have root.
Is there any way I can run a bittorrent client from the server? (i.e. download a torrent to the server and then contribute bandwidth to the swarm)
thanks 
EDIT: also welcome would be any suggestions for anything else I could do with the bandwidth along the same lines. The server runs Debian and has a fairly recent version of php installed. If I could use it, say, for a private proxy server or ssh tunnel, that would be cool as well
Edited by Odiumjunkie (05/20/06 11:34 AM)
|
supercollider
superconducting


Registered: 10/13/00
Posts: 1,234
Loc: Waxahachie
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: OJK]
#5642644 - 05/17/06 04:55 PM (17 years, 8 months ago) |
|
|
Yeah that's totally possible. As long as you have write access to some disk space where you can install it, you should be fine. You can't use APT, but you can just upload the .py files and run them. Hopefully the server has python installed.
This is assuming you're using mainline bittorrent or bittornado. I suppose you could use something like rtorrent too, if it's not banned from your tracker.
Actually, you might want to look into a client called torrentflux, it's made for this sort of thing. It'll run headless and give you a nice web interface.
-------------------- Supercollider? I just met her!
Edited by supercollider (05/17/06 04:56 PM)
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: supercollider]
#5642692 - 05/17/06 05:05 PM (17 years, 8 months ago) |
|
|
Thank you!
That's really helpful, I had a look at TorrentFlux and it looks ideal!
Like I say, I really am hopeless at linux, but I'll give the setup a bash and report back.
Thanks!
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: OJK]
#5642829 - 05/17/06 05:36 PM (17 years, 8 months ago) |
|
|
Ok - Please bear in mind I have very, very little linux experience 
I'm trying to set up a mySQL database for torrentflux to use. Here's the relevant portion of the INSTALL file;
Quote:
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.
I can create mysql databases through the Web Panel of my server. Can I set up torrentflux using a mysql database set up through a webpanel?
How can I load the mysql setup files through telnet without root?
I'm so confused 
would setting up mainline be easier?
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: supercollider]
#5643214 - 05/17/06 07:09 PM (17 years, 8 months ago) |
|
|
I got mainline working! 

I FTPed the source folder to a folder on the webserver
I then FTPed a torrent file to the same folder
I then used the command
Code:
$ python bittorrent-console.py --responsefile [nameoftorrent].torrent --save_as [nametosavefile]
and it works!
sorry for sounding over excited, but I've never succesfully used telnet, bash, linux or a web server before
thanks for your help
|
blink
eye of horus



Registered: 03/31/02
Posts: 11,349
Loc: Geographic Location (Stat...
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: OJK]
#5643351 - 05/17/06 07:34 PM (17 years, 8 months ago) |
|
|
you should use ssh, it's the encypted way to telnet.
--------------------
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: blink]
#5645341 - 05/18/06 07:01 AM (17 years, 8 months ago) |
|
|
How would I go about setting up an ssh tunnel on a shared server?
I would have thought it would be pretty complicated 
EDIT: I configured SSH using PuTTY and this guide
can anyone confirm that steps 8 - 11 of that guide aren't really necessery? I followed steps 1 - 7 and SSH using the public/private keypair seems to work just fine
I'm not sure what steps 8 - 11 do 
thanks
Edited by Odiumjunkie (05/18/06 07:25 AM)
|
Krishna
कृष्ण,LOL


Registered: 05/08/03
Posts: 23,285
Loc: oakland
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: OJK]
#5649369 - 05/19/06 08:26 AM (17 years, 8 months ago) |
|
|
don't worry about those - they are just for setting up CVS (a revisioning system). congrats on getting things working - it is always a great feeling to fumble upon a *nix solution
--------------------
|
Huehuecoyotl
Fading Slowly


Registered: 06/13/04
Posts: 10,685
Loc: On the Border
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: OJK]
#5653002 - 05/20/06 11:22 AM (17 years, 8 months ago) |
|
|
A bittorrent client will kill the bandwidth for the server. The function of the machine as a server will suffer severely.
-------------------- "A warrior is a hunter. He calculates everything. That's control. Once his calculations are over, he acts. He lets go. That's abandon. A warrior is not a leaf at the mercy of the wind. No one can push him; no one can make him do things against himself or against his better judgment. A warrior is tuned to survive, and he survives in the best of all possible fashions." ― Carlos Castaneda
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: Huehuecoyotl]
#5653020 - 05/20/06 11:26 AM (17 years, 8 months ago) |
|
|
I have about twenty terrabytes of unused bandwidth, and I've capped both the dl and upload speeds to a small portion of their maximum.
|
OJK
Stranger

Registered: 06/08/03
Posts: 10,629
|
Re: Is it possible to install + run a bittorrent client on a linux system with having root? [Re: Krishna]
#5653042 - 05/20/06 11:33 AM (17 years, 8 months ago) |
|
|
Would it be possible for me to set up an X session over the SSH connection without root?
If it is, could anyone give me some pointers on how to do it?
|
|