User:OlivierMehani/OpenBSD: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
Line 14: Line 14:
</pre>
</pre>


Video support however seems to have more requirements than the default install. The upload fails without them.
Video support however seems to have more requirements than the default install. Otherwise the upload fails with Python errors about non-existing object (gtk, vp8enc, webmmux, ...)
<pre>
<pre>
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-good
$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-good
</pre>
</pre>
Maybe the media-handling code should be more resilient to missing libraries?
Maybe the media-handling code should be more resilient to missing libraries when they are not strictly necessary (maybe not generating all file formats)?


== Running ==
== Running ==

Revision as of 06:00, 8 February 2012

Notes on Running MediaGoblin on OpenBSD

We run on the latest (for a tiny bit) OpenBSD version.

$ uname -a
OpenBSD XXX 5.0 GENERIC#53 amd64

Requirements

All the necessary dependencies are already available as packages as described in the documentation.

$ sudo pkg_add mongodb py-virtualenv py-lxml py-Imaging

Video support however seems to have more requirements than the default install. Otherwise the upload fails with Python errors about non-existing object (gtk, vp8enc, webmmux, ...)

$ sudo pkg_add py-gtk2 py-gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-good

Maybe the media-handling code should be more resilient to missing libraries when they are not strictly necessary (maybe not generating all file formats)?

Running

$ sudo useradd -u <UID> -g =uid -c "MediaGoblin" -d //path/to/mediagoblin/ -s /sbin/nologin _mediagoblin
$ cd /path/to/mediagoblin
$ sudo chown -R _mediagoblin:_mediagoblin .
$ HOME=`pwd` sudo -u _mediagoblin ./lazyserver.sh --server-name=broadcast &