Skip to main content

A poor man's seedbox for $15 a year

https://tuananh.org/2014/09/01/a-poor-mans-seedbox-for-15-dollars-a-year/

Seedbox is basically just a server with torrent client installed. A seedbox usually goes for $15 a month for a decent one and $7 a month for a cheap one. It’s rather easy to setup a VPS as a seedbox and save yourself some money.
I have a pretty good experience with RamNode. In fact, I’m running my website on one of their VPS right now. Though it’s cheap but it’s actually more than what I need for my static website.
For $15 a year, you will get 80GB of space/500GB bandwidth monthly, 128MB RAM and 100Mbps ethernet, which is ok if you’re just a casual torrent downloader like me. If you’re looking for more, I suggest you take a look at Hetzner or OVH.

Get a VPS at RamNode

Sign up for the massive plan (cheapest one) for $15 a year and select the geolocation closeast to your location. There are 4 datacenters that you can select from which are NYC, ATL, SEA and NL. Also, select Ubuntu 14.04 64bit as OS for the sake of this tutorial. Enter your domain if you have one. If not, you’re going to access to your seedbox by IP address.
I got myself one at Atlanta and the speed is very decent from Thailand.
download speed from seedbox
RamNode will send you an email with the VPS’s login information few minutes after signing up.

Connecting to your VPS

If you’re on Linux or Mac, ssh is pre-installed and ready to use. To connect on Mac/Linux, use the command below. Enter password when asked.
ssh username@ip-address
If you’re using Windows, you need to download a SSH client to connect to your VPS and set it up. PuTTY is a decent one.
Open PuTTY, enter IP address you get from the email and click open. Enter username and password you get from the email.
PuTTY
Now if you’re panic about server’s security, you can go ahead and follow this tutorial to add a few extra layers. As for me, I usually just installed fail2ban, disable login by password, and using public key authentication only.

Installing deluge and deluge-web

I’m going to ignore all the security practices so that this tutorial can be as simple as possible. I’m assuming you’re still using root account for now.
Copy and paste the commands below, press Y when asked. These commands will update/upgrade to lateast package and then install deluge, deluge-weband nginx. Append sudo if needed.
apt-get update
apt-get upgrade
apt-get install deluged
apt-get install deluge-web 
apt-get install nginx
deluge is a torrent client, deluge-web is deluge’s web interface for easy management and nginx allows you to download files to your computer.
rtorrent is another decent torrent client (better web ui, lower memory footprint) but requiring a bit more work to setup it up and running. Also, you can setup FTP and download your files using FTP instead of direct HTTP. I choose direct HTTP simply because I have nginx server already installed so less work for me. You can also secure your public folder in nginx by following this tutorial.
Once finished, start deluged and deluge-web.
service nginx start
deluged
deluge-web --fork
You can access your deluge-web at your seedbox’s IP address, default port 8112 with default password deluge.
Now, in order to download your files from seedbox, you will move the download folder of deluge into nginx www folder. For example: downloads folder (/usr/share/nginx/www/downloads). Your files will be accessible at http://ip-address/downloads.
If you hit any problem, feel free to drop me an email or tweet me at @tuananh_org. I’ll be happy to help.
Update: I added a blog post for those who doesn’t want to tinker much with command line.

Comments

Popular posts from this blog

The Difference Between LEGO MINDSTORMS EV3 Home Edition (#31313) and LEGO MINDSTORMS Education EV3 (#45544)

http://robotsquare.com/2013/11/25/difference-between-ev3-home-edition-and-education-ev3/ This article covers the difference between the LEGO MINDSTORMS EV3 Home Edition and LEGO MINDSTORMS Education EV3 products. Other articles in the ‘difference between’ series: * The difference and compatibility between EV3 and NXT ( link ) * The difference between NXT Home Edition and NXT Education products ( link ) One robotics platform, two targets The LEGO MINDSTORMS EV3 robotics platform has been developed for two different target audiences. We have home users (children and hobbyists) and educational users (students and teachers). LEGO has designed a base set for each group, as well as several add on sets. There isn’t a clear line between home users and educational users, though. It’s fine to use the Education set at home, and it’s fine to use the Home Edition set at school. This article aims to clarify the differences between the two product lines so you can decide which

Let’s ban PowerPoint in lectures – it makes students more stupid and professors more boring

https://theconversation.com/lets-ban-powerpoint-in-lectures-it-makes-students-more-stupid-and-professors-more-boring-36183 Reading bullet points off a screen doesn't teach anyone anything. Author Bent Meier Sørensen Professor in Philosophy and Business at Copenhagen Business School Disclosure Statement Bent Meier Sørensen does not work for, consult to, own shares in or receive funding from any company or organisation that would benefit from this article, and has no relevant affiliations. The Conversation is funded by CSIRO, Melbourne, Monash, RMIT, UTS, UWA, ACU, ANU, ASB, Baker IDI, Canberra, CDU, Curtin, Deakin, ECU, Flinders, Griffith, the Harry Perkins Institute, JCU, La Trobe, Massey, Murdoch, Newcastle, UQ, QUT, SAHMRI, Swinburne, Sydney, UNDA, UNE, UniSA, UNSW, USC, USQ, UTAS, UWS, VU and Wollongong.

Logic Analyzer with STM32 Boards

https://sysprogs.com/w/how-we-turned-8-popular-stm32-boards-into-powerful-logic-analyzers/ How We Turned 8 Popular STM32 Boards into Powerful Logic Analyzers March 23, 2017 Ivan Shcherbakov The idea of making a “soft logic analyzer” that will run on top of popular prototyping boards has been crossing my mind since we first got acquainted with the STM32 Discovery and Nucleo boards. The STM32 GPIO is blazingly fast and the built-in DMA controller looks powerful enough to handle high bandwidths. So having that in mind, we spent several months perfecting both software and firmware side and here is what we got in the end. Capturing the signals The main challenge when using a microcontroller like STM32 as a core of a logic analyzer is dealing with sampling irregularities. Unlike FPGA-based analyzers, the microcontroller has to share the same resources to load instructions from memory, read/write the program state and capture the external inputs from the G