SOMA - (Self Onboarding Mining Application) Installation on Windows Server 2019 (Azure)
Last updated
Last updated
In this document, we have demonstrated how to create a Windows virtual machine and and install SOMA on Windows Server 2019 on MS Azure. Here, for the demonstration purposes we have used the bare minimum configurations which are required to run install and run SOMA.
Create an account in the Microsoft Azure.
Next, login to your account MS Azure portal. Find more information on creation of Windows virtual machine.
Select Virtual Machine.
2. Create a Resource group.
3. Add Instance Details.
4. Give Username and Password.
5. Add Inbound ports, and click on Review+Create.
6. Connect to the VM.
On the Windows desktop, click the Start button and type in any part of the name 'Windows PowerShell' or any terminal of your choice.
Right-click Windows PowerShell and select Run as Administrator.
To install Hyper-V on a server to which you are connected remotely, run the following command.
4. Now, install the Docker.
5. Enable Linux Kit system for running Linux containers.
6. Now Restart your Computer.
7. Pull the Shakti (SOMA) Docker image.
8. Get the SOMA Docker Image ID.
9. Run the SOMA container with portnumber = >1024, NODE_NAME=That is generated from Shakti portal, docker-image-id= image_id you get from previous command.
Ex: sudo docker run -p 8765:8765 -d --env NODE_NAME=dockernode01 --mount type=bind,source=$(pwd),target=/shakti 8030aaaef48b
10. View the Private and Public Keys to connect to the Shakti Network.