Can I install discourse on this unmanaged vps? If yes how to?

It sounds like your don’t have a full vm (but maybe you just failed to become root). So you’ll need to get a different product from them or use something like digital ocean.