PostgreSQL

PostgreSQL in Ubuntu...under construction ;)

# 1) Super user sudo su # 2) Looking for postgresql versions apt-cache search postgresql-9.* # 3) Installing on Ubuntu # 3.1) Create the file repository configuration: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' # 3.2) Import the repository signing key: wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - # 3.3) Update the package lists: sudo apt-get update # 3.4) Install the latest version of PostgreSQL.

Continue reading