Installation

Before we start we shall put all necessary components in place.

Server components:

  1. CentOS 6
  2. OGS

Desktop components:

  1. Eclipse IDE
  2. Eclipse plugins

Installation procedure

CensOS 6 setup

Add gcc support and kernel-devel and kernel-headers

yum -y install gcc kernel-devel kernel-headers binutils \
kernel-uek-devel-$(uname -r) \
kernel-uek-headers-$(uname -r)

Add htop utility to track CPU and RAM utilization

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm
yum -y install htop

VMware Tools installation

su -
mkdir /tmp/install
cd  /tmp/install
tar xzvf /media/VMware\ Tools/VMwareTools-9.0.5-1065307.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl

Java SDK

su -
yum -y install java-1.7.0-openjdk-devel.x86_64

OpenGeoSuite Installation

Instructions are provided at http://suite.opengeo.org/docs/latest/installation/redhat/install.html

su -
vi /etc/yum.repos.d/OpenGeo.repo

paste folloving and exit vi

[opengeo]
name=opengeo
baseurl=http://yum.opengeo.org/suite/v4/centos/6/x86_64
enabled=1
gpgcheck=0
su -
yum -y install opengeo
==============================================================================================
 Package Arch Version Repository Size
==============================================================================================
Installing:
 opengeo x86_64 4.1-1 opengeo 2.1 k
Installing for dependencies:
 axis noarch 1.2.1-7.3.el6_3 base 1.5 M
 bcel x86_64 5.2-7.2.el6 base 1.4 M
 bpg-algeti-fonts noarch 2.005-6.1.el6 base 33 k
 bpg-chveulebrivi-fonts noarch 3.002-6.1.el6 base 26 k
 bpg-courier-fonts noarch 4.002-6.1.el6 base 28 k
 bpg-courier-s-fonts noarch 4.000-6.1.el6 base 25 k
 bpg-elite-fonts noarch 3.000-6.1.el6 base 31 k
 bpg-fonts-common noarch 20090205-6.1.el6 base 1.9 M
 bpg-glaho-fonts noarch 9.000-6.1.el6 base 24 k
 bpg-ingiri-fonts noarch 4.000-6.1.el6 base 29 k
 bpg-nino-medium-cond-fonts noarch 4.005-6.1.el6 base 27 k
 bpg-nino-medium-fonts noarch 4.005-6.1.el6 base 27 k
 bpg-sans-fonts noarch 1.005-6.1.el6 base 38 k
 bpg-sans-medium-fonts noarch 1.005-6.1.el6 base 37 k
 bpg-sans-modern-fonts noarch 2.025-6.1.el6 base 30 k
 bpg-sans-regular-fonts noarch 1.005-6.1.el6 base 37 k
 bpg-serif-fonts noarch 1.005-6.1.el6 base 45 k
 bpg-serif-modern-fonts noarch 2.028-6.1.el6 base 40 k
 classpathx-jaf x86_64 1.0-15.4.el6 base 100 k
 classpathx-mail noarch 1.1.1-9.4.el6 base 479 k
 ecj x86_64 1:3.4.2-6.el6 base 2.8 M
 gdal x86_64 1.9.2-4.el6 opengeo 22 M
 geoexplorer x86_64 4.1-1 opengeo 8.0 M
 geos x86_64 3.4.1-1.el6 opengeo 4.4 M
 geoserver x86_64 2.5.1-1 opengeo 156 M
 geowebcache x86_64 1.5.0-2 opengeo 25 M
 jakarta-commons-collections noarch 3.2.1-3.4.el6 base 523 k
 jakarta-commons-daemon x86_64 1:1.0.1-8.9.el6 base 45 k
 jakarta-commons-dbcp noarch 1.2.1-13.8.el6 base 116 k
 jakarta-commons-discovery noarch 1:0.4-5.4.el6 base 73 k
 jakarta-commons-httpclient x86_64 1:3.1-0.7.el6_3 base 587 k
 jakarta-commons-logging noarch 1.0.4-10.el6 base 52 k
 jakarta-commons-pool x86_64 1.3-12.7.el6 base 122 k
 java-1.5.0-gcj x86_64 1.5.0.0-29.1.el6 base 139 k
 java_cup x86_64 1:0.10k-5.el6 base 197 k
 json-c x86_64 0.9-1.el6 opengeo 20 k
 libgcj x86_64 4.4.7-4.el6 base 19 M
 log4j x86_64 1.2.14-6.4.el6 base 679 k
 mx4j noarch 1:3.0.1-9.13.el6 base 1.1 M
 opengeo-client x86_64 4.1-1 opengeo 2.2 k
 opengeo-dashboard x86_64 4.1-1 opengeo 1.4 M
 opengeo-docs x86_64 4.1-1 opengeo 55 M
 opengeo-server x86_64 4.1-1 opengeo 2.8 k
 opengeo-tomcat x86_64 4.1-1.el6 opengeo 8.8 k
 pgadmin3 x86_64 1.18.1-1.el6 opengeo 3.5 M
 postgis21 x86_64 2.1.3-1 opengeo 2.2 M
 postgis21-postgresql93 x86_64 2.1.3-1 opengeo 3.9 M
 postgresql-libs x86_64 8.4.20-1.el6_5 updates 201 k
 postgresql93 x86_64 9.3.4-og1.el6 opengeo 1.7 M
 postgresql93-libs x86_64 9.3.4-og1.el6 opengeo 439 k
 postgresql93-server x86_64 9.3.4-og1.el6 opengeo 8.2 M
 proj x86_64 4.8.0-3.el6 opengeo 322 k
 regexp x86_64 1.5-4.4.el6 base 105 k
 sinjdoc x86_64 0.5-9.1.el6 base 705 k
 swig x86_64 1.3.40-6.el6 base 1.1 M
 tomcat6 noarch 6.0.24-64.el6_5 updates 90 k
 tomcat6-el-2.1-api noarch 6.0.24-64.el6_5 updates 46 k
 tomcat6-jsp-2.1-api noarch 6.0.24-64.el6_5 updates 83 k
 tomcat6-lib noarch 6.0.24-64.el6_5 updates 2.9 M
 tomcat6-servlet-2.5-api noarch 6.0.24-64.el6_5 updates 97 k
 wsdl4j noarch 1.5.2-7.8.el6 base 157 k
 wxBase x86_64 2.8.12-1.el6.centos extras 572 k
 wxGTK x86_64 2.8.12-1.el6.centos extras 2.9 M
 xml-commons-apis x86_64 1.3.04-3.6.el6 base 439 k
 xml-commons-resolver x86_64 1.1-4.18.el6 base 145 k

