|Version 2 (modified by datakid, 7 years ago) (diff)|
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.
- a. Grab the latest stable release from here:
unzip this somewhere recognisable:
sudo mv plumi-0-1-final-tar.bz2 /opt/ cd /opt sudo tar xvfj plumi-0-1-final-tar.bz2
- Edit the configs to notice the Plumi products. The two files are:
If you went the stable release, 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:
- 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.
You should only need to install 'ATVideo' and 'PlumiSkin?' - 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 password plumi123. You should change this. 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.1-final/indytube/INSTALL.plone
If you have any problems, see /opt/plumi-0.1-final/INSTALL.txt
Notes: This is known to not work with the plone available in the Ubuntu repositories - at the time of writing, that is plone-2.5.2-1