Normally this happens because the vesta path is not part of your servers exported PATH.
If you want that this left after reboot, then run this:
echo 'PATH=$PATH:/usr/local/vesta/bin' >> /root/.bash_profile
I was using “sudo su” command to log in as root. But it should be “sudo su -“, so load the shell.