Transaction Summary
==============================================================================================
Install 66 Package(s)

Total download size: 332 M
Installed size: 689 M
service postgresql-9.3 initdb

Add OpenGeo WebApp SDK

su -
yum -y install opengeo-webapp-sdk</em>

Enable WPS services and JasperReport

wget http://ares.boundlessgeo.com/geoserver/2.5.x/ext-2014-06-27/geoserver-2.5-SNAPSHOT-wps-plugin.zip
unzip geoserver-2.5-SNAPSHOT-wps-plugin.zip
wget http://downloads.sourceforge.net/project/jasperreports/jasperreports/JasperReports%205.6.0/jasperreports-5.6.0.jar

Add tomcat manager tools http://suite.opengeo.org/opengeo-docs/webapps/remotedeploy.html

su -
yum -y install tomcat6-admin-webapps
vi /etc/tomcat6/tomcat-users.xml

paste lines below into tomcat-users.xml file to setup admin user:

<tomcat-users>
  <user username="manager" password="*****" roles="manager"/>
</tomcat-users>

restart Apache Tomcat and try out does it work:

su -
service tomcat6 restart

start browser and enter: http://localhost:8080/manager/html

 Eclipse IDE installation

Dovnload Eclipse IDE for Java EE Developers, Luna from
https://www.eclipse.org/downloads/?osType=linux

cd
wget https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-linux-gtk-x86_64.tar.gz&mirror_id=1188
cd eclipse
./eclipse

 

Eclipse IDE setup

  1. Install YASW library:
    1. Help>Install new software
    2. Enter link in Work With: http://sourceforge.net/projects/yasw-library/files/updatesite/
    3. Select YASW Library All Widgets
  2. Add Jaspersoft Studio 5.6.0
    1. Help>Eclipse Marketplace
    2. In Find enter:
      1. Jaspersoft Studio 5.6.0
      2. Install

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s