Skip to content

Instantly share code, notes, and snippets.

@dvdantunes
Last active November 6, 2019 19:27
Show Gist options
  • Select an option

  • Save dvdantunes/86ac2d5244627d19b13978cb65f96b2f to your computer and use it in GitHub Desktop.

Select an option

Save dvdantunes/86ac2d5244627d19b13978cb65f96b2f to your computer and use it in GitHub Desktop.

Revisions

  1. dvdantunes renamed this gist Nov 6, 2019. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion postgresql-install.sh → postgresql.sh
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,18 @@
    # #postgresql, #bash, #fedora29

    # Install
    sudo dnf install https://download.postgresql.org/pub/repos/yum/10/fedora/fedora-29-x86_64/pgdg-fedora10-10-4.noarch.rpm
    sudo dnf install postgresql10
    sudo dnf install postgresql10-server

    # pgadmin
    # @see https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html
    sudo dnf install pgadmin4
    sudo sh /usr/pgadmin4/bin/pgadmin4-web-setup.sh
    sudo dnf install pgadmin4-desktop-gnome
    sudo dnf install pgadmin4-desktop-gnome

    # docs
    https://www.postgresql.org/docs/9.6/app-pgdump.html

    # plsql cheatsheet
    https://gist.github.com/Kartones/dd3ff5ec5ea238d4c546
  2. dvdantunes revised this gist Dec 26, 2018. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion postgresql-install.sh
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,8 @@
    sudo dnf install https://download.postgresql.org/pub/repos/yum/10/fedora/fedora-29-x86_64/pgdg-fedora10-10-4.noarch.rpm
    sudo dnf install postgresql10
    sudo dnf install postgresql10-server
    sudo dnf install pgadmin4

    # @see https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html
    sudo dnf install pgadmin4
    sudo sh /usr/pgadmin4/bin/pgadmin4-web-setup.sh
    sudo dnf install pgadmin4-desktop-gnome
  3. dvdantunes created this gist Dec 25, 2018.
    6 changes: 6 additions & 0 deletions postgresql-install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # #postgresql, #bash, #fedora29

    sudo dnf install https://download.postgresql.org/pub/repos/yum/10/fedora/fedora-29-x86_64/pgdg-fedora10-10-4.noarch.rpm
    sudo dnf install postgresql10
    sudo dnf install postgresql10-server
    sudo dnf install pgadmin4