As a rule, you (male) shake hands of your male peers once a day, when you first see them.
Shaking hands upon leaving is optional, and it is done when you expect not to see the person till tomorrow.
Shaking hands with females feels awkward to Russians. You just greet them verbally.

Females usually greet each other only verbally too.
Among younger friends it may be accepted for girls to kiss each other on a cheek, and sometimes guys routinely kiss every girl on a cheek too.
But don't do this unless you are sure that such behaviour is expected.