Welcome Guest, please login or register.

AudioBook Bay Forum » Help » How-to Guides » Cheap seedbox tutorial (not mine)

Pages: [1]   Go Down
  Print  
Author Topic: Cheap seedbox tutorial (not mine)  (Read 2015 times)
amisima
Guest
« on: October 09, 2018, 06:55:50 AM »

Okay I found this on MAM and it's super cheap and well explained:
Big thanks to "dreamthiev".



I just set up a new seedbox as a bit of a project, and I'm going to write about it as a bit of a guide for those interested.

My point in doing this is basically anyone can have a seedbox.  It takes very minimal technical skill, really if you can follow simple instructions you can do it.  And it takes minimal financial investment.  This seedbox is costing me $12/year.  That's roughly the cost of eating lunch out, or a couple visits to starbucks, or less than two hours of work at minimum wage (US Federal minimum).  Honestly, you can earn the yearly cost in a hour or two pan-handling on the side of a highway.  

So!  On with my guide.  

For this project, I'm using a VPS, which is a Virtual Private Server.  Basically, it's a server that's split into a bunch of smaller virtual machines so that each user gets their own virtual environment to setup however they choose.  For the purpose of this project, I went with liteserver.nl.  Pretty much any VPS provider will do.  I chose liteserver because they had a pretty big storage amount for their price-point, it had positive feedback, and it was a non-US server.  I chose non-US because I'm located in the US, and most copyright trolls are unlikely to be able to enforce anything internationally, or really even go through the effort of trying, for something as minor as one user.  

At Liteserver.nl, I selected their "Storage VPS Series" and choose "OpenVZ VPS."  Their low-end package, named "OVZ-STOR-128" provides 100GB of HD space, 1TB of bandwidth a month, and costs 16 euro/year.  At the time I set this up, they offered a 25% lifetime discount as an easter special, bringing the price to 12/year.  So about a buck a month.  Select your package, add it to your cart, you'll get to this:

Note: the 25% code is 25EGGS and it seems to still work, now months later.  I can't guarantee it'll work for you, but feel free to try it.  
Under "Configure Server" you want to type in the name of your server.  This is whatever you want to make up, it makes absolutely no difference.

Under "Configurable Options" you choose your operating system.  Choose Ubuntu 16.04.  Click the continue button on the right, it'll take you to enter your contact and payment information.  Pay for your server, and they'll send you a confirmation email, and an email saying your new server is ready.  That your server is ready email has the information you need to login and use your new server.  There's two sections you really need to concern yourself with:

    > VPS Details and Instructions <
    =============================
    Plan: OVZ-STORAGE-128
    Hostname: <Your Name Here>
    Primary IPv4 address: <An IP Address Here>
    Root Password: <Your Password Here> (*We highly suggest you to change this password immediately to something more secure!)


The other section you may need is "VPS Control Panel Access," which provides instructions on where to go to reinstall your server.  If you completely mess something up, follow those instructions and reinstall your OS and it'll give you a clean slate.  Also in that email, right under the VPS details, is a link for Putty.  Putty is how you're going to initially communicate with your new server.  Follow the link, download and install putty, and run it.  

When you run putty, you'll get this screen:

Under "Host Name (or IP Address)" you want to enter the number listed in your email under "Primary IPv4 address."  That's the address for your server.  Type or copy/paste that into putty, then hit the open button at the bottom.  That's going to open up a terminal screen, and it's going to ask you "Login as:" and you're going to type: root

It will then ask for a password, and you'll enter the password from your email, listed as "Root Password:"

It's going to display a little welcome message, and at the end there'll be a command line.  You're now logged into your server via terminal, and can start issuing it commands.  Now we turn the server into a seedbox.

There's a lot of options for this, a bunch of pre-compiled scripts and even the option to do it all manually on your own.  But, if you were going to do that last, you wouldn't be here.  So, we're going to use a ready-made script.  I'm using the script from https://quickbox.io/

Quickbox is seedbox setup script, and it also has additional packages for things like plex and such.  But for right now, we're just worrying about the seedbox.  In your putty terminal window, at your command prompt, you're going to enter in:
Code:
apt-get -yqq update; apt-get -yqq upgrade; apt-get -yqq install git lsb-release; \
git clone https://github.com/QuickBox/QB /etc/QuickBox &&
bash /etc/QuickBox/setup/quickbox-setup
You can copy and paste it into putty, to paste you will right-click and it should paste automatically for you.  Once pasted, hit enter to start.  It will start installing, with minimal input from you.  For the most part, you're going to go with the default option whenever it asks you something.  I'm only going to note the exceptions.  

"Do you wish to use user quotas? (Default: Y)" - Unless you're planning on allowing multiple users, there's no reason to have quotas.  I hit N.

"Add a Master Account user to sudoers
Username:" Pick a username.  
"Password: (hit enter to generate a password)" Pick a password

"Would you like to install ffmpeg? (Used for screenshots) [y]es or [n]o:"  ffmpeg is a screenshot tool, if you plan on having and sharing videos off your seedbox, hit yes.  Otherwise hit no.  

"Block Public Trackers?: [y]es or [n]o:" Are you going to use public trackers?

Otherwise, let it install.  Eventually you'll get a screen:
Code:
################################################################################################
# Seedbox can be found at <Your Address Here>
# (Also works for FTP:<Your Address Here>)
# If you need to restart rtorrent/irssi, you can type 'reload'
# Reloading: sshd, apache, memcached, php7.0, vsftpd and fail2ban
################################################################################################
Select the web address, that'll copy it.  Paste it into your browser.  It'll bring up the quickbox control panel.  On the left, there'll be a button for deluge web.  That'll load up the webui for deluge in a new tab.  It'll ask for your password, this should be the password you made during the seedbox installation.  Once it loads, it'll ask where to connect.  There'll only be one option, select it and hit ok.  Then you'll be in the deluge webui.  Congratulation, you now have a seedbox.  

You can add torrents via the webui.  The stuff you can download can be downloaded from your quickbox control panel.  However, you'll be better off getting an ftp client.  Then you'll be able to upload and download.  For ftp, you'll need your IP address of your box, the username and password you created, and the port will be 5757.  You can find ftp guides elsewhere.

And that's it.

Some final thoughts:

There's tons of options for who to go with for your VPS, or you can rent a dedicated server (no virtual).  There's also a lot of options for scripts for setting up your seedbox, I chose quickbox but there's plenty of others.  Quickbox also has the option to do the setup for you, their "guru" service costs $5 and they'll setup and configure your VPS as a seedbox for you.  

100GB isn't huge, by any means.  But it's perfectly adequate for most use. You can pay more for more space, or get by on less space for even an even cheaper price.  All depends on what you need/want.  

A seedbox solves a lot of problems:
-If you don't want to seed because you have a slow connection, you can upload the file to your box and seed from there.  It doesn't matter if you take your time uploading, because once it's there and you make the torrent, it'll seed fast.
-If you have trouble maintaining a ratio, the seedbox lets you seed files for as long as you want without tying up your home machine, and in most cases has far better speeds.
-If you're worried about copyright trolls or similar, seedboxes make you anonymous.  All other peers in the torrent swarm will see your box's IP, not yours.  
-Quickbox also has a package for OpenVPN, as well
-If you have bandwidth caps, a seedbox will help with that as well.  If you download the torrent to your box, then from your box to your home PC, you'll reduce your bandwidth as you're only transferring the file via your home connection one time.  Whereas torrenting from home, you're both sending and receiving data.  

And more.  Anyway, I hope this guide helps someone.  Good luck, and have fun  Smiley




The promocode doesn't work but: 30XMASBALLS works.
The whole thing costs like 11EUR per YEAR.
It requires some nerd skills but it's pretty cheap.

=======
Moved to HowTo forum and did some formatting. -- Gweilo
« Last Edit: October 09, 2018, 10:05:35 AM by Gweilo » Logged
Gweilo
Global Moderator
Legendary Member
******
Offline Offline

Posts: 6997



View Profile
« Reply #1 on: October 09, 2018, 10:11:46 AM »

Interesting. I may actually do it if I can scrape together $12 without my wife noticing.
A few things:
Quote
ffmpeg is a screenshot tool,
No, it's an all-purpose media conversion tool.
It can convert any kind of video or audio to any other kind. Almost every conversion tool you see uses it under the hood.
Making screenshots is about 0.1% of what it can do.

But if you need it, you can get it later.

Quote
"Block Public Trackers?: [y]es or [n]o:" Are you going to use public trackers?
For ABB you need public trackers, So "No".
Also, how about DHT? That is probably default off  as seedboxes are targeted at private trackers.


« Last Edit: October 09, 2018, 10:18:37 AM by Gweilo » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: