Installing Vesta on the DV Developer

June 11, 2014

Vesta is an easy-to-use open source web hosting control panel that is compatible with RHEL 5 & 6, CentOS 5 & 6, Debian 7, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 13.10, and Ubuntu 14.04. It comes chock-full of useful features and packages, and allows you to start setting up your websites very quickly. If you’re an advanced user who wants to set up and experiment with a different control panel, Vesta is for you!

Installation is pretty straightforward. All you’ll need is a DV Developer and SSH access to the server to get started.

1. Add a DV Developer and perform package updates
To add the server, you can contact our sales team (877-578-4000), add the server from our website or from your Account Center. I used Ubuntu 14.04, so these instructions will cover installation on that specific OS Template. Keep in mind though that it can be installed on any of the OS’s listed above!

Once the server’s been provisioned, connect via SSH and refresh the packages and ensure they’re all up-to-date:

ssh root@server.com[c]
# sudo apt-get update
# sudo apt-get dist-upgrade

NOTE: You may get messages about a GPG error, similar to this:

W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY $STRING NO_PUBKEY $STRING

These can be resolved with the following command. Run it for each key string listed in the error message:

# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $STRING

If need be, install curl:

# sudo apt-get install curl

2. Download and install Vesta
The first step will be to connect to your new DV Developer via SSH. You can either use the root user, or if you’ve already created additional sudoers, one of these users:

ssh root@server.com

Once you’re logged in, download the installer using curl:

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

Then, run in the installer script:

# bash vst-install.sh

You’ll see the installer menu:

Screen Shot 2014-05-26 at 11.39.51 AM.png

Put in a valid email address, and let the installer do its thing. You will have to provide some feedback to the script to fine-tune the installation. For instance, it will ask if you want to install bind9 (for DNS). Here are the options provided:

Configuration file '/etc/init.d/bind9'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** bind9 (Y/I/N/O/D/Z) [default=N] ?

I put “N”, since I use Media Temple’s nameservers. But if you would like to run your own nameservers on this box, you’ll want to select Y.

Soon after that, the installer will complete and will provide you with the URL to access the control panel, as well as the username and password needed:

screenshot2

3. Log in and get started

screenshot3

4. Explore Your New Control Panel
The control panel itself is pretty intuitive, with the main functions laid out in a logical manner, as you can see here:

screenshot4
The documentation is a work in progress, but there are already tons of good entries. You can see it here.

You can also manage Vesta via command line. It comes with a full suite of commands that all start with “v-”. To see them, SSH in to the box and type “v-”, then tab twice. The full list is here:

Screen Shot 5

There you have it! In as little as 15 minutes after adding the DV Developer to your account, and with just a few commands in SSH, you can be up and running on a Vesta-powered server!

Comments

  • i like vesta

    I can warmly recommend vestacp for everyone!

    • http://mediatemple.net MediaTemple

      Thanks! ^DJ

Related Articles