v- command not found
v- command not found
Hello all I have vestacp installed on my ubuntu 18.04 bionic beaver.
I can use the control panel but want to start using CLI command line to create new sites and databases.
After I access my server through ssh and try any command starting with v- or sudo v- I get the following error command not found.
v-list-dns-domain: command not found
any help would be appreciated.
I can use the control panel but want to start using CLI command line to create new sites and databases.
After I access my server through ssh and try any command starting with v- or sudo v- I get the following error command not found.
v-list-dns-domain: command not found
any help would be appreciated.
Re: v- command not found
Normally this happens because the vesta path is not part of your servers exported PATH.
Try this:
export PATH=$PATH:/usr/local/vesta/bin/
:-)
Try this:
export PATH=$PATH:/usr/local/vesta/bin/
:-)
Re: v- command not found
The code works. But if you restart the server, it does not work anymore. :/
Code: Select all
export PATH=$PATH:/usr/local/vesta/bin/
Re: v- command not found
If you want that this left after reboot, then run this:edica wrote: ↑Fri May 03, 2019 5:09 pmThe code works. But if you restart the server, it does not work anymore. :/
Code: Select all
export PATH=$PATH:/usr/local/vesta/bin/
Code: Select all
echo 'PATH=$PATH:/usr/local/vesta/bin' >> /root/.bash_profile
Re: v- command not found
I was using "sudo su" command to log in as root. But it should be "sudo su -", so load the shell.