Skip to main content

Media Edge Installation

This guide will walk you through the process of installing Media Edge on your servers. Media Edge is a software package that allows you to participate in Media Network as a provider. It enables you to monetize your resources by offering content delivery services to clients who need to distribute their web content efficiently and effectively.

Prerequisites

Being registered as a provider on Media Network is a prerequisite for installing Media Edge. If you haven't registered yet, please visit the registration page to sign up. You also need at least two servers with Debian 10 installed. One server will be used as the origin server, and the other as the edge server. You can have as many origin and edge servers as you want.

Step by Step Guide

Ensure these are installed on your local computer and target server(s):

🛠️ Installation

  1. Clone the repository and its submodules:
    git clone https://github.com/mediafoundation/media-edge.git
    cd media-edge
    git submodule init
    git submodule update
  2. Navigate to the ansible folder:
    cd ansible
  3. Prepare the hosts file:
    cp hosts.example hosts
    # Edit hosts with your server's IP addresses
  4. Set up your configuration:
    cp user_config.yml.example user_config.yml
    # Edit user_config.yml with your wallet and other settings
  5. Deploy Media Edge:
    ansible-playbook deploy.yml -i hosts