How to install the Verus Command Line Wallet - monkins1010/Verusguideassets GitHub Wiki
Back at MobaXterm create a new session by clicking in the white space shown below and choosing New session
Next select SSH
and enter you IP address from the digital ocean site. Specify the user root
and Port 22
.
Select the Advanced SSH settings
Select Use private key
and find the verus
file from This PC > Documents > MobaXterm >home > .shh
directory.
Next input a Friendly name for the Session Wordpress root
is suitable. You wont use this account all the time because we'll make another account later..
Now you can double click on the newly created WordPress user and you should get a connection to your server and window like this:
We can skip this step and worry about giving you site a nice name like www.brians_laptops.com
later... i.e. a domain name and not just the four set of numbers we are typing into the web browser at the moment. So press CTRL + C
to quit out and get to a new line called root@wordpress-s-2vcpu-4gb-nyc1-01:~#
Setup Verus Command Line Wallet
Create a new user that we will log in as to install the Verus Command line wallet.
type in adduser wallet
then press enter.
:warning: Set a password, this will be used when the wallet user wants to do something that requires extra privileges Write it down as wallet password :warning:
Press enter for all the user names and accept the default
Type: (To make the wallet a sudo user)
usermod -aG sudo wallet
mkdir /home/wallet/.ssh
Make the directory only executable by the user:
chmod 700 /home/wallet/.ssh
Copy the authorized_keys
file that contains your public key:
sudo cp /root/.ssh/authorized_keys /home/wallet/.ssh/authorized_keys
Make everything in .ssh
owned by your user:
sudo chown -R wallet:wallet /home/wallet/.ssh
Make it readable only by your user:
sudo chmod 600 /home/wallet/.ssh/authorized_keys
Now there is a new user called wallet who we can log in as.. to do this we can duplicate outr current session in MobaXterm.
Right click on the session name you created earlier in the MobaXterm left hand window. If you cant see it click on the little house icon at the top
Logging in as wallet
Right click on the Verus Root session in MobaXterm and select Duplicate session
.
You will have a new session called Verus root (2), right click on this and edit session
then change the name in specifiy username
from root
to wallet
. Also change the name of the session by going into Bookmark settings
and changing the session name from Verus root(2)
to Verus wallet
Now double click on your new Verus wallet
session and you should be greeted with this:
Downloading the Verus Command Line Wallet and installing it
First we need to update linux so run
sudo apt-get update
type in your wallet password from earlier when prompted.
Then type in
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl
Press Y
to continue when asked.
Go to: https://github.com/VerusCoin/VerusCoin/releases
Pick the latest release. and find the Verus-CLI-Linux-v0.7.0-3-amd64.tgz at the bottom,
at the current time of writing. right click on it and copy link address
type wget
wallet session followed by a space then right click in the terminal window to paste in the command.
It should say:
wget https://github.com/VerusCoin/VerusCoin/releases/download/v0.7.0-3/Verus-CLI-Linux-v0.7.0-3-amd64.tgz
tar -xvf Verus-CLI-Linux-v0.7.0-3-amd64.tgz
tar -xvf Verus-CLI-Linux-v0.7.0-3-amd64.tar.gz
now in /wallet/verus-cli the wallet is installed
cd verus-cli
./fetch-params
This will download a load of files should take about 3 minutes on Digital Ocean.
Once complete
cd
mkdir -p .komodo/VRSC
cd ~/.komodo/VRSC
Download the block-chain bootstrap, this considerably speeds up synchronisation of the block-chain from days to minutes...
wget https://bootstrap.veruscoin.io/VRSC-bootstrap.tar.gz
tar -xvf VRSC-bootstrap.tar.gz
cd ~/verus-cli
Now you can fire up the Wallet and get it to synchronise with the block-chain.
screen -S verus ./verusd
ctrl +a
then ctrl +d
to get back to the terminal and leave the Wallet running in a screen