forked from rsksmart/rskj
-
Notifications
You must be signed in to change notification settings - Fork 0
Install RskJ Using Azure
herrerameri edited this page Jan 16, 2018
·
8 revisions
Following the instructions below you will install and run the RSK node and it will work connected to RSK MaiNnet (by default).
Then you can switch to TestNet or RegTest.
These are the steps to run the node: On Azure, create a resource. Search for RSK, choose the node's type/version and click Create.
You will see 4 steps:
- Basics: complete this step with your information. Choose a name for the node, user name, password, subscription and resource group.
- Size: select your VM options. Don't forget our recommended minimum requirements.
-
Settings: configure optional features.
-
Summary: review the summary of what you have set and press Create.
Wait for Azure to finish the deployment of the node and that's all!
If you want to switch your node from MainNet to TestNet mode, you should connect a bash to the node and run:
- For TestNet:
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s testnet.conf node.conf
sudo service rsk start
- For RegTest:
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s regtest.conf node.conf
sudo service rsk start
Also, if you want to return to MainNet mode:
- For MainNet
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s mainnet.conf node.conf
sudo service rsk start
We hope our Troubleshooting section can help you!