I am following the instructions as directed at
https://github.com/H-uru/dirtsand/blob/master/README.md
Section 1 no issues
Section 2 very confusing as I am using Ubuntu 18.04 with postresql 10
So let us assume I have followed the instructions and installed the postgresql-contrib package with the command
Code: Select all
sudo apt-get install postgresql-contrib
so I now use
This enters postgresql command structure and changes my command prompt to
So now I can instruct the database with the following
Code: Select all
dirtsand=# CREATE EXTENSION "uuid-ossp";
That appears to work.
So I am now supposedly ready to move to section 3 and set up the dirtsand database but the next two instructions are shown with a bash prompt so now I do not know if these are postgresql instructions issued within postgresql or should I quit postgresql with /q an issue them as command line bash instructions if I do they don't appear to work as bash but now I do not know if this is because
a) They failed because should have been issued at the dirtsand=# prompt before I quit postgresql with the /q which I did because these commands look like they are bash prompt.
b) They failed because I typed them wrong.
c) They failed because should have been entered as sudo commands.
d) They failed because despite installing postgresql-contrib I should still have done something to add ossp to the postgresql installation other than the CREATE EXTENSION stuff. (Not shouty sql commands are in upper case lol)
e) They failed because none of the above and it is something else completely.
The nub of it is section 2 has far to much ambiguity. It contains an example that talks about Ubuntu 10.10 so that for an installation that is archival at best.
Here I am trying to install with Ubuntu 18.04. We probably need to lose that example and clarify instructions so we can say what commands we need to issue.
Plus some clarity so that the Noob like me can see when it is a command issued within postgresql and when its a command issued at a bash shell prompt.
As a suggestion lets say we are using Ubuntu as an install medium and we make the minimum requirement as version 18.04 with postgresql 10 and by default we add the postgresql-contrib component hey lets make that a pre requisite that we install back at the prerequisites before we even go through the process of building code.
How does that sound and how will that impact on what we need to do in section 2?
[edit]
I am doing a reworking of my notes as I realized your revised server setup instructions fitted in and around the normal guidence.
I am still trying to sort section 2 but realized part of my misunderstanding was a small precursor to building the code section.
I am still confused in section 3 partly because it shows a bash shell prompt $ but the psql looks like it belongs as part of postgresql.
Section 4 has the first block of the instructions making sense but the second block about generating RC4 keys currently has me lost.
[/edit]