Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JPalmerGithub/44e8924640134cbc0f520eb7f22d46ee to your computer and use it in GitHub Desktop.
Save JPalmerGithub/44e8924640134cbc0f520eb7f22d46ee to your computer and use it in GitHub Desktop.

Revisions

  1. @RawToast RawToast created this gist Nov 5, 2015.
    7 changes: 7 additions & 0 deletions Basic SonarQube Postgres Database Setup
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Simple SonarQube database and user creation for Postgresql
    #

    sudo -u postgres psql postgres
    CREATE DATABASE sonar;
    CREATE USER sonar WITH PASSWORD 'verysecret';
    GRANT ALL PRIVILEGES ON DATABASE sonar TO sonar;