Changes between Version 11 and Version 12 of InstallFromSource


Ignore:
Timestamp:
Dec 30, 2015 6:33:24 AM (21 months ago)
Author:
pbaumann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallFromSource

    v11 v12  
    8383sudo adduser $USER tomcat7
    8484}}}
    85 1. Add user in postgres:
     851. If PostgreSQL support is needed (see [wiki:RasdamanStorageBackend options]): Add user in postgres:
    8686{{{
    8787#!sh
    8888sudo -u postgres createuser -s $USER
    8989}}}
    90 1. Increase the maximum heap space for Tomcat (>=1GB). Usually this can be done by setting `-Xmx1024m` in JAVA_OPTS in `/etc/default/tomcat7` and then restarting tomcat with `sudo service tomcat7 restart`.
     901. If Tomcat is used: Increase the maximum heap space for Tomcat (>=1GB). Usually this can be done by setting `-Xmx1024m` in JAVA_OPTS in `/etc/default/tomcat7` and then restarting tomcat with `sudo service tomcat7 restart`.
    9191
    9292== Getting the Source ==
     
    214214To implement the geo semantics, petascope uses a relational database for the geo-related metadata. Currently, only PostgreSQL is supported; for the future, support of SQLite is planned (in parallel to the rasdaman array engine). This is how to set up PostgreSQL for use by petascope:
    215215
    216 1. Prepare postgres:
    217 {{{
    218 #!sh
    219 # if postgres has not been initialized yet:
    220 sudo service postgresql initdb
    221 
    222 # you may need to allow trust-based access in PostgreSQL
    223 # NOTE: On Debian 8 this file is in /etc/postgresql/9.4/main/pg_hba.conf
    224 #       On CentOS 7 this file can be found in /var/lib/pgsql/data/pg_hba.conf
    225 editor /etc/postgresql/9.4/main/pg_hba.conf
    226 
    227 # add the below to the `pg_hba.conf` PostgreSQL configuration file (before the ident lines):
    228 
    229 #------------------------------------------------------------
    230 # "local" is for Unix domain socket connections only
    231 local   all         all                               trust
    232 # IPv4 local connections:
    233 host    all         all         127.0.0.1/32          trust
    234 # IPv6 local connections:
    235 host    all         all         ::1/128               trust
    236 #------------------------------------------------------------
    237 
    238 # reload PostgreSQL so that the new configuration will take effect
    239 sudo service postgresql reload
    240 }}}
     2161. [wiki:rasdamanStoragePostgreSQL Prepare PostgreSQL for use with rasdaman]
     217
    2412181. Add a user to PostgreSQL for petascope:
    242219{{{