DTaaS on Single Vagrant Machine
These are installation instructions for running DTaaS application inside one vagrant Virtual Machine. The setup requires a machine which can spare 16GB RAM, 8 vCPUs and 50GB Hard Disk space to the vagrant box.
A dummy foo.com URL has been used for illustration. Please change this to your unique website URL.
Please follow these steps to make this work in your local environment.
- Create dtaas Vagrant box. Copy vagrant SSH private key into deploy/vagrant/single-machine. This shall be useful for logging into the vagrant machine created for single-machine deployment. You would have created an SSH key pair - vagrant and vagrant.pub. The vagrant is the private SSH key and is needed for the next steps.
- Update the Vagrantfile. Fields to update are:
- Hostname (
node.vm.hostname = "foo.com"
) - MAC address (
:mac => "xxxxxxxx"
). This change is required if you have a DHCP server assigning domain names based on MAC address. Otherwise, you can leave this field unchanged. - Other adjustments are optional.
- Hostname (
- Execute the following commands from terminal
Set a cronjob inside the vagrant virtual machine to remote the conflicting default route.
If you only want to test the application and are not setting up a production instance, you can follow the instructions of single script install.
If you are not in a hurry and would rather have a production instance, follow the instructions of regular server installation setup to complete the installation.