Changes between Version 98 and Version 99 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 01/21/11 02:05:18 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v98 v99 37 37 * [wiki:InstallationGuidelinesPostgreSQL#AddGeometrycolumntogis_location] 38 38 == Java == 39 [http://docs.geoserver.org/stable/en/user/production/java.html Update]: As of version 2.0, a Java Runtime Environment (JRE) is sufficient to run GeoServer. GeoServer no longer requires a Java Development Kit (JDK). 40 41 Note: OpenJDK does not work optimally with GeoServer 42 43 {{{ 39 [http://docs.geoserver.org/stable/en/user/production/java.html Update]: As of version 2.0, a Java Runtime Environment (JRE) is sufficient to run GeoServer. GeoServer no longer requires a Java Development Kit (JDK). Also note, OpenJDK does not work optimally with GeoServer. 40 44 41 #for ubuntu 10.x 42 43 {{{ 45 44 vim /etc/apt/sources.list 46 45 #uncomment partner repository 47 46 sudo apt-get update 48 47 sudo apt-get install sun-java6-jre 49 }}} 50 48 49 sudo emacs /etc/environment 50 JAVA_HOME=/usr/lib/jvm/java-6-sun 51 export JAVA_HOME 52 }}} 53 54 or 55 56 #for debian 51 57 {{{ 52 58 vim /etc/apt/sources.list … … 61 67 export JAVA_HOME 62 68 }}} 69 63 70 or: 64 71 * [http://java.sun.com/javase/downloads/widget/jdk6.jsp Download the JDK] & install it: … … 72 79 }}} 73 80 74 Install the JAI extensions (improves performance for !GeoServer WMS): 81 Install the JAI extensions (improves performance for !GeoServer WMS, the downloads are listed [here https://jai.dev.java.net/binary-builds.html] 82 75 83 32-bit: 76 84 {{{ … … 99 107 rm jai_imageio-1_1-lib-linux-amd64-jdk.bin 100 108 }}} 109 110 If you installed JRE (sudo sh on Ubuntu) 111 {{{ 112 cd /usr/lib/jvm/java-6-sun/jre 113 wget http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jre.bin 114 sh jai-1_1_3-lib-linux-amd64-jre.bin 115 #accept licence and replace [yes] 116 rm jai-1_1_3-lib-linux-amd64-jre.bin 117 }}} 118 101 119 == Apache Tomcat == 102 120 [http://tomcat.apache.org Tomcat] is the recommended way to deploy Java applications