Follow

Install Vesta on Ubuntu 14.04

  • Applies to: DV Developer or self-managed VPS
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: SSH with root access

 

Overview

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. These are instructions for Ubuntu 14.04, which is a popular and stable Linux operating system. Vesta has many 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 straightforward and makes use of Vesta's installation script. In order to complete the installation, you'll need a DV Developer (dedicated) or self-managed VPS.

 

Before you begin:

This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by Media Temple. Please take a moment to review the Statement of Support.

 

Requirements

  • A server with Ubuntu 14.04. Several operating systems are supported, but this guide provides instructions specific to Ubuntu 14.04.
  • SSH with root access
  • Knowledge of basic command line

 

Instructions

 

1. Update your packages

Connect via SSH and make sure that everything is up-to-date:

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

NOTE: You may receive 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 you don't have it, install curl:

# sudo apt-get install curl

 

2. Download and install Vesta

Now that we’ve finished refreshing the software packages, we can download the Vesta installer using curl with the following command:

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

Run the installation script:

# bash vst-install.sh

You’ll see the installer menu:

 

Enter a valid email address and wait for prompts from the installer. You will have to provide some feedback to the script to fine-tune the installation. First, you will be asked to set a hostname. You can either set a different hostname or keep the default setting by pressing enter. If it is a Media Temple access domain, you do not need to enter your actual domain name. 

Please enter FQDN hostname [76nj-oi6s.SomeDomain.com]:

The installer will also 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] ?

Enter “N” to use Media Temple’s nameservers. Enter "Y" if you'd like to use your own nameservers. 

The installer may take several minutes to complete. Once it does, you'll be provided with the URL to access the control panel, as well as the username and password needed:

 

Possible error related to SpamAssassin

During installation, you may have received an error:

Starting SpamAssassin Mail Filter Daemon: server socket setup failed, retry 1: spamd....

The script will attempt to start SpamAssasssin 10 times, and if unsuccessful will halt Vesta's installation script. To fix this, do the following:

vim /etc/default/spamassassin

Find the "OPTIONS=" line and add -4 after --create-prefs.

Once this is complete, restart the Vesta installation process:

bash vst-install.sh --force

You must include --force or the script will not run due to it not being a fresh install. The install should now run through and complete normally. 

3. Use the control panel URL, username, and password to log in and get started. 

 

4. Explore you 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:

 

Vesta's documentation is a work in progress, but there are many great entries that you may find useful. 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:

 

There you have it! In as little as 15 minutes after provisioning a Media Temple dedicated or self-managed VPS, and with just a few commands in SSH, you have a Vesta-powered server!

 

As always, if you have any questions or concerns, please feel free to contact Media Temple's award winning 24/7 support team

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk