Difference between revisions of "MediaGoblin"

From Libopedia
Jump to navigation Jump to search
m
m
Line 17: Line 17:
 
Assuming you are going to deploy with FastCGI, you should also install flup:
 
Assuming you are going to deploy with FastCGI, you should also install flup:
  
./bin/easy_install flup
+
./bin/easy_install flup

Revision as of 14:12, 8 August 2014

This wiki page details the installation of MediaGoblin on an Ubuntu 12.04 server. The installation is suited to small deployments.

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

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