Koby Posted March 31, 2016 Report Share Posted March 31, 2016 This guide is going on the assumption you've already got ubuntu installed on your server. Installing rTorrent sudo apt-get install rtorrent Installing ruTorrent web interface First things first, if you don't already have git installed, you'll need to do that now: sudo apt-get install git-all Now you can git clone rutorrent from the github, this will install it in a folder called ruTorrent within the current directory you're in. git clone https://github.com/Novik/ruTorrent.git You will now want to edit the .htaccess of the main ruTorrent directory. It should be something like: AuthType Basic AuthName "rutorrent" AuthUserFile "/var/www/ruTorrent/.htpasswd" require valid-user Change the 'AuthUserFile' to whatever you want your '.htpasswd' file to be located. From here you'll need to install apache2-utils to generate your new '.htpasswd' file with an encrypted account. You can do so with: sudo apt-get install apache2-utils Once that's done you can now create it. Use: htpasswd -c /path/.htpasswd user Change 'path' to your actual path and 'user' to the username you wish to login to ruTorrent with. You'll be prompted for a password, so enter whatever you want. Confirm it, and it'll create your encrypted .htpasswd file. Next create a file and call it '.rtorrent.rc' and place it in your main directory. Copy and paste this into it: #encoding_list = UTF-8 scgi_local = /tmp/rpc.sock schedule = chmod,0,0,"execute=chmod,777,/tmp/rpc.sock" set_xmlrpc_dialect=i8 #download_rate = 50000 #upload_rate = 50000 #session = ./session You can uncomment what is commented out if needed to apply settings. Now go into your ruTorrent/conf/config.php file and find: $scgi_port = 5000; $scgi_host = "127.0.0.1"; replace that with: $scgi_port = 0; $scgi_host = "unix:///tmp/rpc.sock"; Now you'll need to install screen so you can keep rTorrent running: sudo apt-get install screen Then you simply have to start everything up with: screen –fa –d –m rtorrent You can now go to your ruTorrent install and login. Things should work, but you will probably see some errors in your log about various plugins not having the required stuff set up. Installing missing plugins To install ffmpeg, you'll first have to install some other stuff to be able to use it via apt-get. So run: sudo apt-get install software-properties-common Then this should now be able to run: sudo add-apt-repository ppa:mc3man/trusty-media If that is successful then you'll need to run the updates: sudo apt-get update sudo apt-get dist-upgrade and finally you can install ffmpeg: sudo apt-get install ffmpeg For the unrar plugins to work, simply apply: sudo apt-get install unrar-free and then for mediainfo: sudo apt-get install mediainfo That should pretty much cover it. If you run into any issues or I left anything out, feel free to comment below and I'll help solve any issue or update this guide to reflect anything left out. Quote Link to comment Share on other sites More sharing options...
professa X Posted March 31, 2016 Report Share Posted March 31, 2016 a day b4 april fools... Quote Link to comment Share on other sites More sharing options...
JohnFlower Posted April 1, 2016 Report Share Posted April 1, 2016 Do note that this is for Ubuntu 14.04, which still uses Upstart instead of systemd. The main issue you'll face is the fact that /tmp cant be accessed by php without enabling a security flaw. Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 1, 2016 Report Share Posted April 1, 2016 If you're real paranoid just block all ports apart from SSH and tunnel HTTP or HTTPs through SSH for ruTorrent. I see it as a viable option if you're just using the server as a private server rather than public. There are also a lot of other useful plugins you can get for ruTorrent. Namely the RSS feeds which I use a lot. Though setting up .htaccess should be enough safe guarding against the /tmp security flaw. Quote Link to comment Share on other sites More sharing options...
Koby Posted April 10, 2016 Author Report Share Posted April 10, 2016 Updated to add a few steps I somehow left out. Everything should be good to go, but still if you run into issues, let me know and I'll try to fix whatever is wrong with the guide. 1 Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 10, 2016 Report Share Posted April 10, 2016 Don't worry guys, Koby will set up your server for FREE! (Who needs a guide?) After I threw at him some gils, he set up and installed Windows & Linux for me over the interwebz to my own computer! =) 1 Quote Link to comment Share on other sites More sharing options...
Koby Posted April 10, 2016 Author Report Share Posted April 10, 2016 24 minutes ago, ZeroPenguins said: Don't worry guys, Koby will set up your server for FREE! (Who needs a guide?) After I threw at him some gils, he set up and installed Windows & Linux for me over the interwebz to my own computer! =) kek But I did just setup @DeathTheKid's server the other day for free! 2 Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 10, 2016 Report Share Posted April 10, 2016 ^Forgot to say, thanks for installing those backdoors into my computer and server. Just what I needed! Quote Link to comment Share on other sites More sharing options...
Pollux Posted April 10, 2016 Report Share Posted April 10, 2016 7 hours ago, ZeroPenguins said: ^Forgot to say, thanks for installing those backdoors into my computer and server. Just what I needed! Lol. Koby could work for microsoft.... 1 Quote Link to comment Share on other sites More sharing options...
DJHulp Posted April 21, 2016 Report Share Posted April 21, 2016 On 31-3-2016 at 0:23 AM, Koby said: Installing ruTorrent web interface Then you simply have to start everything up with: screen –fa –d –m rtorrent You can now go to your ruTorrent install and login. Things should work, but you will probably see some errors in your log about various plugins not having the required stuff set up. Cannot exec 'â��fa': No such file or directory. Please Help! Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 21, 2016 Report Share Posted April 21, 2016 18 minutes ago, DJHulp said: Cannot exec '�fa': No such file or directory. Please Help! I can't read what it says after the exec. Did you install screen and rtorrent correctly? Quote Link to comment Share on other sites More sharing options...
DJHulp Posted April 21, 2016 Report Share Posted April 21, 2016 (edited) 8 minutes ago, ZeroPenguins said: I can't read what it says after the exec. Did you install screen and rtorrent correctly? Everthing installed correctly and this is the Error, can't read it either. Edited April 21, 2016 by DJHulp Quote Link to comment Share on other sites More sharing options...
Koby Posted April 21, 2016 Author Report Share Posted April 21, 2016 You're getting that after trying to run ' screen –fa –d –m rtorrent ? Are you back in your home directory when doing this or? And are you sure you didn't miss a step and followed the guide to a t? 1 Quote Link to comment Share on other sites More sharing options...
DJHulp Posted April 21, 2016 Report Share Posted April 21, 2016 (edited) 27 minutes ago, Koby said: You're getting that after trying to run ' screen –fa –d –m rtorrent ? Are you back in your home directory when doing this or? And are you sure you didn't miss a step and followed the guide to a t? I'm getting this error when I type this into after: sudo apt-get install screen. I will Reinstall everthing and try again! And let you know if it went wrong again or I hope it goes Okay! Edited April 21, 2016 by DJHulp Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 21, 2016 Report Share Posted April 21, 2016 Just let @Koby do it for ya! Quote Link to comment Share on other sites More sharing options...
DJHulp Posted April 21, 2016 Report Share Posted April 21, 2016 (edited) 51 minutes ago, DJHulp said: I'm getting this error when I type this into after: sudo apt-get install screen. I will Reinstall everthing and try again! And let you know if it went wrong again or I hope it goes Okay! Reinstalled everthing, still get it not to work, can you please help me out Koby! Please let me know what you need! Edited April 21, 2016 by DJHulp Quote Link to comment Share on other sites More sharing options...
ZeroPenguins Posted April 21, 2016 Report Share Posted April 21, 2016 You will need your credit card details and your SSH logins. Credit card is just for verification, @Koby will need to charge $50 just to make sure it's all legit. Quote Link to comment Share on other sites More sharing options...
JohnFlower Posted April 21, 2016 Report Share Posted April 21, 2016 The forum software is doing funky shit to dashes (-). Type out the command manually. Quote Link to comment Share on other sites More sharing options...
DJHulp Posted April 21, 2016 Report Share Posted April 21, 2016 1 hour ago, JohnFlower said: The forum software is doing funky shit to dashes (-). Type out the command manually. I tryed this aswel, samething still can't pass to the correct screen. Quote Link to comment Share on other sites More sharing options...
JohnFlower Posted April 21, 2016 Report Share Posted April 21, 2016 If you're getting the same the error above, then you're not typing it out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.