Skip to content

Latest commit

 

History

History
150 lines (83 loc) · 7.16 KB

Basics:-Prerequisites.md

File metadata and controls

150 lines (83 loc) · 7.16 KB
  1. Presumptions
  2. Dedicated Server
  3. Domain Name
  4. Google Drive Account
  5. Plex Account
  6. Preferred Downloading Method

1. Presumptions

Cloudbox assumes you have a basic understanding of Linux, Docker containers, BitTorrent, and Usenet, and are also familiar with Sonarr, Radarr, NZBGet, rTorrent/ruTorrent, and Plex/Emby.

The guides in this wiki are only meant to setup Cloudbox specific settings into the various apps that are installed with Cloudbox (e.g. Sonarr, Radarr, Plex, etc) and are not meant to be a full setup for, or an introduction to, the workings of these apps.

If you wish to learn more about them, you can easily find a ton of guides for them online (e.g. HTPC Guides, YouTube, etc).

2. Dedicated Server

Get a server hosting company (e.g. Hetzner, kimsufi, OVH, Wholesaleinternet, etc) with Ubuntu Server 16.04 LTS (AMD64) installed.

Note 1: Cloudbox has only been tested to work on on an AMD64 (ie 64 bit Intel and AMD machines). ARM based hardware is not currently supported.

Note 2: If you are using a Scaleway server, read [[this|FAQ#if-you-are-using-a-scaleway-server]].

Note 3: If you are setting this up on a home server, make sure you open the relevant [[ports]] (eg 80, 443, etc) in your router/firewall, before installing Cloudbox.

Note 4: If using Ubuntu Desktop, make sure SSH is installed.

Tips:

  • If you have multiple hard drives on the server (eg. 2 x 4 TB), put them in RAID 0 to maximize space and speed, and enable weekly backups in Cloudbox.
  • Remove /home and /data partitions, and set all available space on /.
  • Leave ample space in /boot (e.g. 4GB)
  • See example here: https://i.imgur.com/2upULsG.png
  • When installing the server yourself, select Install Ubuntu Server with the HWE kernel.

  • Example from Hetzner:

3. Domain Name

Cloudbox apps will be accessed via https://appname.yourdomain.com (see [[Basics: Accessing Cloudbox Apps]]). To set this app follow the below instructions.

i. Paid Domain Name (recommended)

  1. Get a domain name from any domain name registry (e.g. Namecheap.com, Godaddy.com, Namesilo.com, etc).

  2. Created an A Record for your subdomains with * for host and set the value to your server IP address.

    Type Host Value TTL
    A Record * Your server IP address Automatic

    Note 1: Make sure there is also an A Record for the bare domain (e.g. @ for host). This should be there by default. If not, then add it in.

    Note 2: If you do not want to use a wildcard entry, you can create an A record for all the subdomains instead (see [below](Basics: Prerequisites#ii-free-domain-name-via-freenomcom)).

    Note 3: If you have a separate Plex and Feeder setup, you will need to create A Records for both IP addresses (Plex and Feeder boxes) and set them to their respective subdomains.

    Example: For Namecheap.com, go to Domain List > Manage > Advanced DNS > Add New Record > A Record > * for Host > Server IP for Value.

ii. Free Domain Name (via freenom.com)

Update: Freenom has pushed an update to their site which has broken the ability to register new domain names. So it may or may not work for you.

  1. Visit http://www.freenom.com, create a free account, and find a domain name to register.

  2. Go to "Services" > "My Domains" > "Manage Domain" > "Manage Freenom DNS".

  3. Add these A Records, with "Target" being your server IP address (wildcard DNS is not allowed at Freenom).

    Name Type TTL Target
    jackett A 14440 your server ip address
    nzbget A 14440 your server ip address
    nzbhydra A 14440 your server ip address
    organizr A 14440 your server ip address
    plex A 14440 your server ip address
    plexpy A 14440 your server ip address
    plexrequests A 14440 your server ip address
    portainer A 14440 your server ip address
    radarr A 14440 your server ip address
    rutorrent A 14440 your server ip address
    sonarr A 14440 your server ip address

    Note: If you have a separate Plex and Feeder setup, you will need to create A Records for both IP addresses (Plex and Feeder boxes) and set them to their respective subdomains.

  4. Save Changes.

4. Google Drive Account

Cloudbox stores the media unencrypted in Google Drive and utilizes Plexdrive to access it. So if you want to use another cloud storage provider and/or prefer encryption, Cloudbox may not be for you (see [[FAQ]]). We recommend creating a G-Suite Business account for larger storage space.

Media will be stored in Movies and TV folders, all within a Media folder in root (i.e. /Media). [1]

Media
├── Movies
└── TV

If you have media in other folders, simply move them into these folders via the Google Drive website.

Note: All the paths/folders mentioned here, and elsewhere, are CASE SENSITIVE (see [[Basics: Paths]]).

5. Plex Account

You'll need a Plex account.

If you don't already have one, please visit https://www.plex.tv to create a free account.

6. Preferred Downloading Method

To use Cloudbox, you will need to choose which method you will use to download your media with. It can either be Usenet, Torrents, or both.

i. Usenet

If you plan on using Usenet (i.e. Newsgroups) with Cloudbox, you'll need 2 things: a Usenet provider and a Usenet indexer. We recommend you have multiple indexers (and even multiple providers) to better your chances at finding and downloading media.

ii. BitTorrent

If you plan on using torrents with Cloudbox, we recommend you have access to a private torrent tracker as most servers don't allow public ones. However, if you still want to use public torrent trackers with Cloudbox, you are free to do so.


1 If you would like to customize your Plex libraries beyond what is listed above, see [[Customizing Plex Libraries]].