Rtorrent + Rutorrent Auto install script – Debian 377

Skrevet af: Patrick Kerwood

At installer rtorrent kan, i sig selv, være noget af en håndfuld for en nybegynder. Der efter kommer installation og opsætning af webserver og interface. Derfor har jeg bikset dette script sammen der klare det hele for dig.

Rtorrent er unden tvivl den bedste torrent klient program til Linux, som kan kører på en headless server, med valgfri web interface.

Scritet er lavet til Debian Wheezy og Ubuntu 14.04.

I skrivende stund, downloader og installer, scriptet (ver. 2.0.1) nedenstående, fra deres officielle sider.

  • Rtorrent
  • Libtorrent
  • Rutorrent 3.6

Følgende pakker bliver installeret via APT

  • openssl
  • subversion
  • git
  • apache2
  • build-essential
  • libsigc++-2.0-dev
  • libcurl4-openssl-dev
  • automake libtool
  • libcppunit-dev
  • libncurses5-dev
  • libapache2-mod-scgi
  • php5
  • php5-curl
  • php5-cli
  • libapache2-mod-php5
  • screen
  • unrar-free
  • unzip

Installation

Start med at downloade scriptet fra mit GitHub repo https://github.com/Kerwood/rtorrent.auto.install

Jeg vil stærkt anbefale starte installationen i en Screen session. Så hvis din forbindelse ryger under installationen, fortsætter den aligevel. Se evt. Screen – Et uundværligt værktøj

Hop ind på https://github.com/Kerwood/rtorrent.auto.install og tryk på den version du skal bruge. I den grå linje, lige oven over scriptet, trykker du på knappen “Raw”. Kopier URL’en og lav en wget på den.
wget https://raw.githubusercontent.com/Kerwood/rtorrent.auto.install/master/Rtorrent-Auto-Install-3.0.2-Debian-Jessie

Gør den downloaded fil executable.
chmod +x Rtorrent-Auto-Install-3.0.2-Debian-Jessie

Kør scriptet med administrator rettigheder.
sudo ./Rtorrent-Auto-Install-3.0.2-Debian-Jessie

Du vil blive promtet efter en system bruger, som skal kører rtorrent. Du kan enten bruge din egen bruger til formålet, eller oprette en dedikeret rtorrent bruger.
Efter 5-10 minuter hvor de nødvendige pakker bliver downloaded og installeret, får du muligheden for at installer de plugins/addons du finder nødvendige.
Til sidst skal du angive en bruger samt password til web interfacet. Det behøver ikke at være en system bruger.

Kommenter venligst hvis du finder fejl eller mangler i scriptet.

 

Video Guide


1 maj 2013   | Alle · Debian · Fildeling · Scripts · Video Guide

377 thoughts on “Rtorrent + Rutorrent Auto install script – Debian

