Forumi


Povratak   PC Ekspert Forum > Računala > Software > Aplikacije
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 03.06.2010., 12:09   #1
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,543
Exclamation [*nix] Za mamine sinove kojima rtorrent smrdi... :p

SAJB: uTorrent For Linux Is Coming, Finally

http://torrentfreak.com/utorrent-for...orrentfreak%29
__________________
Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Staro 03.06.2010., 12:36   #2
tomek@vz
Premium
Moj komp
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: München/Varaždin
Postovi: 3,343
Mnjah...Transmission me čist pristojno služi.
tomek@vz je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 03.06.2010., 16:09   #3
Codiac
bycod
 
Codiac's Avatar
 
Datum registracije: May 2004
Lokacija: Zagreb / Dubrava
Postovi: 6,695
jep Transmission je radio cist u redu .
__________________

Intel-i5-760 / Cooler-Master-Hyper-212 / Gigabyte P55-USB3
GSkill -2x4gb / MSI R7 370 2GB / Audigy SE Xtreme
Samsung EVO850 250GB / Samsung HD204UI / WDC 1TB/Samsung SH203b
Seasonic-430w / Chieftec-LCX-2x120 / DELL U2412M
Logitech Illuminated Keyboard / Logitech-G9 / Steelpad 4D / Rumble-pad-2 / Logitech-Z4


.i.
Codiac je offline   Reply With Quote
Staro 03.06.2010., 22:57   #4
Raven_1
Night shift
Moj komp
 
Raven_1's Avatar
 
Datum registracije: Jul 2002
Lokacija: Zagreb
Postovi: 883
Sto koristite za RSS za Transmission, FlexGet? Ima li sto bolje?
__________________

Proc: AMD X2 3800+ cooled by TT BigTyphoon
Matična: ABIT AN8 SLI
RAM: 2x512MB OCZ Platinum EL rev2 PC3200
Grafička: SAPPHIRE ATI RADEON HD3450 256MB
HDD: WD 40GB i Samsung 160GB @ 7200
RW:DVD-ROM Pioneer DVD-106
PSU: 420W Xilence RedWing


"NOBODY expects the Spanish Inquisition! Our chief weapon is surprise...surprise and fear...fear and surprise.... Our two weapons are fear and surprise...and ruthless efficiency.... Our *three* weapons are fear, surprise, and ruthless efficiency...and an almost fanatical devotion to the Pope.... Our *four*...no... *Amongst* our weapons.... Amongst our weaponry...are such elements as fear, surprise.... I'll come in again."

--uoɥʇʎd ʎʇuoɯ--
Raven_1 je offline   Reply With Quote
Staro 04.06.2010., 00:10   #5
Baja 001
Banned
Moj komp
 
Baja 001's Avatar
 
Datum registracije: Aug 2006
Lokacija: Split
Postovi: 7,504
Citiraj:
Autor tomek@vz Pregled postova
Mnjah...Transmission me čist pristojno služi.
Ali je isto manje pregledan nego uTorrent. Inače fali mi neki klijent kao uTorrent na *NIXu, tako da je ovo odlična vijest
Baja 001 je offline   Reply With Quote
Staro 04.06.2010., 00:37   #6
danij3l
Premium
 
danij3l's Avatar
 
Datum registracije: Nov 2005
Lokacija: NA
Postovi: 2,620
izgleda da im je nezgodno jer nemogu shpijunirati na svim platformama, pa se proširuju

rtorrent+rutorrent FTW
danij3l je offline   Reply With Quote
Staro 04.06.2010., 09:59   #7
Artistar
Vječni Student
Moj komp
 
Artistar's Avatar
 
Datum registracije: Apr 2006
Lokacija: Zagreb
Postovi: 316
IMHO jedini koji 'mjutorrentu' može konkurirati na Linuxu je Ktorrent. Ovi ostali su mi prerudimentarni, al ovaj ima dosta opcija, redovito se izdaju nove verzije, a na KDE-u ima i mali widget na kojem se mogu pratiti osnovne informacije. I, naravno, radi ko zmaj.
__________________

Artistar je offline   Reply With Quote
Staro 07.06.2010., 15:23   #8
Shadowww
^_-
Moj komp
 
Shadowww's Avatar
 
