Creating a production server
In the following section, let us create a production server that will host our hello world application. We will later extend our Continuous Delivery pipeline to automatically deploy fully testing binary artifacts on our production server.
In the following example, our production server is a simple Tomcat server. Let us create one using Vagrant.
Installing Vagrant
In this section, we will install Vagrant on Ubuntu. Make sure you perform these steps as a root
user or with an account having root privileges (sudo
access):
- Open up a Terminal and type the following command to download Vagrant:
wget https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb
Or, you can also download the latest Vagrant package from the Vagrant website at https://www.vagrantup.com/downloads.html:
Vagrant download webpage
Note
Use the latest version of Vagrant and VirtualBox available. Using an older version of Vagrant with a newer version of VirtualBox or vice versa may result in issues...