On Sep 4, 2011, at 5:08 AM, Anne Watelet wrote:

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/


This is the one I've been using.
And this one too :-)


0) set up zope user:

sudo adduser zope

sudo vi /etc/sudoers (add zope)



Like this?:
%zope    ALL=(ALL) ALL

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



Should I be using localhost, 127.0.0.1, or my private LAN IP, or my public IP?

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


I do not understand what you mean by "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


/etc/hosts on OS X

 
 

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

su 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


Is it important to install these packages using zope user?  I had already installed them using my user account before receiving this email, so i'll give it a try.

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

Checked out revision 244116



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


Ok.

Verify zope is the owner and group for all files.



ls -l /home/zope/plumi-euclid


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)

Ok


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

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


Ok

 

This takes over an hour!



Ok... its now running... will report my results in ~1 hour.  

Here is what Terminal is printing out right now:

Got zc.recipe.egg 1.2.2.
Installing 'plone.recipe.zeoserver'.
We have no distributions for plone.recipe.zeoserver that satisfies 'plone.recipe.zeoserver==1.2.0'.
Getting distribution for 'plone.recipe.zeoserver==1.2.0'.
Running easy_install:
/usr/bin/python2.6 "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/zope/plumi-euclid/eggs/tmpEp__6P" "-q" "/tmp/tmpwH_tXtget_dist/plone.recipe.zeoserver-1.2.0.zip"
path=/home/zope/plumi-euclid/eggs/distribute-0.6.21-py2.6.egg

Got plone.recipe.zeoserver 1.2.0.
Getting required 'ZopeUndo==2.12.0'
We have no distributions for ZopeUndo that satisfies 'ZopeUndo==2.12.0'.
Getting distribution for 'ZopeUndo==2.12.0'.
Running easy_install:
/usr/bin/python2.6 "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/zope/plumi-euclid/eggs/tmpefPtj8" "-q" "/tmp/tmpTQYZzIget_dist/ZopeUndo-2.12.0.zip"
path=/home/zope/plumi-euclid/eggs/distribute-0.6.21-py2.6.egg

Got ZopeUndo 2.12.0.
Getting required 'ZODB3==3.9.5'
We have no distributions for ZODB3 that satisfies 'ZODB3==3.9.5'.

...

src/AccessControl/cAccessControl.c:596: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:598: warning: ‘intargfunc’ is deprecated
src/AccessControl/cAccessControl.c:598: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:599: warning: ‘intargfunc’ is deprecated
src/AccessControl/cAccessControl.c:599: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:600: warning: ‘intintargfunc’ is deprecated
src/AccessControl/cAccessControl.c:600: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:601: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:602: warning: initialization from incompatible pointer type
src/AccessControl/cAccessControl.c:606: warning: ‘intargfunc’ is deprecated
src/AccessControl/cAccessControl.c:606: warning: initialization from incompatible pointer type
src/DocumentTemplate/cDocumentTemplate.c:169: warning: initialization from incompatible pointer type
src/DocumentTemplate/cDocumentTemplate.c:600: warning: initialization from incompatible pointer type

...

Got zope.security 3.7.4.
Getting required 'zope.schema==3.6.4'
We have the distribution that satisfies 'zope.schema==3.6.4'.
Getting required 'zope.publisher==3.8.0'
We have no distributions for zope.publisher that satisfies 'zope.publisher==3.8.0'.
Getting distribution for 'zope.publisher==3.8.0'.
Running easy_install:
/usr/bin/python2.6 "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/zope/plumi-euclid/eggs/tmpCWOyMH" "-q" "/tmp/tmpA0xZjpget_dist/zope.publisher-3.8.0.tar.gz"
path=/home/zope/plumi-euclid/eggs/distribute-0.6.21-py2.6.egg

Got zope.publisher 3.8.0.
Getting required 'zope.processlifetime==1.0'
We have no distributions for zope.processlifetime that satisfies 'zope.processlifetime==1.0'.
Getting distribution for 'zope.processlifetime==1.0'.
Running easy_install:
/usr/bin/python2.6 "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/zope/plumi-euclid/eggs/tmp5nDV5d" "-q" "/tmp/tmp7AIsy6get_dist/zope.processlifetime-1.0.tar.gz"
path=/home/zope/plumi-euclid/eggs/distribute-0.6.21-py2.6.egg

Got zope.processlifetime 1.0.
Getting required 'zope.pagetemplate==3.5.2'
We have no distributions for zope.pagetemplate that satisfies 'zope.pagetemplate==3.5.2'.
Getting distribution for 'zope.pagetemplate==3.5.2'.
Running easy_install:
/usr/bin/python2.6 "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/zope/plumi-euclid/eggs/tmpuQtetY" "-q" "/tmp/tmpiuziu1get_dist/zope.pagetemplate-3.5.2.tar.gz"
path=/home/zope/plumi-euclid/eggs/distribute-0.6.21-py2.6.egg

and so forth...


I will try the rest and see how it goes.  Thank you for sharing the information!




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

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

Option B(stable):
mkdir /opt/plumi/tag_name
cd /opt/plumi/tag_name

Option C(download zip):
install zip
mkdir /opt/plumi/4.1-RC1
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



_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to