|Version 3 (modified by datakid, 9 years ago) (diff)|
This HowTo? explains how to install the Plumi from the svn trunk.
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
- 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
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 plumi trunk from svn:
cd /opt sudo svn co https://svn.plone.org/svn/collective/Plumi/trunk/plumi-trunk
This creates a folder called plumi-trunk which contains all the extra Products you need.
- Edit the configs to notice the Plumi products. The two files are:
Add the following line under the products section:
- 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 yr 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.
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-trunk/indytube/INSTALL.plone
If you have any problems, see /opt/plumi-trunk/INSTALL.txt