Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This guide is for a single masternode, on a Ubuntu 14.04 64bit server(1GB RAM, 25GB SDD) hosted by Vultr.com and will be controlled from the wallet on your local computer.
- Remember: Linux VPS, wallet containing your coins on a windows PC
- !Make sure to double check everything you type!
- You can use either the servers console on vultr.com, or use putty to login. Be aware that if you login with the servers console you will not be able to copy/paste from and into the console and it can cause pain. I suggest going for the putty method. If you type in your password but nothing appears in the console/terminal, don’t worry, it’s there, just type all in and hit enter
- After you successfully logged in type the following commands and hit enter:
- apt-get update && apt-get upgrade
- apt-get install ntp unzip git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev aptitude && aptitude install miniupnpc libminiupnpc-dev
- it will ask you to confirm with a Y or N, so type Y and hit enter
- create a swap file so that the wallet compiles faster by typing and pressing enter after every line:
- sudo fallocate -l 1G /mnt/1GB.swap
- sudo dd if=/dev/zero of=/mnt/1GB.swap bs=1024 count=1048576
- sudo mkswap /mnt/1GB.swap
- sudo swapon /mnt/1GB.swap
- nano /etc/fstab – this will open a little text editor in terminal. Go all the way to the bottom and add this:
- /mnt/1GB.swap none swap sw 0 0
- once you type that you do control +x, it'll ask you to save, so type y, then enter to save. It should write some lines (12 in my case).
- nano /etc/sysctl.conf - this will open a little text editor in terminal. Go all the way to the bottom and add this:
- vm.swappiness=50
- once you type that you do control +x, it'll ask you to save, so type y, then enter to save. It should write some lines (65 in my case).
- sudo swapon -s – this should show something like /mnt/1GB.swap file 1048572 0 -1
- apt-get update && apt-get upgrade – when prompt to continue, type y, and hit enter
- apt-get install ntp unzip git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev aptitude && aptitude install miniupnpc libminiupnpc-dev
- apt-get install dh-autoreconf
- apt-get install pkg-config
- git clone https://github.com/shekeltechnologies/wallet
- mv wallet/ shekel/
- cd shekel/src/leveldb
- chmod +x build_detect_platform
- make clean
- make libleveldb.a libmemenv.a
- cd ../../
- ./autogen.sh – will copy some files
- ./configure --with-incompatible-bdb
- make - this is going to build the wallet and it will take quite a bit of time. It might take up to 15-20 minutes. This was just to get the wallet installed on the VPS. Usually coins have precompiled wallets, so normally you just have to download the wallet. When it’s done, continue:
- cd src
- ./shekeld -daemon – this will show you some stuff, including rpcuser and rpcpassword. Copy them into a notepad for later use.
- nano ~/.shekel/shekel.conf – go to the bottom and add your rpcuser and rpcpassword and some addnodes. Everything must be on a separate line. So type in rpcuser=shekel hit enter, proceed to type rpcpassword=shekel1240 hit enter, proceed to type addnode=108.61.119.253:49472, hit enter, addnode= 185.35.67.53:49472, hit enter, addnode=45.32.214.237:49472, hit enter, addnode=45.76.45.45:49472, hit enter. Ctrl + x and type y to save.
- ./shekeld -daemon – you should see JEW server starting
- ./shekel-cli masternode genkey – copy that key into a notepad for future use. After you copied the key type
- shekel-cli stop – you should see JEW server stopping
- nano ~/.shekel/shekel.conf – go to the bottom and add
- bind=VPSIPADDRESS:49472 (it’s your vps ip from vultr.com)
- masternode=1
- masternodeprivkey=the key you saved 5 steps behind where you got the masternode genkey
- ctrl+x, type y to save
- ./shekeld -daemon – JEW server starting
- sudo iptables -t nat -I OUTPUT -d YOURIP -p tcp --dport 49472 -j REDIRECT --to-ports 49472 – replace YOURIP with your actual VPS IP
- Now go ahead and edit your masternode.conf file as specified in the guide athttps://shekel.io/resources.html step 5. Should be formatted as mn1 ipaddress:49472 privkey txid 0
- After you save the masternode.conf, restart windows wallet
- You should see your MN in the Masternodes tab. Click on it and then Start alias
- That’s it! This guide is based on CryptoCartel’s knowledge. All I did was to assemble everything into a .docx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement