DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

SonarQube and Postgresql on Linux


Authentication

$POSTGRESQL_HOME/data/pg_hba.conf

  • Modify "local all all peer" to "local all all trust" to enable "sonar" login in with "psql -U sonar".

  • Modify "host all all 127.0.0.1/32 ident" to "host all all 127.0.0.1/32 trust" to enable SonarQube communicate with Postgresql database; or define a access rule in "pg_ident.conf".

  • If you can connect to SonarQube server only on localhost, try shutdown firewall: "service iptables stop" or open the port following Configure Firewalls on Linux .

  • List all projects in Postgresql database:

    $ psql -U sonar select * from projects;



Published

Dec 23, 2013

Last Updated

Dec 23, 2013

Category

Tech

Tags

  • linux 158
  • postgresql 7
  • sonar 17

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor