Debian Installer

We now have a new installers repository. To perform your installation, log in to your Debian machine and follow the instructions below:

Installation
Before you run the installation script, you must make sure apt sources list has access to the correct packages. This process is slightly different depending on your Debian distribution.

  • Edit your repository sources list (vi shown here, use your preferred editor):
sudo vi /etc/apt/sources.list
  • If this has content, add the below line at the end. (Note: you may have a more up to date version than “trusty”, so replace that with what is reflected by the other lines in the sources.list)
deb http://www.deb-multimedia.org/ trusty main non-free
  • Save and exit the text editor and attempt to update apt (this may fail):
  • In some versions, the sources are in separate files in the /etc/apt/sources.list.d/ directory. If your /etc/apt/sources.list file is empty, try the following:
sudo vi /etc/apt/sources.list.d/official-package-repositories.list
  • Make sure each of the entries includes “universe multiverse” at the end of the line. You can also update these in your Package Manager options by enabling “Universe” and “Multiverse” repositories in the options.
  • If there is a public key error, at the end of the output there should be a public key. Replace ${YOUR_KEY} below with this key. Enter the following commands to authenticate with your public key:
sudo gpg --keyserver pgpkeys.mit.edu --recv-key ${YOUR_KEY}
sudo gpg --armor --export ${YOUR_KEY} | sudo apt-key add -
sudo apt-get update
  • Now you are ready to run the installer script (install.sh), you may have to answer Yes to some prompts from iptables-persistent (press ENTER twice)
  • When the script finishes, you may wish to configure authentication for the entermedia user, because only that user should interact with your webapp.
  • The easiest way to do this is:
  • You may also need to add the proper repository for openjdk-8-jre, which can be done with the following command:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo add-apt-repository
sudo apt-get update
  • Now you are ready to add the EnterMedia repository:
sudo add-apt-repository deb http://packages.entermediadb.org/repo/apt stable main
  • Optionally, add the GPG key to your /etc/apt folder
cd /etc/apt/trusted.gpg.d
sudo wget http://packages.entermediadb.org/repo/apt/entermediadb.gpg
  • Finally, update apt and install EnterMediaDB:
sudo apt-get update
sudo apt-get install entermediadb
  • This will install the entermediadb package, which can be used to create new EnterMedia instances, delete unwanted ones, or update existing ones after your package update.