quinta-feira, 10 de maio de 2012

Dependências
# yum install cpp gcc gcc-c++ gcc libc-dev libc6-dev make openssl-devel

Instalar Plone 3.3.5
# tar xvzf ./Plone-3.3.5-UnifiedInstaller.tgz -C /tmp/

# mkdir /opt/pzp/
# /tmp/Plone-3.3.5-UnifiedInstaller/install.sh --libz=local --libjpeg=local --user=plone --target=/opt/pzp/plone335 --password=123456 --instance=modelo zeo

Instalar virtualenv
# cd /opt/pzp/plone335
# ./Python-2.4/bin/easy_install virtualenv

Instalar setuptools
# ./Python-2.4/bin/easy_install -U setuptools

Criar ambiente com virtualenv
# ./Python-2.4/bin/virtualenv --no-site-packages app/Intranet

Instalar PIL no ambiente virtualenv
# ./Python-2.4/bin/easy_install PIL
# ./app/Intranet/bin/easy_install PIL
# ./app/Intranet/bin/easy_install iniparse
# ./app/Intranet/bin/easy_install zc.buildout
# ./app/Intranet/bin/easy_install readline

Configurações finais
# cp -v modelo/*.{cfg,py} app/Intranet/
# mkdir ./app/Intranet/products

0 comentários: