2009年1月4日

[project] django-lucene(2)


google了无数个关于在ubuntu8.10下安装libapache2-mod-python的问题,均没有解决

用sudo a2enmod python命令提示也找不到那个模块。

一气之下一用新利得彻底删除libapache2-mod-python后,重新安装,重启
终于成功!

2009年1月3日

[project] django-lucene(1)


$python manage.py search_initialize_db
*AttributeError: 'module' object has no attribute 'USStateField'

from django.contrib.localflavor.us.models import USStateField
[149]:USStateField

途中误删 /etc/apache2/文件夹
结果重新安装 apache2不能启动。
解决方法,彻底删除apache2.2-common以及相关包,再装,OK!

安装mod_python后重启apache2出现错误。貌似在ubuntu8.10下有点小问题。

暂时还未找到解决方法,明天继续。


2009年1月1日

[ubuntu] Install FreeMind in Ubuntu8.10


OS:ubuntu8.10

1.Add deb:

* Mark the following packages for installation (or make sure they are already installed):
  • sun-java6-jre.
  • javahelp2
  • freemind
2.Install freemind
  • $sudo apt-get update
  • $sudo apt-get install freemind

3.Edit ~/.bashrc
Add:
  • export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.10/
  • export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.10/
4.Run freemind
  • $freemind
*But the Chinese showed garbled,Then I find many method,but it didn't success.
At last I edit the profile of fonts in wqy-zenhei,the size is 14.the result is beautiful.