Datum registracije: May 2006
Lokacija: Zagreb, Dubrava
Postovi: 311
Na transmissionu mi fali queue (bar na standardnoj gtk verziji).

rtorrent sa webinterfejsom je čist ok.

A i utorrent radi preko wine-a bez greške ako neko baš inzistira...

ktorrent, deluge, azureus i ostala bloated smeća me ne zanimaju.
__________________

Shadowww je offline   Reply With Quote
Staro 07.06.2010., 17:21   #9
gog
Premium
Moj komp
 
gog's Avatar
 
Datum registracije: Apr 2005
Lokacija: Zagreb
Postovi: 581
Citiraj:
Autor Shadowww Pregled postova
rtorrent sa webinterfejsom je čist ok.
Koji web interface koristiš. Ima li podršku za više korisnika? Ja sam trenutno na torrentflux b4rt-u i želio bih ga zamijeniti sa nečim manje zahtjevnim.
gog je offline   Reply With Quote
Staro 07.06.2010., 17:33   #10
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,543
Citiraj:
Autor gog Pregled postova
Koji web interface koristiš. Ima li podršku za više korisnika? Ja sam trenutno na torrentflux b4rt-u i želio bih ga zamijeniti sa nečim manje zahtjevnim.
Ja sam cuo za ovo - http://code.google.com/p/rutorrent/ ali osobno, ne vidim cemu treba vise od ssh-a za rtorrent...
__________________
Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 07.06.2010., 18:20   #11
gog
Premium
Moj komp
 
gog's Avatar
 
Datum registracije: Apr 2005
Lokacija: Zagreb
Postovi: 581
Ima ih više, ali ne da mi se previše eksperimentirati. Treba mi takvo sučelje jer je to box koji koristi više ljudi, a većina ih misli da je ssh nekakav sindikat ili nešto slično
gog je offline   Reply With Quote
Staro 07.06.2010., 18:38   #12
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,543
Citiraj:
Autor gog Pregled postova
Ima ih više, ali ne da mi se previše eksperimentirati.
Kao sto rekoh, koliko sam primjetio, ovo se najvise trosi...

Citiraj:
Treba mi takvo sučelje jer je to box koji koristi više ljudi, a većina ih misli da je ssh nekakav sindikat ili nešto slično
Pa time vise je pristup preko shella Bogom dan za takvo sto, bez previse muke. Podijelis accountove i bok. Em bi mukte p0rn, softver i mu'sku, a kurcem ne bi mrdnuli da, kada su vec sakama u djemu, barem nesto i nauce... Ccc...
__________________
Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Staro 07.06.2010., 18:52   #13
Shadowww
^_-
Moj komp
 
Shadowww's Avatar
 
Datum registracije: May 2006
Lokacija: Zagreb, Dubrava
Postovi: 311
Citiraj:
Autor gog Pregled postova
Koji web interface koristiš. Ima li podršku za više korisnika? Ja sam trenutno na torrentflux b4rt-u i želio bih ga zamijeniti sa nečim manje zahtjevnim.
Trenutno ne koristim nijedan, jer ful slabo p2p-am. Možda koji film u par mjeseci.

Inače, prije je wtorrent bio popularan, no trenutno je najbolji (najfunkcionalniji) rutorrent, ovaj što je Bubba linkao.
__________________

Shadowww je offline   Reply With Quote
Staro 07.06.2010., 18:59   #14
Shadowww
^_-
Moj komp
 
Shadowww's Avatar
 
Datum registracije: May 2006
Lokacija: Zagreb, Dubrava
Postovi: 311
Fin guide sa whata:

Citiraj:
Autor caaok
Installing rtorrent and rutorrent on Debian based linux