1 16 17 18
  1. Reply Thomas mar 28,2017 21:30

    Hej

    Jeg får denne fejl hvad kan jeg gøre ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.
    ERROR: The certificate of ‘raw.githubusercontent.com’ hasn’t got a known issuer.

    • Reply Patrick Kerwood mar 28,2017 21:32

      Installer ca-certificates

      sudo apt-get install ca-certificates

      Så skulle det gerne virke. ;)

  2. Reply Thomas mar 28,2017 21:35

    Det gør det jeg takker og super hurtig svar :D

  3. Reply Thomas mar 28,2017 22:46

    kan du så os fortælle hvorfor jeg får denne fejl No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file

    har debian 8

    Kan se den heller ikke har loadet alle mine plugin

  4. Reply Thomas mar 28,2017 23:09

    Det virker nu det skulle en genstart til :)

    • Reply Patrick Kerwood mar 29,2017 13:24

      Du kan evt bruge flg. kommandoer til at starte og stoppe rtorrent.
      sudo systemctl start rtorrentsudo systemctl stop rtorrent

  5. Reply Thomas apr 28,2017 20:01

    Hej Patrick

    Jeg ville høre om du kunne hjælpe mig med en ting hvis jeg skriver ip/rutottent så spørger den efter bruger og kode.
    Men hvis jeg bruger mit domæne/rutorrent så spørger den ikke efter bruger og kode, er der en måde at fix det på ?

  6. Reply Thomas apr 29,2017 01:30

    jeg har fået det fixet ved hjælp af en af de andre guider du har :) https://linuxbloggen.dk/https-ssl-paa-apache-debian-7/

  7. Reply Ove jun 18,2017 19:55

    Tusen takk for et kjempe script. Har du planer om å lage et script som vil virke på Debian Stretch?

    • Reply Patrick Kerwood jun 20,2017 20:28

      Selv tak.. Nej det har jeg ikke planer om. Jeg har lavet en Docker container som kan kører alle OS’er der understøtter Docker. Smider en post om nogle dage. :)

  8. Reply Nissim aug 23,2017 18:18

    Bad response from server: (500 [error,list]) 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.10 (Debian) Server at 192.227.245.219 Port 80

    This is the error i get when open rutorrent after the script

  9. Reply Nissim aug 23,2017 19:02

    Actually i think it was because i was using chrome, it works with edge. However, i didnt install any plugins. Now im using the plugins script and its shows the wrong default path to the folder, i type the proper one but the menu doesnt come up. Putty just stays there and doesnt bring anything, no error no nothing. Thats after typing the right path and pressing enter, the only way to is to close putty. If i dont enter the right path the menu comes up.

    I only noticed it wasnt the right default path cause i wasnt able to access it with cd, then i went backwards and found it in www, not in html.

    Thanks

    • Reply Patrick Kerwood aug 23,2017 22:07

      Yeah.. I think there’s a bug in the plugins script. I should really remove it, since its not maintained.

      If I have time tomorrow I will have a look at it.

    • Reply Nissim aug 23,2017 23:12

      Thats good! No problem, i understand. I deleted everything and installed the plugins from the main script and they were added it.

      Appreciate your work and time.

      Do you have a guide or script to work with your setup for autodl-irssi? I have checked around and im not really sure what to do first step by step to integrate it. New to this and its confusing, your site really helped me.

    • Reply Patrick Kerwood aug 24,2017 07:46

      I’ve never used autodl-irssi my self, so i dont know. I’ve always used FlexGet. Would definitely recommend that.

    • Reply Nissim aug 24,2017 11:35

      Oh, Im new to linux tbh i dont know anything about it. Everything ive been able to do is thanks to people like you. Ive google it and seems good too! It has everything the IRC thing and a plugin to search based on my sonnar calendar. I tried installing it though and ive made a mess of the server i think lol. Makes me even more thankful of scripts like yours!

    • Reply Patrick Kerwood aug 24,2017 11:41

      Hehe.. I would recommend to install VirtualBox, then make a Debian install and update everything.
      Make a snapshot of it in VirtualBox.
      Now you have a good test environment, where you can test different software and if it fails or you are done, you can just restore the snapshot and you have a clean test server again.
      It will save you a lot of worries :)

    • Reply Nissim aug 26,2017 13:21

      Thats a great idea. Will start using that ! Thanks :)

      By any chance you have a config file i could use? I was able to install flexget but i cant figure out how to get the right config.

      What do i want? Is to have Sonarr as always to add and track my series and the flexget to use IRC with my private tracker to watch out for whatever episodes are needed on sonarr, then when it finds a match with sonarr, grab it. Then sonarr sends it to whichever download client is enabled n the settings.

      Oh, I can get you an invite to the private tracker if you want. as a thank you. Also a beer if you have that thank you beer thing some people activate. :)

    • Reply Patrick Kerwood aug 26,2017 21:25

      I’ve made a small post about it here.. https://linuxbloggen.dk/flexget-rtorrent/

      And here’s an example of my config. https://gist.github.com/Kerwood/0eaa5a54fdddd72d84b71f0c32c3114d

      I like it simple (KISS), so I don’t have a fancy sonarr setup or anything like :D ..
      As you see I’ve got a list of TV shows the I just add and remove from.

      The IMDB_Movies task basically just downloads all movies that is available in the RSS feed, that has a minimum score of 5 and is minimum from from the year 2016 and in 720p.

      Flexget also got a good cookbook here https://flexget.com/Cookbook

      Send me a mail about that tracker. patrick@kerwood.dk

1 16 17 18

Leave a Reply