Author |
Message |
spalVl
|
Posted: Sat Jan 12, 2008 1:20 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Here is a WIKI howto on installing and configuring Azureus in headless mode on top of KnoppMyth. Guide created with R5F27. It is a lengthy howto, but is pretty easy to do. If anyone wants the howto with pictures in an easier to read outline format PM me and I'll send.
http://www.knoppmythwiki.org/index.php? ... s+Headless
Be sure to help seed Knoppmyth after setup .
Enjoy
Last edited by spalVl on Sat Jan 12, 2008 2:22 pm, edited 2 times in total.
|
|
Top |
|
|
tscholl
|
Posted: Sat Jan 12, 2008 1:47 pm |
|
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location:
Lexington, Ky
|
|
Top |
|
|
spalVl
|
Posted: Sat Jan 12, 2008 2:37 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
tscholl wrote: The link you posted points back to your edit....
Doh! Fixed, Thanks
|
|
Top |
|
|
Martian
|
Posted: Tue Jan 15, 2008 12:07 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
|
Top |
|
|
cloudtrix
|
Posted: Sat Feb 02, 2008 8:56 am |
|
Joined: Mon Jun 12, 2006 11:23 am
Posts: 21
|
I followed the instructions and got to the point where I test the script.
$ ./azureus_script start
Script started, file is typescript
But I can not connect to it. It does work when I manually start it using ./azureus
|
|
Top |
|
|
spalVl
|
Posted: Sat Feb 09, 2008 1:44 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
cloudtrix wrote: I followed the instructions and got to the point where I test the script. $ ./azureus_script start Script started, file is typescript
But I can not connect to it. It does work when I manually start it using ./azureus
It should create a screen session. Try switching to that session to see what is going on.
screen -r azureus_screen
|
|
Top |
|
|
cloudtrix
|
Posted: Sat Feb 09, 2008 3:30 pm |
|
Joined: Mon Jun 12, 2006 11:23 am
Posts: 21
|
just for info screen is not installed with knoppmyth
And the Java I downloaded is 1.5
There is no screen resumed matching azures_screen
if I hit ctrl D then I get the following:
Password:
Starting Azureus screen daemon: azureus_screen
Password:
And then the script works
One more not when I copy pasted the script it broke the command into two lines.
|
|
Top |
|
|
techman83
|
Posted: Tue Feb 12, 2008 7:08 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
I use Torrentflux, in particular the Torrentflux-b4rt fork. More features than you can poke a stick at!!
Not running on my Knoppmyth Box, but if there some interest I could write a how to guide for running it.
It's pretty damn impressive and what it's designed for. I ssh to linux box at home, then do a port forward to my internal web server to use it. I guess it's probably useable via direct port forward, but I'm rather anal about security
http://www.torrentflux.com/
EDIT:
Just did a bit of checking, seems pretty straight forward.
Setup torrentflux user in mysql, with permissions to it's own database. Extract the torrentflux package to /var/www/torrentflux (accessable from http://ip_address/torrentflux). Vague recollection of having to import the SQL setup manually, which would be the hardest part! Point Torrentflux to the correct database, with the right username and password, then it's all up and running!
Very portable application too. I setup a new internal webserver, dumped the database, copied the data in /var/www to the new server, re-imported the database and hey presto, torrents continued where they left off
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
spalVl
|
Posted: Tue Feb 12, 2008 9:41 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
cloudtrix wrote: just for info screen is not installed with knoppmyth
One more not when I copy pasted the script it broke the command into two lines.
Did you install screen via apt-get then?
I don't recall doing that but may have.
The script is longer than 2 lines. Looks like this
Code: #! /bin/sh #The user that will run Azureus AZ_USER=mythtv #Name of the screen-session NAME=azureus_screen #executable files in the following paths that are perhaps needed by the script PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/mythtv/bin #your path to the azureus directory, where Azureus2.jar is located DIR=/home/mythtv/azureus #Description DESC="Azureus screen daemon" case "$1" in start) if [[ `su $AZ_USER -c "screen -ls |grep $NAME"` ]] then echo "Azureus is already running!" else echo "Starting $DESC: $NAME" su $AZ_USER -c "cd $DIR; screen -dmS $NAME java -jar ./Azureus2.jar --ui=console" fi ;; stop) if [[ `su $AZ_USER -c "screen -ls |grep $NAME"` ]] then echo -n "Stopping $DESC: $NAME" su $AZ_USER -c "screen -X quit" echo " ... done." else echo "Coulnd't find a running $DESC" fi ;; restart) if [[ `su $AZ_USER -c "screen -ls |grep $NAME"` ]] then echo -n "Stopping $DESC: $NAME" su $AZ_USER -c "screen -X quit" echo " ... done." else echo "Coulnd't find a running $DESC" fi echo "Starting $DESC: $NAME" su $AZ_USER -c "cd $DIR; screen -dmS $NAME java -jar ./Azureus2.jar --ui=console" echo " ... done." ;; status) if [[ `su $AZ_USER -c "screen -ls |grep $NAME"` ]] then echo "Azureus is RUNNING" else echo "Azureus is DOWN" fi ;; *) echo "Usage: $0 {start|stop|status|restart}" exit 1 ;; esac exit 0
@ Techman. I used TorrentFlux too, it was much easier to install over Azureues, but I always found it's lack of DHT support frustrating. For speed Azureus performed much better because it can connect to DHT peers and seeders. I never used the b4rt fork though. A Torrentflux guide would be great, there is a thread around here but that was for original Torrentflux project.
|
|
Top |
|
|
techman83
|
Posted: Tue Feb 12, 2008 9:47 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Not sure about DHT in the b4rt fork, but it can also use azurues along with a number of other Bittorrent clients.
I personally don't use DHT as some of the trackers I tend to shy against it (preferring members only get access to the torrents). Don't have any speed issues, been known to pull upwards of a meg a second
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
RacerX
|
Posted: Sun Feb 17, 2008 10:28 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
Thanks for the excellent Azureus Headless write up on wiki
It made the install process much more clear. This helps a lot when installing the dependencies... (Python and Java). Also the Azsmrc Plugin rocks. Your security tip was appreciated...
Thanks
|
|
Top |
|
|
mediathreat
|
Posted: Fri Feb 22, 2008 11:46 am |
|
Joined: Fri Oct 13, 2006 7:42 pm
Posts: 63
|
it works excellent!
the wiki should be modified to include the set of apt-get install screen so that you can successfully run it headless.
|
|
Top |
|
|
spalVl
|
Posted: Fri Feb 22, 2008 9:11 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
mediathreat wrote: it works excellent!
the wiki should be modified to include the set of apt-get install screen so that you can successfully run it headless.
Updated for screen install
|
|
Top |
|
|
techman83
|
Posted: Sat Feb 23, 2008 9:00 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
spalVl wrote: @ Techman. I used TorrentFlux too, it was much easier to install over Azureues, but I always found it's lack of DHT support frustrating. For speed Azureus performed much better because it can connect to DHT peers and seeders. I never used the b4rt fork though. A Torrentflux guide would be great, there is a thread around here but that was for original Torrentflux project.
Done. Formatting needs a little tweaking, but the guide is complete.
http://www.knoppmythwiki.org/index.php? ... ntfluxb4rt
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
granduke
|
Posted: Fri May 09, 2008 11:51 am |
|
Joined: Wed Jan 18, 2006 3:16 pm
Posts: 12
|
cloudtrix wrote: I followed the instructions and got to the point where I test the script. $ ./azureus_script start Script started, file is typescript
I get the same thing he got and when I do a control-D I also get a password prompt. But I can't get any password to work.
Hopefully, someone has some ideas.
thanks
|
|
Top |
|
|