This is a simple and concise tutorial on how to setup a seedbox running rtorrent with rutorrent as webui on Ubuntu OS. I’ve tried to simplify as much as possible to make it easy to understand. It may look a bit lengthy but it’s copy-paste-fu mostly.
Initial server setup
Login to your server and create a new user account, add it to sudo group. Substitute USER_NAME with your desired username.
Setup key authentication
It’s better, less hassle and a lot safer. You should use it.
You can try logging in your server with the new user. It will not ask you to enter password this time.
Disable root login
Use nano to change PermitRootLogin to no. Ctrl+O to save and Ctrl+X to quit afterward.
Create new user to run rtorrent and required folders
For rtorrent config, you can copy the default one and mess around. It’s simple and straight forward. I won’t go into details here.
Setup nginx/rutorrent for webui
Install nginx and php5-fpm to run rutorrent
By default, your root folder will be at usr/share/nginx/html.
Create a configuration file for rutorrent
Copy and paste the content below
Create symlink to sites-enabled and restart nginx
Create a test file to verify php5-fpm is working
And that’s it. Start rtorrent and things should work as it supposes to. Feel free to ask me any question if you got stuck.
If you’re a casual torrent user like me and still looking for a dead-cheap, torrent-friendly VPS provider, I may recommend you to take a look at RamNode. They provide a $15 per YEAR for 80GB of space and 500GB bandwidth. As long as you don’t do heavy torrenting and public trackers, you should be safe.