Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
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
make -j 4 2>&1 | tee MakeLog.txt
make install  2>&1 | tee MakeInstallLog.txt

 

 

Reference

 

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