This tutorial will explain how to deploy UNMS on a cloud server in a few simple steps. This tutorial uses DigitalOcean with estimated costs starting at $10/month. The usage is charged at an hourly rate, so if you use DigitalOcean to test it just for an hour, the user will only be charged $0.015. Any other cloud server of the user's choice may be used as well.
Table of Contents
Steps: How to Install UNMS on DigitalOcean
1. Create an account on DigitalOcean.
2. Click Create a New Droplet.
3. Choose Ubuntu 16.04.1 as the image.
4. Choose your plan. The $10/mo size is recommended. You can always change your plan in the future if you realize the server load is too high. You will be charged at an hourly rate, so you can try any plan, for a while without incurring any high costs.
5. Choose a datacenter close to your location.
6. Tick the checkbox for User data in the Select additional options section.
7. Insert the following commands in the text box shown in the image above.
- curl -fsSL https://unms.com/install > /tmp/unms_install.sh
- chmod +x /tmp/unms_install.sh
- sudo bash -c '/tmp/unms_install.sh --unattended' > /tmp/unms_install_output
8. Optionally, you can add your SSH key. This will allow you to connect to the server without using a password. Otherwise, your root password will be sent to the email associated with your DigitalOcean account.
9. Click Create.
10. Get a coffee and wait for about 30 seconds for the server to start up, and then wait another 4-8 minutes to download and deploy UNMS on the server. You should see this:
11. Now go to http://your_server_ip. (Where "your_server_ip" is the IP of your Droplet).