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

Yes You could install discourse to a2hosting if You try to but my experience trying out their services is that their systems go down very often and it takes them days to restore your service.