How to import an existing Plone-based site to a new Ubuntu server -


i new plone framework. need might seem quite simple need guidance.

i obtained files of existing plone-based site , want integrate new ubuntu computer. here file list.

  • buildout-cache
  • plone-docs
  • python-2.6
  • zinstance

and in zinstance directory have

  • adminpassword.txt
  • buildout.cfg
  • plonecontroller.app
  • var
  • base.cfg
  • develop.cfg
  • products
  • versions.cfg
  • bin
  • develop-eggs
  • readme.html
  • zope_versions.cg
  • bootstrap.py
  • parts
  • src

i ran

./bin/plonectl start

under site path, got improterror module _md5

importerror: no module named _md5

i have installed openssl according quick internet search don't know if that's problem or not.

what correct way import , publish plone site? thanks~

this issue more "how enable md5 module in python". after installing required os libs should re-compile python. using system's python works because packages management system takes care of in case, plone installation using local installation of python intepreter see in root directory tree (python-2.6). shortest way proceed download python , compile again. after this, should use new python interpreter run this:

$ /<whatever>/python -c "import md5" 

if returns nothing ready go this:

$ cd zinstance $ /<whatever>/python bootstrap.py -v 1.7.5 $ bin/buildout -nv 

edit: btw, before recompiling python intepreter should take chance install many other system dependencies may need:

sudo apt-get install build-essential libglib2.0-dev libssl-dev \ libxslt-dev libldap2-dev libsasl2-dev zlib1g-dev libjpeg62-dev \ libxml2-dev python-ldap python-dev python-tk python-lxml \ python-libxml2  wv poppler-utils xpdf libncurses5-dev libbz2-dev \ git liblcms1-dev libreadline-dev gettext 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -