| Version 7 (modified by andycat, 5 years ago) (diff) |
|---|
This document explains how to install the Plumi from subversion, code versioning management software.
Steps 1-4 explain how to install plone-2.5.5. If you already know this or already have it installed skip to step 5.
- Grab the Plone 2.5.5 Unified Installer from here
wget https://launchpad.net/plone/2.5/2.5.5/+download/Plone-2.5.5-UnifiedInstaller.tgz
- Unzip etc:
tar zxvf Plone-2.5.5-UnifiedInstaller.tgz
This gives us a copy of a folder called Plone-2.5.5-UnifiedInstaller?.
sudo mv Plone-2.5.5-UnifiedInstaller /opt/
- Apply the patch found here. This may be not required any more! Need to check''
ie, edit /opt/Plone-2.5.5-UnifiedInstaller?/install.sh by adding this:
echo "patching PIL to disable TK support ..."
# patch to disable TK support in PIL
cat >> setup.py.patch << _PIL_PATCH
--- setup.py 2005-03-23 10:16:40.000000000 -0800
+++ setup.py.modified 2006-11-13 13:27:00.000000000 -0800
@@ -83,6 +83,7 @@
import _tkinter
except ImportError:
_tkinter = None
+_tkinter = None
def add_directory(path, dir, where=None):
_PIL_PATCH
patch setup.py < setup.py.patch
at line 456 with your favourite text editor (vim/pico/nano/gedit/etc). It should look like this:
455 cd $PIL_DIR 456 echo "patching PIL to disable TK support ..." 457 # patch to disable TK support in PIL 458 cat >> setup.py.patch << _PIL_PATCH 459 --- setup.py 2005-03-23 10:16: 40.000000000 -0800 460 +++ setup.py.modified 2006-11-13 13:27:00.000000000 -0800 461 @@ -83,6 +83,7 @@ 462 import _tkinter 463 except ImportError: 464 _tkinter = None 465 +_tkinter = None 466 467 def add_directory(path, dir, where=None): 468 _PIL_PATCH 469 patch setup.py < setup.py.patch 470 $PY ./setup.py build_ext -i
- Install Plone-2.5.5:
cd Plone-2.5.5-UnifiedInstaller sudo ./install.sh
Either remember or take note of the admin password. Or, preferably, notice that there is a file called /opt/Plone-2.5.5/adminPassword.txt that has this info in it.
- Grab the latest plumi 0.2.2-rc5 tag from svn:
cd /opt sudo svn co https://svn.plone.org/svn/collective/Plumi/tags/plumi-0.2.2-rc5 plumi-0.2.2-rc5
This creates a folder called plumi-0.2.2-rc5 which contains all the extra Products you need.
You could use https://svn.plone.org/svn/collective/Plumi/branches/plumi-0.2.x as the argument to "svn co" if you wanted to do development on that plumi 0.2.x release branch. see here : http://dev.plone.org/collective/browser/Plumi/branches/
Also, you can check for the latest tags to use from the plumi 0.2.x series here: http://dev.plone.org/collective/browser/Plumi/tags/
The actual trunk of Plumi ( https://svn.plone.org/svn/collective/Plumi/trunk) is currently (Nov/2008) only for development of plumi 0.3 and requires Plone 3.x
- Edit the configs to notice the Plumi products. The two files are:
/opt/Plone-2.5.5/zeocluster/client1/etc/zope.conf
/opt/Plone-2.5.5/zeocluster/client2/etc/zope.conf
Add the following line under the products section:
products /opt/plumi-0.2.2-rc5
- Install the python egg imsvdex
sudo /opt/Plone-2.5.5/Python-2.4.4/bin/easy_install imsvdex
- Start the Zope/Plone? server:
sudo /opt/Plone-2.5.5/zeocluster/bin/startcluster.sh
- Grab yr browser, go to what is known as the ZMI (or here, they point to the same place). You will need to enter the admin/password combo from step 4 at this point.
In the top right corner you will see the Add Products drop down menu. Choose "Plone Site", and fill out the form. Whatever you put into the ID field will be the URL of your site. Eg: http://localhost:8080/the_id_field
- Goto your new Plone site and in the top right you will see Preferences. Click that, then choose Add/Remove? Products from the top of the left column.
You should only need to install 'ATVideo', 'PlumiSkin?', 'PressRoom?' - all the rest of the products will be pulled in by the installers of those three products.
Now you have a video sharing site!
By default there is a user called Plumi with a random password. You should change this in User and Group Administration. Also, the zope admin user (under whose name you added the plumi products) cannot post vids - as they are not a user of the plone site.
To configure transcoding, see /opt/plumi-0.2.2-rc5/indytube/INSTALL.plone
If you have any problems, see /opt/plumi-0.2.2-rc5/INSTALL.txt
