I've wrote manual to setup masternode on VPS:
Step One: Prepearing data from local wallet1. Run your local wallet and send to your address 50000 coins using
Send tab. You can see your address in
Receive tab. Also you can add new address for masternode or use available.
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F60f6c953f332d84fdf87228c0398d3a6%2F1508314749%2F64590%2F1188527%2Freceive.jpg&t=665&c=-yF3tem5Lm1rmQ)
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F48c4a13f89e68ae94b1db88dae51bcdf%2F1508314761%2F91196%2F1188527%2Fsend.jpg&t=665&c=BP665T06DFdokQ)
2. Wait for 10 confirmations. You must seen green checkbox near transaction in
Transactions tab.
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F46052025a6d306c2df96f3af8bd7fb73%2F1508314599%2F3167%2F1188527%2Fconfirmation.jpg&t=665&c=db-fhrPI1xLG4A)
3. Go to the
Help -> Debug Window -> ConsoleWrite commands:
masternode genkey
masternode outputs
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F4027dc31a94aec378a4d2f50ec62047e%2F1508314680%2F64456%2F1188527%2Fgenkey.jpg&t=665&c=x5Dohijpnq-Hhw)
Keep your masternode private key, txhash and output index. It will be necessary later.
Step Two: Installing wallet on your VPS server1. First of all update your system and install dependences:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get -y install libwww-perl build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils libdb++-dev libminiupnpc-dev libboost-all-dev libqrencode-dev unzip
2. Go to your home directory and download source from github:
cd
git clone https://github.com/legends420/OfficialReliefProject
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F82c65b23386adc8b01a605a20211dbe2%2F1508314698%2F49130%2F1188527%2Fgitclone.jpg&t=665&c=ElIKsDxVcUc1dQ)
3. Go to src folder and make binary file:
cd OfficialReliefProject/src
make -f makefile.unix
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2Fe1f8215991654c395e46e5c918848ee9%2F1508314717%2F553822%2F1188527%2Fmake.jpg&t=665&c=FITmaa2UXNYX_A)
Wait, it will take some time.
4. After building, for more userful start copy binary to user/bin directory:
sudo cp reliefd /usr/bin/
5. Go to your home directory, make config directory, make and edit config file:
cd
mkdir .TGAO
nano .TGAO/ReliefProject.conf
Type next text:
listen=1
server=1
daemon=1
maxconnections=500
logtimestamps=1
rpcuser=some_username
rpcpassword=some_big_different_from_username_password
port=15549
rpcport=15550
rpcconnect=127.0.0.1
rpcallowip=127.0.0.1
addnode=138.197.44.71
masternode=1
masternodeprivkey=your_masternode_private_key
masternodeaddr=your_vps_ip_address:15549
Use Ctrl-X to exit and type Y to save changes
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F73f55b4a839f01d73cd11fb1c08a9dc4%2F1508314731%2F75300%2F1188527%2Fnano.jpg&t=665&c=8IMAD7iddIH0rA)
6. To add reliefd to startup edit your crontab:
Add to the end of file:
7. Start the wallet:
You must see:
Step Three: Starting masternode from your local walletGo to
Masternode tab and click
Create. Fill out data which you have saved earlier.
Alias - some name for alias
Address - your_vps_ip_address:15549
PrivKey - your masternode private key
TxHash - your masternode txhash
Output Index - "0" or "1"
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F1f21c7aa5111b9cd53e0e476aafe926b%2F1508314633%2F117666%2F1188527%2Fcreate.jpg&t=665&c=ahISjpRnM5k6zA)
Click
Start![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2Fbda64e4bdc4b0ee4af94f7171ea3e66b%2F1508314773%2F67332%2F1188527%2Fstart.jpg&t=665&c=A7ci-drFFjqczQ)
That's all. Soon you will see
Masternode is Running status in your local wallet. If you want, you can see status at your VPS using command:
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.piccy.info%2Fi9%2F156f6eda04d1881a916a8792138bf106%2F1508314786%2F12020%2F1188527%2Fstatus.jpg&t=665&c=wr95kfAm4f1yxg)
I have a problem. When i run reliefd, i am getting next error:
It's not first wallet, which i compiled on linux, but i got this error at first time.