How to change my password for Linux virtual server (Centos, Ubuntu)?

Virtual server Windows/Linux