Note: this guide is for debian based distros only. This *should* work on Ubuntu, but I make no guarantees. Whenever you see <yourusernamehere> replace it with the username you intend to run rtorrent with (you weren't going to run it as root were you?). The command "adduser" will add a new one if you only have a root user account at the moment. I abuse chmod 777 a fair bit during this guide because I don't share my box with other users. If you do so, be careful with permissions. However, using chmod 777 is almost guaranteed to make everything work nicely. To exit the nano text editor, hit "CTRL+x". When prompted to overwrite buffer, hit "y", and then keep the filename as listed (just hit enter).

Current versions at the time of this guide:

rtorrent 0.8.6/libtorrent 0.12.6/rutorrent 3.0 stable

Note: Terminal commands are in italics, stuff to add to text files are in quotes.

Run all commands as root user:

This is going to add a ton of stuff to your box, so it may take a while. I think I've covered most of the essentials, let me know if I left anything big out.

apt-get update
apt-get upgrade


Note: the following is all one line.

apt-get install apache2 apache2.2-common apache2-utils autoconf automake autotools-dev binutils build-essential bzip2 ca-certificates comerr-dev cpp cpp-4.1 dpkg-dev file g++ g++-4.1 gawk gcc gcc-4.1 libapache2-mod-php5 libapache2-mod-scgi libapr1 libaprutil1 libc6-dev libcppunit-dev libcurl3 libcurl4-openssl-dev libexpat1 libidn11 libidn11-dev libkrb5-dev libmagic1 libncurses5 libncurses5-dev libneon26 libpcre3 libpq5 libsigc++-2.0-dev libsqlite0 libsqlite3-0 libssl-dev libssp0-dev libstdc++6-4.1-dev libsvn1 libtool libxml2 linux-libc-dev lynx m4 make mime-support nano ntp ntpdate openssl patch perl perl-modules php5 php5-cgi php5-cli php5-common php5-geoip php5-sqlite php5-xmlrpc pkg-config python-scgi screen sqlite ssl-cert subversion ucf unrar zlib1g-dev

a2enmod ssl
a2enmod auth_digest
a2enmod scgi

reboot


Wait for your box to come back online, this may take a few minutes. Then log back in as root user.

STEP 1: Installing rtorrent/libtorrent

cd /home/<yourusernamehere>/

svn co https://xmlrpc-c.svn.sourceforge.net...pc-c/advanced/ xmlrpc-c
wget http://libtorrent.rakshasa.no/downlo...-0.12.6.tar.gz
wget http://libtorrent.rakshasa.no/downlo...t-0.8.6.tar.gz
tar -xvzf libtorrent-0.12.6.tar.gz
tar -xvzf rtorrent-0.8.6.tar.gz
rm libtorrent-0.12.6.tar.gz
rm rtorrent-0.8.6.tar.gz


cd xmlrpc-c
./configure --disable-cplusplus
make
make install

cd ../libtorrent-0.12.6
./autogen.sh
./configure
make
make install

cd ../rtorrent-0.8.6
./autogen.sh
./configure --with-xmlrpc-c
make
make install

ldconfig


If all went well, rtorrent and libtorrent should now be installed with webui support (via xmlrpc). If you wish to use wtorrent as a webui there are other guides dealing with its installation, I personally prefer rutorrent in every way.

Note: If running "make" gives you a bunch of libtool errors, run the following command before each instance of ./autogen.sh. Remember that you'll need to do this both for libtorrent and rtorrent when compiling them:

rm -f scripts/{libtool,lt*}.m4

The commands should look like this:

cd ../libtorrent-0.12.6
rm -f scripts/{libtool,lt*}.m4
./autogen.sh
./configure
make
make install

cd ../rtorrent-0.8.6
rm -f scripts/{libtool,lt*}.m4
./autogen.sh
./configure --with-xmlrpc-c
make
make install


STEP 2: Configuring rtorrent

There are many, MANY features you can configure in .rtorrent.rc. I'm a minimalist myself, so my configuration is extremely barebones. You can find a fully commented config file here: http://pastebin.ca/1802272

However, I'll show you mine:

cd /home/<yourusernamehere>/
nano .rtorrent.rc


Citiraj:
Autor .rtorrent.rc
directory = /home/<yourusernamehere>/torrents

http_capath=/etc/ssl/certs

scgi_port = 127.0.0.1:5000
encoding_list = UTF-8

port_range = 55990-56000

port_random = no

use_udp_trackers = no
dht = disable
check_hash = no

peer_exchange = no
encryption = allow_incoming,enable_retry,try_outgoing

schedule = watch_directory,5,5,load_start=/home/<yourusernamehere>/watch/*.torrent
session = /home/<yourusernamehere>/session
This will make your watch directory at /home/<yourusernamehere>/watch and your session directory at /home/<yourusernamehere>/session. Your torrent data will be saved at /home/<yourusernamehere>/torrents.

mkdir session
mkdir watch
mkdir torrents

chown -R <yourusernamehere>:<yourusernamehere> /home/<yourusernamehere>
chmod -R 777 session
chmod -R 777 watch
chmod -R 777 torrents


Now that this is all done, this is a good time to see if rtorrent will run. Use the command:

rtorrent

If rtorrent pops up, everything is great. Use CTRL+q to quit the program. If not, you've messed something up (and this was the easy part).

STEP 3: Creating an SSL certificate for your server/Adding password authentication

Because everyone loves encryption right? Seriously though, using both these features will greatly add to the security of your box.

openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem
chmod 600 /etc/apache2/apache.pem


This will create a self-signed certificate for your server that lasts for 1 year. You'll be prompted for plenty of information. Whenever you're asked for a name, use A) your server IP or B) your domain name if you have one. I recommend making the rest fake, it doesn't really matter.

htdigest -c /etc/apache2/passwords gods myuser

Where "myuser" is the username you'll use to connect to the webui. After running this command, you'll be prompted for a password. This will be the password you enter to log into your webui.

STEP 4: Setting up your Apache Webserver

This is where things get difficult. Many people swear by lighttpd, however I don't have much experience with the program. If there's demand I'll consider adding a segment on lighttpd to the guide.

cd /etc/apache2/
nano apache2.conf


Add these lines to the very bottom of the file. You can replace "localhost" with your domain name if you have one.
Citiraj:
Autor apache2.conf
SCGIMount /RPC2 127.0.0.1:5000
servername localhost
nano ports.conf

Add this line if it isn't present already (and it should be, CHECK CAREFULLY).
Citiraj:
Autor ports.conf
Listen 443
nano /etc/apache2/sites-available/default

Paste this over top of the current config, with two notable exceptions.
Where it says http://your.server.ip/rutorrent, replace your.server.ip with your server IP or domain name.

http://pastebin.ca/1802303
http://pastebin.com/LzA7DmQm

STEP 5: Installing rutorrent

cd /var/www/
wget http://rutorrent.googlecode.com/file...ent-3.0.tar.gz
tar -xvzf rutorrent-3.0.tar.gz
rm rutorrent-3.0.tar.gz


Any plugins you want should be downloaded to the /var/www/rutorrent/plugins folder.
cd /var/www/rutorrent/plugins
wget http://rutorrent.googlecode.com/file...ame-3.0.tar.gz
tar -xvzf pluginname-3.0.tar.gz


Repeat for each plugin you want. Alternatively, you can install every available plugin (though this will slow rutorrent down, this is NOT recommended) using the following:
cd /var/www/rutorrent/
wget http://rutorrent.googlecode.com/file...ins-3.0.tar.gz
tar -xvzf plugins-3.0.tar.gz


Afterward, execute the following:
rm *.tar.gz
chmod -R 777 /var/www/rutorrent/


A list of standard plugins can be found here:
http://code.google.com/p/rutorrent/wiki/Plugins

Now do the following:

apache2ctl configtest
/etc/init.d/apache2 force-reload
/etc/init.d/apache2 restart


If everything has worked up to this point (apache2ctl doesn't throw any errors), you're basically in the clear!

STEP 6: Starting rtorrent
Log out of root and back into your regular username at this point!

cd ~
screen rtorrent


You can hit "CTRL+a+d" in that order to detach the screen. This keeps rtorrent running in the background when you log out of your SSH session. Reattach the screen using:

screen -xaAD

Now visit the following address:

http://your.server.ip/rutorrent/
*or*
https://your.server.ip/rutorrent/
You'll need to accept the self-signed cert in the second URL. Either way, you should be prompted for a username and password. Use the info you chose in Step 3 with the "htdigest" command.

If all went well, everything is now installed! I hope this helps those of you struggling with rtorrent and rutorrent.

TO BE ADDED IN THE FUTURE:
-A section on lighttpd.
-Pictures (possibly, most of this is command line based anyway).
-Detailed descriptions and guides for a few of the plugins, especially RSS.

If I've made any glaring errors, please let me know. I'm quite tired at the moment, and only human!

A tip for those of you using irssi with WHATauto or any other program that also requires screen to stay running:
You can create new "screens" within a single screen session using the command CTRL+a+c. You then switch between each screen using CTRL+a+p. The screen still detaches with CTRL+a+d and you can switch between them after reattaching using screen -xaAD.

Appendix 1: Plugins

1. RPC - a plug-in for linking rtorrent and a web server.
2. erasedata - adds the item "Delete with the data" to the context menu of the torrent.
3. darkpal - just another ruTorrent interface colors.
4. choose - adds a button to the New Torrent dialogue for comfortable navigation through the server file system.
5. сreate - adds the command of new torrent creation.
6. trafic - adds a subsystem of the traffic counting.
7. RSS - realizes operations with RSS-feeds.
8. edit - allows to edit the trackers list of the existing torrent.
9. throttle - allows to set different speed limitations for groups of torrents.
10. retrackers - automatically adds defined re-trackers for newly added torrents.
11. cookies - allows to define a set of cookies for trackers which use such method of authorization.
12. search - allows to redefine the list of search engines.
13. scheduler - allows to change speed limitations of downloads/uploads depending on hour of the day and day of the week.
14. autotools - realizes some automation functions (autolabel, automove).
15. datadir - allows to change the torrent's data directory.
16. tracklabels - adds a set of automatically generated by trackers' names labels onto categories pane.
17. geoip - shows country name and flag for connected peers.
18. ratio - allows to set different ratio limitations for groups of torrents.
19. Show_peers_like_wtorrent - changes the format of values in "Seeds" and "Peers" columns of the torrents list.
20. seedingtime - adds the column with the torrent's finishing time to torrents list.
21. diskspace - adds a free disk space indicator to the rutorrent interface as a percentage.
22. unpack - automatically unpacks scene releases.
23. source - no freaking clue here, sorry. The description says "The plug-in is intended for obtaining source .torrent file."
24. data - "The plug-in is intended for obtaining torrent data through http."
25. chunks - displays chunks in a format similar to uTorrent.
26. _getdir - allows you to use an easier navigation system for various rutorrent and plugin settings.

A few notes:
-The RPC plugin is unnecessary since you've set up RPC in apache2.
-You should probably be using _getdir in conjunction with any other plugins you're using.
-erasedata can be somewhat slow and buggy, but SHOULD work correctly. Make sure its directory is chmod'd to be executeable.
-A more detailed explanation of autotools can be found at http://code.google.com/p/rutorrent/wiki/PluginAutotools
-Most of the other plugins are explained fairly well above.

A few specific configurations:
Create:
You can edit /var/www/rutorrent/plugins/create/conf.php
Make sure your torrent creator of choice is in your system's PATH, otherwise you'll need to add the program's full path to the second configuration line in the file. The line in my config looks like this:
$useExternal = "mktorrent"

RSS:
You can edit /var/www/rutorrent/plugins/rss/conf.php
Change the line $updateInterval = 30;
to: $updateInterval = 5;

To add a feed, right click on "All Feeds" and hit "Add Feed". Type a name and your RSS URL into the boxes.

Now right click on "All Feeds" again and select "RSS Manager".

Hit "Add" and pick a name for your new filter.

Add a filter as you will, using "*" as a wildcard. To download the whole feed, just type "**" in that box. In the RSS drop box, select the feed you just added. In the Directory box, you can create a custom download path for the feed (for example, /home/user/torrents/WhatRSS/). Make sure this directory exists (use mkdir at the command line). You can also add a label to each torrent downloaded, and if you have the ratio or throttle plugins installed, you can set these torrents to conform to one of those plugin settings.

GeoIP:
Note: If you want to install the GeoIP plugin (shows flags in the peer list), you'll need to do this as root user:

wget http://geolite.maxmind.com/download/...iteCity.dat.gz
gunzip GeoLiteCity.dat.gz
mkdir -v /usr/share/GeoIP
mv -v GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
__________________

Shadowww je offline   Reply With Quote
Staro 09.06.2010., 23:13   #15
gog
Premium
Moj komp
 
gog's Avatar
 
Datum registracije: Apr 2005
Lokacija: Zagreb
Postovi: 581
Ovaj rutorrent je divota, radi duplo brže od torrentfluxa što se transfera tiče, a CPU usage da ne spominjem...
gog je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Odgovori



Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na