Hot answers tagged ubuntu
Though I have serious doubts in your description, let's first clean up some misconceptions. Oracle is what is called a Relational Database Management System or RDBMS (the company developing it is called Oracle For short, too). It is used – who would have guessed it – to store and retrieve data based on its relations. It requires an operating system to run. ...
I did the following. I wrote a script (testfile) as below and it worked. The big difference AFAICS is that with my script I export my variables before trying to use them. BTW, I wouldn't call it $USER - I'd go with $MY_USER - there's already a Linux system variable called $USER. I also didn't have these lines #!/usr/bin/env bash # ... I just chmod'ed the ...
Here you are a few steps: Install postgreSQL 9.x from packages; Configure ubuntugis repository from here; Add the following lines to /etc/apt/source.list with your ubuntu version: deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu YOUR_UBUNTU_VERSION_HERE main deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu ...
Not an elegant solution but after installing the package using apt-get (which fails creating the cluster but installs PostgreSQL), I switched to the postgres user and created the database using initdb. Then back to root, I created the cluster using the pg_createcluster command. This moved the configurations to /etc/postgres/9.4/main and set it all up.
Only top voted, non community-wiki answers of a minimum length are eligible