Scripted VPS and Hot wallet Setup
This section of the guide is for users that want to use the bash script to automatically install and setup the Linux VPS. The setup and configuration of the Cold Wallet will still be a manual setup.
Order and setup a Linux VPS
Identify a VPS provider and order a Linux Ubuntu 16.04 x64 server. Ubuntu v18.04 is NOT SUPPORTED.
Recommended VPS Providers:
VPS Minimum Requirements:
Login to the VPS provider website and configure the external firewall to allow SSH port 22 and the Rupaya Wallet TCP port 9050.
Login to the VPS, via SSH, as the root user.
Run the following commands to download and run the bash script that will install and configure the Rupaya Wallet:
wget -N https://raw.githubusercontent.com/rupaya-project/rupxscript/master/rupx_install.sh bash rupx_install.sh
Save the output from the script somewhere safe, as you will need this information again later in the setup. The MASTERNODE PRIVATEKEY (aka. GenKey) will be used in the masternode.conf file in your Cold Wallet. The output should look something like this:
Rupaya Masternode is up and running listening on port 9050. Configuration file is: /root/.rupayacore/rupaya.conf Start: systemctl start Rupaya.service Stop: systemctl stop Rupaya.service VPS_IP:PORT 220.127.116.11:9050 MASTERNODE PRIVATEKEY is: 2rE12DuD5zdtHfW8FK2eZiYbRYbCi9eysy6rQVeZsu8PTZgStN8 Please check Rupaya daemon is running with the following command: systemctl status Rupaya.service Use rupaya-cli masternode status to check your MN.
Run the following command to verify the Rupaya daemon is running and that you have active connections:
Download the Bootstrap from a Linux VPS Using a Bash Script
This section is intended for those that want to install the bootstrap on a Linux VPS using a bash script, which will automate the process.
Login to the Linux VPS as the user that will be running the wallet.
Run the following commands, one at a time, to download and run the bash script:
wget https://raw.githubusercontent.com/BlockchainBrain/Rupaya_Bootstrap/master/script-bootstrap.sh bash script-bootstrap.sh
Verify the Hot wallet is synchronizing with the blockchain
Run the rupaya-cli getinfo command to make sure that you see active connections:
- NOTE: It may take a few minutes for connections to begin to establish. Don't be alarmed if the initial output shows "blocks": -1
Run the rupaya-cli getblockcount command every few mins until you see the blocks increasing:
- NOTE: If your block count is NOT increasing then you will need to stop the Hot wallet with the rupaya-cli stop command and then reindex with the rupayad -reindex command.
- NOTE: If you did the reindex and you continue to have issues with establishing connections then check that the VPS provider external firewall is setup correctly to allow TCP port 9050 from anywhere. If that is not setup correctly then you will not be able to proceed beyond this step.
If your block count is indeed increasing, then you can proceed to the next step to setup the Cold wallet.