How To Install the Vesta Control Panel on Ubuntu 18.04

The Vesta Control Panel is a light control panel made with an emphasis on speed. It offers a variety of features including the ability to manager your server from a built in command line interface, Softaculous support, a slick interface to manage everything from Users to Cron Jobs. This article will walk you through installing and configuring Vesta on Ubuntu 18.04 as well as securing the installation with a security certificate from Let’s Encrypt.

  1. Download VestaCP

        $ sudo wget https://vestacp.com/pub/vst-install.sh
  1. Install VestaCP

$  sudo bash vst-install.sh --force
  1. Type ‘y’ to Continue Through the Script

    How To Install the Vesta Control Panel on Ubuntu 18.04

  2. Enter An Admin Email Address

    How To Install the Vesta Control Panel on Ubuntu 18.04

  3. Enter the Domain Name You Would Like to Use With VestaCP

    How To Install the Vesta Control Panel on Ubuntu 18.04

  4. The Install Script Will Now Run.

It could take up to 15 minutes. You should see a message indicating the install was successful and give you your admin password.

How To Install the Vesta Control Panel on Ubuntu 18.04

Now you can login but you’ll notice you will get a security warning from your browser upon pulling up the login page. We’re going to solve this by installing a security certificate from Let’s Encrypt. These certificates expire every 90 days but they’re free and it is easy to do.

  1. Login to VestaCP and Enable SSL and Lets Encrypt Support to Setup The Security Certificates

Click “Web” and then click “Edit” next to your domain and check the “SSL Support” and “Lets Encrypt Support” Checkboxes. Click “Save” at the bottom after this.

How To Install the Vesta Control Panel on Ubuntu 18.04

  1. Symlink the New Security Certificates With the Ones Vesta Uses.

Vesta doesn’t place the keys it just created for the domain in the same place as the keys that Vesta itself uses. Rename the certificate files that Vesta uses.

$ sudo mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/oldcertificate.crt
$ sudo mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/oldcertificate.key

Create symlinks to point to the newly created certs.

$ sudo ln -s /home/vestaadminusername/conf/web/ssl.DOMAINNAME.com.crt /usr/local/vesta/ssl/certificate.crt

$ sudo ln -s /home/vestaadminusername/conf/web/ssl.DOMAINNAME.com.key /usr/local/vesta/ssl/certificate.key
  1. Restart Vesta

$ sudo systemctl restart vesta

Now open a browser window and go to the Vesta control panel login screen on port 8083. You will see you have a valid security certificate and https is enabled. Now remember the certificate is only valid for 90 days so you may want to setup a cron job to renew it automatically. Luckily the Vesta control panel makes this easy!

How To Install the Vesta Control Panel on Ubuntu 18.04

Check out these top 3 cPanel hosting services:

Was this article helpful?