VestaCP

VestaCP is an open core Web hosting control similar to cPanel. I use it to host several websites on Vultr, mostly from the command line. The server actually runs CentOS 7.

Installing VestaCP gives access to new commands just for managing the system and VestaCP itself from the command line. I found, however, that the commands are not in my PATH, which means having to type absolute paths when using the commands.

The commands, all 371 of them, are in the /usr/local/vesta/bin directory. While attempting to add that directory to my PATH, I found that the directive to accomplish that was already specified in root’s bash_profile file. So why do I always get a “command not found” error when I try to execute the commands using their relative paths?

Related Post:  Dual-booting Linux Mint 10 KDE and Windows 7

The server has been running for about 2 years and it has been upgraded and rebooted more times than I can remember. On a whim, I decided to execute the command given below. It’s the command used to activate a change in the current shell environment without logging out:

# Activate existing changes in the file

source ~/.bash_profile

#

And that did the trick, because afterwards, I could execute the commands just by specifying their relative paths. I’m not sure why I had to go through this to get this done, but updating a system on which VestaCP is running has been known to mess a few things up. So if you find yourself in the same situation with VestaCP commands, try what I did. It might just be what the doctor ordered.

Related Post:  How to integrate Prey into the security posture of your Linux PC
VestaCP
VestaCP Web hosting control panel

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.