I have just installed PostGIS (Postgres9.6) on a Debian server using apt-get.
But I have problems doing anything:root> createuser me
createuser: could not connect to database postgres: FATAL: role "root" does not exist
root> createuser -U postgres me
createuser: could not connect to database postgres: FATAL: Peer authentication failed for user "postgres"