2006-01-13

Plone on Ubuntu/Debain chroot

sudo apt-get install debootstrap
sudo debootstrap --verbose sarge /chroot_myplone http://debian.csie.ntu.edu.tw/debian/
sudo chroot /chroot_myplone

su -
apt-setup
apt-get install wget python2.3 make python2.3-dev gcc libc-dev

adduser myzope
su - myzope

wget http://www.zope.org/Products/Zope/2.8.2/Zope-2.8.2-final.tar.gz
wget http://nchc.dl.sourceforge.net/sourceforge/plone/Plone-2.1.1.tar.gz
tar xvzf Zope-2.8.2-final.tar.gz
tar xvzf Plone-2.1.1.tar.gz
rm -rf Zope-2.8.2-final/lib/python/Products/BTreeFolder2
mv Plone-2.1.1/* Zope-2.8.2-final/lib/python/Products

cd Zope-2.8.2-final
./configure --prefix=/home/myzope/zope282
make
make install

cd /home/myzope/zope282/
bin/mkzopeinstance.py
# bin/mkzopeinstance.py -d /home/myzope/instances/i1
# bin/mkzopeinstance.py -d /home/myzope/instances/i1 -u admin1:admin1

cd /home/myzope/instances/i1/
bin/runzope

# http://127.0.0.1:8080/manage

Reference: Plone from Scratch -- by Marr
http://mozo.objectis.net/Members/marr/plone-from-scratch

No comments: