By default, you can like a page in Confluence. You can see how that works in our Video #6 of the "Learn Atlassian Confluence" video tutorial series.
It's also possible to disable that feature, which must have happened in your case. This can be done by users with administrative privileges. Here is the corresponding information by Atlassian about that subject.