How To Install Vesta Control Panel on Ubuntu 12.04 LTS

Published on February 4, 2014

Francois De Wet

How To Install Vesta Control Panel on Ubuntu 12.04 LTS

Warning: On April 8th, 2018, a vulnerability was discovered in VestaCP that allowed attackers to compromise host systems and send malicious traffic targeting other servers. As a result, DigitalOcean has disabled port 8083 and VestaCP has taken down installation files until the issue has been patched which will affect new and existing installations. To find out more about ongoing developments and learn how to mitigate this issue, read the Community question about this vulnerability.

Status: Deprecated

This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:

Reason: Ubuntu 12.04 reached end of life (EOL) on April 28, 2017 and no longer receives security patches or updates. This guide is no longer maintained.

See Instead: This guide might still be useful as a reference, but may not work on other Ubuntu releases. If available, we strongly recommend using a guide written for the version of Ubuntu you are using. You can use the search functionality at the top of the page to find a more recent version.


Vesta is an easy to use open source web hosting control panel that currently supports Ubuntu Linux (12.04 LTS, 13.04 and 13.10), Debian 7, CentOS (5 and 6), and RHEL (5 and 6). It packs a bunch of features by default to allow you to host and manage your websites with ease on your VPS.

1. Create and setup a droplet

Create and configure a new VPS.

Once you have your virtual server up and running, login via ssh with the user you created while configuring your droplet. If you decide to log in as root, you can leave out the “sudo” command in all of the following commands.

Seeing that we have a new VPS running, go ahead and refresh the package indexes:

sudo apt-get update

Now may also be a good time to upgrade any packages that might need it:

sudo apt-get dist-upgrade

2. Install Vesta

Next, we download the Vesta installation script:

curl -O http://vestacp.com/pub/vst-install.sh

After which we run this script:

sudo bash vst-install.sh

The install script shows us some information on the software that will be installed:

Press “y” and “enter” to proceed with the installation.

You will be prompted to enter a valid email address. Be careful to enter an address you have access to and double-check the address you entered for any typing errors, since you will not be prompted to confirm it. Vesta will use this address to try to send you your login credentials. Don’t worry if you have entered the address incorrectly. All the information you will need will be displayed in the terminal window after installation, and you will be able to change the admin email address as soon as Vesta is installed.

Upon completion, you will be presented with the following information:

Take note of the address, username, and password. You will need it to log in to the control panel.


If you gave the users sudo access, you might want to set that up again right now, since the Vesta installation overwrites the sudoers.tmp file to add some configurations. You can read about setting up sudo access in step four on the page.

If you don’t like the password that Vesta generated for you, you will be able to change it once you are logged in [or you can run the following command at any time]:

sudo /usr/local/vesta/bin/v-change-user-password admin NEW_PASSWORD

Just replace NEW_PASSWORD with the password you would like to use for the admin user. The above command is also handy to reset your password, should you ever lose it.

3. Log in to Vesta

Now that Vesta is installed, open your browser and go to the address that Vesta gave you in step two. If you didn’t take note of it, the address will be as follows:


Notice that the URL starts with https:// and not http://. This means that we are accessing Vesta over a secure connection. This secure (SSL) connection needs a certificate on the VPS to use for securing the data transport. Since we have not set up any certificates yet, an unsigned server generated certificate is used, which is why you will get a warning message from your browser similar to the one in the following screenshot:

Just press “Proceed anyway” or the equivalent in your browser, after which you will reach the login page. Login using your credentials that you obtained in step 2:

After logging in, you will be presented with the control panel where you can continue to configure users, web sites, DNS servers, databases, etc.

<div class=“author”>Submitted by: Francois De Wet</a></div>

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about our products

About the authors
Default avatar
Francois De Wet


Still looking for an answer?

Ask a questionSearch for more help

Was this helpful?

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Hi there, I am moving my website to DO with Vesta (nginx-apache) [$5/month account with 512 RAM and Ubuntu 16.04]. I installed Vesta, got its example.com greetings, then unzipped my WordPress files, created DB and imported my MySQL dump, edited wp-config.php. Now I see ERROR 500 in my browser when I type my domain name in the browser. .htaccess is WordPress standard or empty - it doesn’t affect. Any help? Thank you.

Here is a series of videos on youtube which show you how to set up and configure the Vesta control panel in a variety of different scenarios (including when you install it on a digital ocean droplet/ie DNS services provided by DO). Note that the process of properly configuring a domain has two separate videos, so watch both if you are confused:https://www.youtube.com/playlist?list=PLGRgrAAYBcFky5q6fabMbjYuobtnRBxoT

Spasibo ogromnoe sudo /usr/local/vesta/bin/v-change-user-password admin NEW_PASSWORD Смена пароля от администратора Vesta Ubuntu хостинг! Долго искал не подходило ничего!

I love VestaCP I have been using it for a while now and it hasn’t disappointed, great for a startup webhosting company, I suggest going to the vesta install page to generate the install command so you can add and remove the features that you want for your particular VestaCP installation, here is the guide that I followed after generating the command.

I was able to install Vesta on Ubunto 15.10, but you need to make a few changes, like adding some shell if clause, rename the folder, copy folder debian7, name it ubuntu15

If you like to know what i did exactly, let me know.

Thanks for this tutorial.

  1. how to protect ip/phpmyadmin using htaccess? (very impotent).

How to change the hostname on Vesta after the instalation?

I’ve installed everything, make the vaninty nameservers, evertything working pretty well, except the email. I’m able to recieve, but when i try to send and e-mail, the roundcube says it’s sent, but never arrives to recipe’s mailbox, any1 can help me?

I’m on a Ubuntu 14.04 box and evaluating Vesta Roundcube works but I’m unable to receive mail, I can however send mail. I have read the suggestion to use a working domain & droplet hostname but where should I place these values?

I notices that Vesta have two problems with mysql and phpmyadmin. Some time sql stop working and need to restart. Other can not access PhpMyadmin perfectly due to not have a default phpmyadmin table.

These are Two problems i have found, If anyone can help me.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Join the Tech Talk
Success! Thank you! Please check your email for further details.

Please complete your information!

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel