LoginSignup
0
0

More than 5 years have passed since last update.

Setup Hshare(HSR) Wallet in AWS Ubuntu Server 16.04

Last updated at Posted at 2018-04-12

1. Install

# cd ~/

# sudo apt-get install build-essential libssl-dev libdb++-dev libboost-all-dev  libqrencode-dev libminiupnpc-dev

# git clone https://github.com/HcashOrg/Hshare.git

# cd Hshare

# ./build.sh <---- The finally result was failed.

# cd src

# make -f makefile.unix   <---- You will find the "hshared" in src folder.

2. Add systemd

# sudo vim /lib/systemd/system/hshared.service
[Unit]
Description=Hshare Client

[Service]
Type=simple
ExecStart=/home/ubuntu/Hshare/src/hshared -datadir=/Your_Block_Data_Path
Restart=on-failure
User=ubuntu

[Install]
WantedBy=multi-user.target
:wq!

3. Enable systemd

# sudo systemctl enable hshared

4. Add hshare.conf

# sudo vim /Your_Block_Data_Path/hshare.conf
server=1
listen=1
enableaccounts=1
staking=0
rpcport=9487               <--- You can change it
rpcallowip=192.168.0.0/24  <--- You can change it
rpcuser=1qaz2wsx           <--- You can change it
rpcpassword=1q2w3e4r       <--- You can change it
:wq!

5. Start systemd

# sudo systemctl start hshared
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0