Migrating Postgres server from Windows to Linux
No, you cannot do that. The files in the data directory are not compatible across operating systems (or different architectures). 

You will need to use pg_dump and pg_restore