Quick Start

The steps below will help you get started using Deploy.

Installing Deploy

Follow the steps on the Deploy Download page.

Creating a Definition

To use Deploy, you will need a definition. The easiest way is to use a template as a starting point. The Deploy installation includes a number of templates. Copy these to a new location where you can experiment and modify.

mkdir -p /my/folder
cp -a /usr/share/deploy/templates /my/folder
Then tell Deploy where to find your new templates folder. Add a line to /etc/deploy/deploy.conf as shown below:

Running Deploy

To run Deploy, type "deploy" at the command line, followed by the path to a definition, see the example below. Note that because Deploy mounts and modifies installation images, it must be run as the system root user.

su root
deploy /my/folder/templates/el6/drupal/drupal-server.definition --disable test-install

The example above will take a few minutes as Deploy completes the following:

  • Gathers content from the CentOS and EPEL repositories
  • Creates packages for configuring drupal, the web server and the sql database
  • Creates a virtual machine for testing updates

Subsequent runs take only a few seconds.

You can view the results as follows:

# view the drupal server distribution
cd /var/www/html/deploy/systems/drupal/

# ssh to the drupal server test virtual machine
ssh -o StrictHostKeyChecking=no drupal-test-update

# view the drupal web interface from a brower
username: admin
password: Test1!

As you make changes to the definition, Deploy will automatically refresh the distribution and update the test machine.

See the User Manual for complete information on using Deploy.


Send email to deploy@deployproject.org.