2012年11月18日 星期日

Convirt 手動安裝

$ vi ./convirt-install/install/cms/common/functions
#easy_install pysqlite
easy_install mysql-python
插入
#easy_install pysqlite

pip install distribute --upgrade

easy_install mysql-python


f_names=`ls $VIRTUAL_ENV_DIR/lib/python2.4/site-packages/Beaker-*py2.4.egg/beaker/ext/google.py`
改成
f_names=`ls $VIRTUAL_ENV_DIR/lib/python2.7/site-packages/Beaker-*py2.7.egg/beaker/ext/google.py`



Debian 6.0.6、Python 2.7、Convirt 2.1
$ cd convirt
$ ./convirt-ctl start
$ cat paster.log
AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE'
$ ./convirt-ctl stop
$ cd tg2env/
$ source bin/activate
(tg2env)$ easy_install -U PEAK-Rules
(tg2env)$ easy_install -U DecoratorTools
(tg2env)$ deactivate



No module named xen.xend.XendClient

$ vi ~/convirt/src/convirt/web/convirt/convirt/core/platforms/xen/XenServerProxy.py
import sys
sys.path.append('/usr/lib/xen-4.0/lib/python')




Reference :
婉兮清扬 » ConVirt 2.0.1中文版
convirt安装指南 - 开源云 - 博客园

RuntimeWarning: Unable to load template engine entry point: 'json = turbojson.jsonsupport:JsonSupport' - Google 網上論壇
convirt安装指南 - 开源云 - 博客园

沒有留言:

張貼留言