Skip to content

Torrents

Antonizoon edited this page Feb 18, 2016 · 10 revisions

Home Servers work perfectly as a Torrent Seedbox, as it is always on.

Torrent Client

Since all Linux torrent clients use libtorrent at their core, base performance will be similar. However, each client brings with it special features that can increase CPU or memory usage, so choose the client that fits the strength of your seedbox.

From this performance chart, most torrent clients will consume less than 80MBs of RAM.

  • Transmission - Best lightweight torrent client, ideal for the Raspberry Pi. A bit lightweight on features, but good enough for the basics and easy to install.
  • rtorrent + rutorrent - rtorrent is a command-line based torrent client with a huge load of features. rutorrent is a Web interface for rtorrent, which presents all options in a charming GUI. However, it can be very difficult to install and configure, and consumes slightly more processing power than Transmission.
  • Deluge - A good balance of features and weight over Tranmission. If you can definitely spare 50MBs of RAM, this is what you want. Easy to install.
  • QBittorrent - A uTorrent-style client for Linux.

Deluge

For Deluge, you should provide two means of access: the WebUI, and the Deluge Thin Client. The WebUI can be accessed in the web browser, while the Thin Client uses a deluge program on the client for more effective configuration.

http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient#EnableRemoteConnection

Also, if you want to have the core Deluge daemon run on a different port, edit ~/.config/deluge/core.conf (for the user running the daemon, usually deluge) and change as necessary. You will also have to set this port on the WebUI's Connection Manager next time you access it.

Quick and easy setup script (Debian): http://www.sonicboxes.com/scripts/deluge_webui.sh

CentOS instructions: https://gist.github.com/dasgoll/111f6f3364e2ab97bc08

Blacklists

Usually, the only way DMCAs can be issued against torrent peers is by connecting to the network and recording every single IP address.

One way to combat this is to install a public blacklist, which refuses to connect to peers associated with DMCA-issuing activity.

Torrent Encryption

If your ISP is deliberately slowing down, scanning, or blocking torrents, you can obfuscate torrent data by enabling encryption. It takes up more CPU power, and needs a bit more time, but that's nothing compared to throttling.

Transmission generally prefers peers with encryption enabled, but you can require peers to have it.

Note: This does not anonymize or hide your IP Address! If that is necessary, you will need a good VPN that allows torrents.

Transmission

Creating Torrents with Transmission-cli

Sometimes you will need to send large files from a server. However, this is no small feat without a graphical interface.

Key to this method is using the transmission daemon. Remember, to use it with Transmission-remote you need the username and password given using the option -n. Here's a script that will set you up (using the default password):

#!/bin/bash
TRANSDIR=/var/lib/transmission-daemon
cp -p $1 $TRANSDIR/downloads/
transmission-create $TRANSDIR/downloads/$1 -t udp://tracker.openbittorrent.com:80 -o $HOME/$1.torrent
transmission-remote -n transmission:transmission --add $HOME/$1.torrent

Rutorrent

http://www.filesharingguides.com/torrent-guide-install-rutorrent-seedbox-redhat-centos/

Create and Share tons of data with Torrents

Torrents are the most reliable way to transmit large amounts of data. All items are checksummed, you can stop and continue anytime and if there are a lot of people downloading, that simply increases the download speed.

mktorrent -a tracker.ccc.de:80 -o my-really-long-novel.torrent my-really-long-novel.pdf

You will want to use an open tracker to seed. http://coppersurfer.tk/

https://www.maketecheasier.com/make-your-own-torrent/

Sources

Home Server

Guides to configuring Debian home servers.

Installation

  • Debian Netinstall - Barebones system with only what you need.
  • Crunchbang - God Save the Crunch. Minimal Desktop Debian, with BunsenLabs and CB++.
  • CentOS - What if Red Hat Linux was free?

Network Configuration

  • Port Forwarding - To remotely access a server on the open internet, you must port forward the services.
  • Static IP - You should set a static IP for a server within the router DHCP subnet.

Remote Access

Services

  • Torrents - Torrent Servers
  • IRC Bouncer - IRC Bouncers are critical to idling on IRC servers and receiving private messages.
    • Quassel - Effective, elegant, and powerful IRC client for multiple platforms, including Android.
    • ZNC - Great for Palaver (iOS).
  • Web Server - Which web server is right for you?

Storage

Misc

Dedicated Server

Guides for configuring and setting up a true CentOS dedicated server/VPS.

Testing

Always thoroughly test your dedicated server before you use it.

  • Memtest - Test the sanity of your memory (especially non-ECC)
  • Hard Drive Test - Test the reliability of your hard drives.
  • Speed Test - Test connection speeds and peering worldwide, as well as read/write speeds.
  • Stress Test - Test the overall performance of the computer.

Networking

  • Hostname - The hostname is related to your server's primary domain.
  • Firewalls - Easy firewalls with FirewallD.

Services

  • Web Server - A production dedicated server has a more complex web server design.
  • Rsync Server - Rsync Servers are a reliable way of transmitting and syncing data across the internet, without resending what was already synced

Account Management

  • Handling Admin Privileges
    • King in the Mountain - Create an emergency root account with a special SSH key put in a safe place.
    • Sudo - Give certain trusted users administrative (root) privileges, which are revokable.
Clone this wiki locally