Best regards,
Daniele
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Daniele,
Thanks for your kind advice.If the PostgreSQL is once set up by admin (or openquake is installed by admin), then any user can set up its own OQ by following the instruction?
pip install numpy decorator celery django scipy cython h5py psutil shapely mock concurrent futures
pip install nose
git clone https://github.com/gem/oq-engine.git
git clone https://github.com/gem/oq-hazardlib.git
git clone https://github.com/gem/oq-risklib.git
wget https://ftp.postgresql.org/pub/source/v9.4.5/postgresql-9.4.5.tar.gz
tar -xzf postgresql-9.4.5.tar.gz
cd post*
./configure --prefix=$HOME/local/postgres/ --with-python
make
make install
cd ~/local/src
git clone https://github.com/OSGeo/proj.4
cd proj.4
./autogen.sh
./configure --prefix=/home/scheingraber/local/proj4
make
make install
(gdal did not work for me now, so I used --without-raster below in postgis configure. Will that be a problem?)
wget http://download.osgeo.org/gdal/2.0.1/gdal-2.0.1.tar.gz
tar -xzf gdal*
cd gdal*
./configure --prefix=/home/scheingraber/local/gdal
make
make install
wget http://download.osgeo.org/postgis/source/postgis-2.2.0.tar.gz
tar -xzf postgis*
cd postgis*
./configure --prefix=/home/scheingraber/local/postgis/ --with-projdir=/home/scheingraber/local/proj4 --without-raster
make
make install
Hi Daniele,on our local linux server I can't get a system-wide database. The last couple of days I tried hard to go down the path of installing my own instance of PostgreSQL and PostGIS from source with user privileges only.
(gdal did not work for me now, so I used --without-raster below in postgis configure. Will that be a problem?)
- What about alternative solutions like using an LXC or a set of Docker containers?