Changes between Version 68 and Version 69 of BluePrint/TextSearch


Ignore:
Timestamp:
06/14/13 17:01:02 (12 years ago)
Author:
Vishrut Mehta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/TextSearch

    v68 v69  
    291291[[BR]]
    292292http://oak.cs.ucla.edu/cs144/projects/lucene/
     293
     294== Pylucene ==
     295
     296=== Installation on Debian/Ubuntu ===
     297
     298* Prerequisites:
     299[[BR]]
     300Java JDK ( OpenJDK or Oracle version-Sun )[[BR]]
     301Apache Ant[[BR]]
     302JCC[[BR]]
     303
     304* For Java JDK:
     305
     306Edit /etc/apt/sources.list, add the following line:[[BR]]
     307
     308deb http://ftp2.de.debian.org/debian squeeze main non-free[[BR]]
     309
     310'''Update'''[[BR]]
     311$ sudo apt-get update[[BR]]
     312
     313'''Check for available Sun Java Packages:'''[[BR]]
     314
     315$ sudo apt-cache search sun-java6[[BR]]
     316
     317'''Output:'''[[BR]]
     318sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)[[BR]]
     319sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples[[BR]]
     320sun-java6-doc - Sun JDK(TM) Documention -- integration installer[[BR]]
     321sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)[[BR]]
     322sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby[[BR]]
     323sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6[[BR]]
     324sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)[[BR]]
     325sun-java6-plugin - The Java(TM) Plug-in, Java SE 6[[BR]]
     326sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files[[BR]]
     327
     328Now '''Install''':[[BR]]
     329$ sudo apt-get install sun-java6-bin sun-java6-javadb sun-java6-jdk sun-java6-plugin[[BR]]
     330
     331In order to accept the License Agreement, navigate to the Accept field with TAB.[[BR]]
     332
     333'''Make Sun Java the Java runtime of your choice:'''[[BR]]
     334$ update-java-alternatives -s java-6-sun[[BR]]
     335
     336'''Check, if Java could be properly installed:'''[[BR]]
     337$ java -version[[BR]]
     338[[BR]]
     339java version "1.6.0_22"[[BR]]
     340Java(TM) SE Runtime Environment (build 1.6.0_22-b04)[[BR]]
     341Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)[[BR]]
     342
     343'''Set Environment Variable $JAVA_HOME'''[[BR]]
     344[[BR]]
     345Edit file /etc/profile, add:[[BR]]
     346$ JAVA_HOME="/usr/lib/jvm/java-6-sun"[[BR]]
     347$ export JAVA_HOME[[BR]]
     348
     349'''DONE :)'''
     350
     351
     352
    293353----
    294354BluePrint