Install as Debian Package

Add these lines to /etc/apt/sources.list (substitute unstable with your release name, like stretch, if you're not running unstable):

# AG Projects software
deb unstable main
deb-src unstable main

Install the AG Projects debian software signing key:

sudo wget -O /etc/apt/trusted.gpg.d/agp-debian-key.gpg

After that, run:

sudo apt-get update

Install MediaProxy:

sudo apt-get install mediaproxy-dispatcher mediaproxy-relay mediaproxy-web-sessions

Installing from source

Download and install dependencies

On non Debian installations you can install it from the source.

You will need the following dependencies:

  • python-application (>= 1.2.8)
  • python-twisted-core
  • python-cjson
  • iptables (>= 1.4.3)

For the database accounting module:

  • SQLObject

For the RADIUS accounting module:

  • pyrad (>=1.1)

Download and install Mediaproxy

You may run the software from its own directory or install it in a directory anywhere in the system.

The software is available as a tar archive at:

Extract it using tar xzvf mediaproxy-version.tar.gz and change directory to the newly created mediaproxy directory.

The source code is also managed using darcs version control tool. The darcs repository can be fetched with:

darcs get

To obtain the incremental changes after the initial get:

cd mediaproxy
darcs pull -a

After fetching install the software:

cd mediaproxy
sudo python install

More info about installing from source MediaProxy can be found in the INSTALL file.