INSTALL 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. INSTALLATION
  2. On Debian Lenny
  3. Base install
  4. apt-get install php5-xapian
  5. (you need version 1.x of Xapian here - check xapian.org for older Deb/Ub)
  6. two bugs:
  7. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493944
  8. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493941
  9. on dokeos root:
  10. mkdir searchdb
  11. chmod 777 searchdb (or equivalent)
  12. Useful xapian development tools
  13. apt-get install xapian-doc xapian-tools
  14. (See delve command)
  15. On Ubuntu 8.10
  16. Chamilo 1.8.8 + XAPIAN in Ubuntu 10.10
  17. 1. Activate the search module setting in main/admin/settings.php?category=Search
  18. 2. Go to main/admin/specific_fields.php and Specific fields (Those are text fields that will be add in documents, exercises, links in order to index data)
  19. i.e i.e. Author, Body part, Technology, Topic
  20. 3. Go to main/admin/settings.php?category=Search and set a Specific field by default
  21. 4. Install the Xapian module for PHP5
  22. sudo apt-get install php5-xapian
  23. 5. Install the imagemagick modules
  24. sudo apt-get install imagemagick
  25. sudo apt-get install php5-imagick
  26. 6. In Chamilo root
  27. mkdir searchdb
  28. sudo chmod 777 searchdb
  29. 7. Useful Xapian development tools
  30. sudo apt-get install xapian-doc xapian-tools
  31. 8. Restart Apache
  32. 9. Create a course and 2 *new* Learning paths for testing
  33. 10.Edit the LPs created and add/edit the specific fields (i.e. Author, Body part, Technology, Topic)
  34. 11.Go to the