Commits

Michael Giarlo  committed 81fcbea

updates to README for ubuntu 10.10

  • Participants
  • Parent commits 62308da

Comments (0)

Files changed (1)

     python ipython python-setuptools python-simplejson
     postgresql-8.3 postgresql-client-8.3 python-psycopg2
     sun-java6-jdk solr-tomcat5.5
-    libapache2-mod-wsgi 
+    libapache2-mod-wsgi python-django
 
 The solr-tomcat5.5 package might try to bring in openjdk.  That might
 work but I've only tested with sun-java6-jdk.  Use 
 update-java-alternatives to ensure the right jre is used.
 
+If running Ubuntu 10.10, some package names will need to be changed:
+
+    python ipython python-setuptools python-simplejson
+    postgresql-8.4 postgresql-client-8.4 python-psycopg2
+    sun-java6-jdk solr-tomcat libapache2-mod-wsgi python-django
+
 Set the default encoding of your python installation to 'utf8'.  I 
 don't know the 100% "right" way to do this these days, but in my
 ubuntu/osx python 2.5 and 2.6 setups, I end up putting something like
     import sys
     sys.setdefaultencoding('utf8')
 
-...into /usr/lib/python2.5/sitecustomize.py at the bottom.  You'll know
+...into /usr/lib/python2.5/sitecustomize.py at the bottom.  (The file you'll 
+want to edit on Ubuntu 10.10 is /etc/python2.6/sitecustomize.py.) You'll know
 it's right when you can do this and get 'utf8':
 
     % python
 
 Install non-.deb python dependencies:
 
-    from tarball:   Django 1.2.1
     w/easy_install: solrpy 0.9 (and iso8601, if import from zodb install)
                     rfc3339
 
 tomcat.  Because unalog has a different schema, we need to stop solr,
 remove the tiny index solr created at startup with the old schema, and
 restart tomcat.  Solr will then restart and create a new index based on
-our schema.
+our schema.  (NB: If on Ubuntu 10.10, replace tomcat5.5 with tomcat6.)
 
     % sudo /etc/init.d/tomcat5.5 stop
-    % sudo rmdir /var/lib/solr/data/index
+    % sudo rm -rf /var/lib/solr/data/index
     % sudo /etc/init.d/tomcat5.5 start
 
 Set up postgresql config.  Username below just a sample, pick your own.