Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

Introduction

The only way to install Postgres without root privileges, in home directory, is to compile it from sources. That’s not very difficult.

Usage

 

Installation

mkdir -p /export/home/YOURSNUMBER/sw/PostgresSQL/src
cd /export/home/YOURSNUMBER/sw/PostgresSQL/src
wget https://github.com/postgres/postgres/archive/master.zip

module load gcc/6.3.0
module load library/zlib/1.2.11
module load python/3.6.1

unzip master.zip
cd /export/home/YOURSNUMBER/sw/PostgresSQL/src/postgres-master

./configure --prefix=/export/home/YOURSNUMBER/sw/PostgresSQL/ --with-python PYTHON=/sw/python/3.6.1/bin/python  2>&1 | tee ConfigureLog.txt



 

 

Reference

 

  1. http://blog.endpoint.com/2013/06/installing-postgresql-without-root.html
  • No labels