MediaGoblin
This wiki page details the installation of MediaGoblin on an Ubuntu 12.04 server. The installation is suited to small deployments.
Contents
Step 1 - Install Ubuntu 12.04 Server
Install a normal 12.04 LTS 63 bit server. Make sure that you prepare enough disk space for all the media you will be hosting. The only additional software to install is the OpenSSH server. Also prepare for a hostname/domainnam/URL to use, for example at Stellenbosch University Library we chose http://media.lib.sun.ac.za. Also ensure the server has access to the internet in order to be able download software during the installation.
Step 2 - Install pre-requisite software
Type the following:
sudo apt-get install git-core python python-dev python-lxml python-imaging python-virtualenv sudo apt-get install apache2-mpm-worker libapache2-mod-fastcgi apache2-suexec postfix mailutils
Setup postfix as a smarthost relay and use your campus mail gateway.
Step 3 - Install MediaGoblin
Type the following:
cd /opt git clone git://gitorious.org/mediagoblin/mediagoblin.git cd mediagoblin git submodule init && git submodule update
And set up the in-package virtualenv:
(virtualenv --python=python2 --system-site-packages . || virtualenv --python=python22 .) && ./bin/python setup.py develop
Assuming you are going to deploy with FastCGI, you should also install flup:
./bin/easy_install flup
Step 4 - Deploy MediaGoblin
Type the following:
cp mediagoblin.ini mediagoblin_local.ini
Populate the DB: ./bin/gmg dbupdate