We had some issues getting plumi installed and I attached steps below that
we use. Note this is for a specific version:


Assumes user zope has been created, 2 domains have been set up (in our case
they are internal domains plumi.loc and video.plumi.loc). Refer to the
following manual (a little out-dated) and trunk. Also view INSTALL.txt under
plumi/docs when you bring down the software if using a newer version in case
dependencies have changed.

http://en.flossmanuals.net/plumi/ch025_installation/

http://dev.plone.org/collective/changeset/239004/plumi.app/trunk/docs/INSTALL.txt

0) set up zope user:

sudo adduser zope

sudo vi /etc/sudoers (add zope)

sudo vi /etc/hosts (make sure the domains are in here: plumi.loc,
video.plumi.loc)

sudo apt-get update (we do this only because we restore from an older image)



Make sure your local hosts file: Windows/System32/drivers/etc/hosts is
updated with the 3 domains and correct IP addresses such as:

xxx.xx.xx.xxx plumi.loc
xxx.xx.xx.xxx video.plumi.loc





1) sudo zope. As user zope in /home/zope:


install gcc/g++ dev tools and yasm
    e.g. sudo apt-get install build-essential yasm

install subversion
    e.g. sudo apt-get install subversion

install python2.6 and header files
    e.g. sudo apt-get install python2.6-dev

install libjpeg and zlib header files (Ubuntu 10.x)
    e.g. sudo apt-get install libjpeg62-dev zlib1g-dev

install groff-base (part of instructions but looks like it is already
installed)
    e.g. sudo apt-get install groff-base

install libxslt header files
    e.g sudo apt-get install libxslt1-dev

2) get version of plumi:
su zope
cd /home/zope

svn co 
https://svn.plone.org/svn/collective/plumi.app/tags/4.2.1/home/zope/plumi-euclid


3) Adjust site.cfg (devel install)

vi site.cfg and adjust the line for linux32 (if on 64 bit), admin and
supervisor passwords and www-server-name and videoserver-name:


arch = linux64
user = admin:xxxx
supervisor-pass = xxxx
transcode-host = vidoe.plumi.loc

transcode-user = zope

www-user = www-data

www-address = 80

www-server-name = plumi.loc
www-videoserver-name = video.plumi.loc

Verify zope is the owner and group for all files.


4) Run bootstrap for devel:
python2.6 bootstrap.py -c devel.cfg -v 1.4.3

python2.6 bootstrap.py -c production.cfg -v 1.4.3 --distribute (for
production run)

5) Run buildout for devel:
./bin/buildout -c devel.cfg

sudo ./bin/buildout -vN -c production.cfg (for production run)



This takes over an hour!

6) start supervisor

./bin/supervisord



7) Check if zeo and transcode daemon running and adjust owner for transcoded
directory ( the default user daemon was giving us issues)

./bin/supervisorctl status



cd /home/zope/plumi-euclid

sudo chown -R zope:zope transcoded



8) start instance

./bin/instance-debug fg

or ./bin/instance-debug start

 9) Configure site:

Log into site via http://plumi.loc as admin

Go to site setup - transcode settings and set daemon address to:
http://video.plumi.loc

Adjust logo by going to site setup -> zope management interface. Select
portal-skins -> plumi_skin_custom_images -> log.gif. Press customize and
select your logo.


On Sun, Sep 4, 2011 at 5:36 AM, Eric Jarvies <[email protected]> wrote:

> Hello,
>
> I've tried to install Plumi a number of times, a number of ways, none of
> which have yielded any successful result.
>
>
> *On a stock stock Ubuntu 10.04, 10.10, 11.04 installation +:*
>  *# **sudo /usr/sbin/locale-gen en_US.UTF-8*
> *# **sudo /usr/sbin/update-locale LANG=en_US.UTF-8*
> *# **update*
> *# **sudo aptitude safe-upgrade*
> *# **sudo aptitude install build-essential*
>
> *Using Plumi installation instructions*:
>  *Create Host Names*
> *transcode.domainName.com <http://transcode.domainname.com/>*
> *domainName.com <http://domainname.com/>*
> *
> *
> *# **install python-setuptools yasm subversion python2.6-dev*
> *# **install python-setuptools yasm subversion python2.6-devinstall
> libjpeg62-dev zlib1g-dev groff-base build-essential*
> *# **install libssl-dev python-profiler libjpeg62-dev*
> *# **install libreadline5-dev libxml2-dev*
> *# **mkdir /opt/plumi*
> *
> *
> *Using any of the options below:*
> *Option A(trunk):*
> *# **mkdir /opt/plumi/trunk*
> *# **cd /opt/plumi/trunk*
> *# **svn co https://svn.plone.org/svn/collective/plumi.app/trunk/*
> *
> *
> *Option B(stable):*
> *# **mkdir /opt/plumi/tag_name*
> *# **cd /opt/plumi/tag_name*
> *# **svn co https://svn.plone.org/svn/collective/plumi.app/tags/Tag_Name *
> *
> *
> *Option C(download zip):*
> *# **install zip*
> *# **mkdir /opt/plumi/4.1-RC1*
> *# **wget
> http://plone.org/products/plumi/releases/4.1-RC1/plumi.app-4.1rc1.zip*
> *# **unzip plumi.app-4.1rc1.zip*
> *# **cd 4.1-RC1*
> *
> *
> *Making basic edits such as:*
>
> *# **sudo nano site.cfg*
> *1. secret: a shared secret key for encrypted communication between Plumi
> and transcodedaemon. Just enter a random string of 4, 8, 16 or 32
> characters.*
> *2. www-server-name: the hostname of your Plumi site (e.g.
> www.engagemedia.org)*
> *3. www-videoserver-name: the hostname of your transcoder & video server
> (e.g. videos.engagemedia.org)*
> *4. portal-id = MyName*
> *5. Change Plone/Plumi Administrator & Supervisor Administrator passwords*
> *
> *
> *# **python2.6 bootstrap.py -c production.cfg -v 1.4.3*
> *# **sudo ./bin/buildout -c production.cfg*
> *# **sudo ./bin/supervisord*
> *# **sudo ./bin/supervisorctl status*
>
> ========REPEATED FAILURE=========
>
>
> I've tried both Developer and Production builds, and have tried a few
> different Plumi versions.
>
> Any advice would be welcomed :-)
>
>
>
>
> _______________________________________________
> Discuss mailing list
> [email protected]
> http://lists.plumi.org/listinfo/discuss
>
>
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to