How to Setup An Automated Plex Media Server

These days, more and more people are cutting the cord from cable and using services like Netflix and Hulu to stream video content online. Something you may not realize though, is that setting up your own personal media server is easier than ever before.

AtoMIC toolkit is a software bundle designed to make setting up your own media server as easy as possible. It provides one click installation of all of the components you will need to run your very own Netflix-like server.

This article will outline how to setup AtoMiC Toolkit, a complete home theatre in a box, with Plex media server as the central focus.

Please Note: A Plex media server should only be used to stream content for which you hold a license to view. Please review our acceptable use policy for details on our anti-piracy policies.

System Requirements

The system requirements for a Plex media server vary widely depending on the codec of the content being streamed, the frame rate of the content, and the device being streamed to.

For example, a piece of content encoded in H264 mpeg to a desktop PC will typically be able to directly stream to the device without any transcoding required. This will use significantly less CPU and memory than a Plex server streaming and transcoding content to 25 users.

As such, it’s difficult to provide an accurate system requirements breakdown as every setup will be different. A modest setup streaming to a handful of users will perform adequately with the following specifications:

  • Latest Ubuntu Operating System
  • At least 2GB of RAM
  • Sufficient disk space to store media files
  • 2.4GHZ+ processor speed

Preparation

In order to prepare for installation, we’re going to order a Dedicated Server from ServerMania.com loaded with the latest version of Ubuntu.

ServerMania offers a variety of instant bare metal servers that are provisioned within just a couple of minutes after ordering. This is the perfect option for a Plex Media Server and will be sufficient for most personal media servers.

Depending on the amount of content you will be streaming and the number of active connections to the server, your server requirements will change. Book a free consultation today with one of our server experts to determine which server is best for you.

Installation Steps

Step 1: Login to the server via SSH

ssh ubuntu@IP

Step 2: Change into the root user

sudo su

Step 3: Create a user for plex

adduser plex

Step 4: Install git

apt-get install git

Step 5: Download the AtoMIC Toolkit files

git clone https://github.com/htpcBeginner/AtoMiC-ToolKit /opt/AtoMiC-ToolKit

Step 6: Change into the directory of the toolkit

cd /opt/AtoMiC-ToolKit

Step 7: Change into the directory of the toolkit

bash setup.sh

Step 8: Agree to the terms of service

Type y and hit enter to begin installation.

Step 9: Enter system username and complete installation

Enter the username we created earlier, and hit enter to complete the installation.

Setting Up Plex Server

Entering atk at any time will launch the toolkit. This page allows you to install and manage your media server applications.

We’ll navigate to Personal Media Servers  and hit enter on Plex.

Select Install and hit enter.

The installation will complete and Plex is now accessible at your public IP on port 32400.

In order to allow remote access to your Plex server outside of our network, you’ll need to open an SSH tunnel to the server in order to configure Plex.

On Linux or Mac:

Enter the following command in your terminal:

ssh ip.address.of.server -L 8888:localhost:32400

On Windows:

Download PuTTy and enter the following details:

Host name (or IP address): your.server.ip
Category (on the left): Connections > SSH > Tunnels
Source port: 8888
Destination: localhost:32400
Press button: “Add”
Press button: “Open” (on the bottom)
User – root, root password

Then open your browser and type in localhost:8888 and you will have access to configure your Plex server for remote access.

Setting Up Other Services

AtoMIC toolkit supports a number of useful services that can be installed in just a few clicks. Simply type in atk on the server, and you’ll be able to install programs like Ombi for processing media requests, Transmission for torrent downloads, and much more.

About The Author