Install Bahmni on Cloud (Digital Ocean)
You can install Bahmni on the Cloud, as long as you meet the (64-bit Ubuntu v22.x along with Docker). One easy way of doing this is on Digital Ocean. Sign up using this referral link (you get 200$ credited to your account). Digital Ocean gives you a computer with a public IP on the cloud, with high speed internet access, and SSD drives. Please read the pricing FAQ for Digital Ocean. To see how to install Bahmni with docker here: . In this case you should provision the latest Ubuntu machine with 8GB RAM (if you want to run the whole suite).
Steps to Install Bahmni on Digital Ocean
Step 1: Create an account on Digital Ocean. Sign up using this referral link to get 200$ credited to your account.
Step 2: Create a Droplet with the following settings at minimum (Read steps here):
- 64-bit Ubuntu (v20/22.x)
- For the hardware configuration, please see (for instance: 8 GB RAM, 150 GB disk)
- A region close to your geographical location for faster network speed
- Enable "Private Networking"
- Add your Public SSH Key (else they will email you a root login password). SSH Key is more secure and recommended.
Step 3: You should be able to login into your machine using the command "ssh root@<ip-of-your-droplet>"
Step 4: Setup swap space on your machine using these steps (for reference read this document). We want to setup 4 GB of swap space.
# Informs you of how much swap space is allocated. if nothing is returned, then its not setup.
swapon -s
# To setup 4096k (4GB swap space) do these steps:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4096k
sudo mkswap /swapfile
# Activate the swap file
sudo swapon /swapfile
echo '/swapfile swap swap defaults 0 0' | sudo tee --append /etc/fstab
# Check if swap space is setup
swapon -sNow you have a fresh 64-bit Ubuntu Box available with 4GB swap space setup. You can choose to snapshot this box, so that you don't need to repeat these steps next time you need a fresh box.
Step 5: To Install Bahmni follow this document: (recommended)
Bahmni Wiki · CC BY-SA 4.0