## Sun JDK ## http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/ user@Karmic:~$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk user@Karmic:~$ sudo update-java-alternatives -s java-6-sun user@Karmic:~$ sudo gedit /etc/jvm # Added the line: /usr/lib/jvm/java-6-sun # Added the line: /usr/lib/jvm/java-gcj # Added the line: /usr/lib/jvm/ia32-java-1.5.0-sun # Added the line: /usr/lib/jvm/java-1.5.0-sun # Added the line: /usr user@Karmic:~$ sudo gedit /etc/environment # Added the line JAVA_HOME="/usr/lib/jvm/java-6-sun" # Added ":/usr/lib/jvm/java-6-sun" to the PATH variable ## Geoserver ## http://www.fernandoquadro.com.br/html/2009/05/14/instalando-o-geoserver-no-ubuntu/ user@Karmic:~$ sudo mkdir /usr/lib/Geoserver user@Karmic:~$ cd /usr/lib/Geoserver/ user@Karmic:/usr/lib/Geoserver$ wget http://downloads.sourceforge.net/geoserver/geoserver-2.0.1-bin.zip user@Karmic:/usr/lib/Geoserver$ sudo unzip geoserver-2.0.1-bin.zip user@Karmic:/usr/lib/Geoserver$ sudo mv geoserver-2.0.1 geoserver user@Karmic:/usr/lib/Geoserver$ sudo mv geoserver/data_dir . user@Karmic:~$ sudo nano /etc/init.d/geoserver # Added the file by Fernando Quadro user@Karmic:~$ sudo chmod +x /etc/init.d/geoserver user@Karmic:~$ sudo nano /etc/rc.local # Added the line "/etc/init.d/geoserver start &" before "exit 0" ## Imageio-ext ## http://docs.geoserver.org/stable/en/user/data/gdal.html user@Karmic:~$ cd /usr/lib/Geoserver/ user@Karmic:/usr/lib/Geoserver$ mkdir imageio-ext user@Karmic:/usr/lib/Geoserver$ cd imageio-ext user@Karmic:/usr/lib/Geoserver/imageio-ext$ wget https://imageio-ext.dev.java.net/files/documents/7505/144611/imageio-ext-1.0.5-linux32-mrsid-ecw-lib.tar.gz user@Karmic:/usr/lib/Geoserver/imageio-ext$ tar -xvvzf imageio-ext-1.0.5-linux32-mrsid-ecw-lib.tar.gz drwxr-xr-x root/root 0 2009-10-02 15:38 ./ lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSCnet.so -> libNCSCnet.so.0.0.0 -rwxr-xr-x root/root 75193 2009-10-02 15:19 ./libNCSEcwC.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSCnet.so.0 -> libNCSCnet.so.0.0.0 -rwxr-xr-x root/root 20579 2009-10-02 15:38 ./gdalinfo -rwxr-xr-x root/root 729131 2009-10-02 15:19 ./libNCSUtil.so.0.0.0 -rwxr-xr-x root/root 512276 2009-10-02 15:19 ./libNCSCnet.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:31 ./libgdal.so.1 -> libgdal.so.1.11.4 -rwxr-xr-x root/root 6560579 2009-10-02 15:19 ./libNCSEcw.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSUtil.so.0 -> libNCSUtil.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:31 ./libgdal.so -> libgdal.so.1.11.4 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSEcwC.so.0 -> libNCSEcwC.so.0.0.0 -rwxr-xr-x root/root 80987 2009-10-02 15:37 ./libosrjni.so lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSUtil.so -> libNCSUtil.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSEcw.so.0 -> libNCSEcw.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSEcw.so -> libNCSEcw.so.0.0.0 lrwxrwxrwx root/root 0 2009-10-02 15:19 ./libNCSEcwC.so -> libNCSEcwC.so.0.0.0 -rwxr-xr-x root/root 27533 2009-10-02 15:37 ./libgdalconstjni.so -rwxr-xr-x root/root 103757 2009-10-02 15:37 ./libgdaljni.so -rwxr-xr-x root/root 102113 2009-10-02 15:37 ./libogrjni.so -rwxr-xr-x root/root 7450080 2009-10-02 15:31 ./libgdal.so.1.11.4 user@Karmic:/usr/lib/Geoserver/imageio-ext$ sudo nano /etc/ld.so.conf.d/imageio-ext.conf [added the line '/usr/lib/Geoserver/imageio-ext' to this file] user@Karmic:/usr/lib/Geoserver/imageio-ext$ cd .. user@Karmic:/usr/lib/Geoserver$ mkdir gdal_data user@Karmic:/usr/lib/Geoserver$ cd gdal_data user@Karmic:/usr/lib/Geoserver/gdal_data$ wget https://imageio-ext.dev.java.net/files/documents/7505/133661/gdal_data-1.4.4.zip user@Karmic:/usr/lib/Geoserver/gdal_data$ unzip gdal_data-1.4.4.zip Archive: gdal_data-1.4.4.zip inflating: cubewerx_extra.wkt inflating: ecw_cs.dat inflating: ellipsoid.csv inflating: epsg.wkt inflating: esri_extra.wkt inflating: gcs.csv inflating: gdal_datum.csv inflating: pcs.csv inflating: prime_meridian.csv inflating: projop_wparm.csv inflating: stateplane.csv inflating: unit_of_measure.csv user@Karmic:/usr/lib/Geoserver/gdal_data$ sudo pico /etc/environment [added the line 'GDAL_DATA="/usr/lib/Geoserver/gdal_data"' to this file]