Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.21 KB | None | 0 0
  1. How to have multiple masternode coins on the same vpn with the same ip address (with securecloud):
  2. (Limit is 4 for 1024MB ram VPS) (Limit is 2 for a 512 ram VPS)
  3.  
  4. Follow this guide here:
  5. https://github.com/securecloudnet/SecureCloud-MN-Install
  6. For installing your first masternode.
  7.  
  8. After that's complete.
  9.  
  10. You will create a another masternode address in your wallet. By going File > Receiving address "Label it MN002 or whatever you like"
  11. Now right click on that address and click copy new address.
  12. And paste this information in wordpad or notepad document.
  13. Now in the wallet go to "Send"
  14.  
  15. Enter that address in the "Pay To" field
  16.  
  17. Now for the amount enter 1200
  18. Click send. It will ask you, are you sure you want to send? Click yes.
  19. Now wait for 15 confirmations.
  20.  
  21. After that go to Tools > Debug Console
  22.  
  23. Type:
  24.  
  25. masternode genkey
  26.  
  27. save that output in a document.
  28.  
  29. Then type:
  30. masternode outputs
  31.  
  32. Save the results of that in a document. Choose the correct txhash the one you aren't using already for your other masternode.
  33. Then close the debug window.
  34.  
  35. Go to open masternode configuration file. Tools > Open Masternode Configuration File
  36.  
  37. Windows will say Windows can't open this file, click select a program from a list of installed programs
  38. Click okay.
  39.  
  40. Click on notepad.exe "unselect "always use the selected program to open this kind of file" if you wish
  41. Click okay.
  42.  
  43. Now you are going to add another line like you did before "When following the original instructions to install your first masternode"
  44. We will use the same ip address and port number as from before
  45.  
  46. Then you enter masternode genkey, and then enter the tax hash and output number (from what you saved in your document)
  47.  
  48. Press enter after "0" Just make sure the entire line has only one space between entries, and that at the end of the line there is no spaces.
  49.  
  50. MN002 XX.XX.XXX.XX:9191 YOURMASTERNODEGENKEY--------------------------------- YOURTAXHASH---------------------------- 0
  51.  
  52. Then go to File > Save
  53. Now close document.
  54.  
  55. Close your wallet. Now reopen your wallet. Wait for Wallet Sync.
  56.  
  57. Now we will go into your terminal via putty or whatever program you use.
  58.  
  59. Now enter these these commands: (one line at a time)
  60.  
  61. sudo mkdir /root/.securecloud2
  62.  
  63. cp -a /root/.securecloud/securecloud.conf /root/.securecloud2/
  64.  
  65. systemctl stop securecloud
  66.  
  67. nano /root/.securecloud/securecloud.conf
  68.  
  69. Now you will be in an editor, use your arrow keys to delete and edit entries you want:
  70.  
  71. (You will see something like this):
  72.  
  73. rpcuser=XXXXXXXXXX
  74. rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  75. rpcallowip=127.0.0.1
  76. listen=0
  77. server=1
  78. daemon=1
  79. logtimestamps=1
  80. maxconnections=256
  81. externalip=XX.XX.XXX.XXX:9191
  82. masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
  83. masternode=1
  84. addnode=149.28.238.247
  85. addnode=45.77.59.64
  86. addnode=45.63.119.225
  87. addnode=45.76.131.16
  88.  
  89.  
  90. You want to change
  91. listen=0
  92.  
  93. And you want to add :9191 after the ip address on this entry
  94. externalip=XX.XX.XXX.XXX:9191
  95.  
  96. You want to remove this entry:
  97. bind=XX.XX.XXX.XX:9191
  98.  
  99. You want to remove this entry as well:
  100. masternodeaddr=XX.XX.XXX.XX
  101.  
  102. Now, after you are done with those entries, you want to do this:
  103. press Ctrl + x
  104.  
  105. It will ask you if you want to save the changes.
  106. Press y (No capitals)
  107.  
  108. Then it will ask you to file name to write: /root/.securecloud/securecloud.conf
  109. Just press enter.
  110.  
  111. Now back in the terminal enter this command:
  112.  
  113. nano /root/.securecloud2/securecloud.conf
  114.  
  115. You will see something like this:
  116.  
  117. rpcuser=XXXXXXXXXX
  118. rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  119. rpcallowip=127.0.0.1
  120. rpcport=9193
  121. listen=0
  122. server=1
  123. daemon=1
  124. logtimestamps=1
  125. maxconnections=256
  126. externalip=XX.XX.XXX.XXX:9191
  127. masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
  128. masternode=1
  129. addnode=149.28.238.247
  130. addnode=45.77.59.64
  131. addnode=45.63.119.225
  132. addnode=45.76.131.16
  133.  
  134. after rpcallowip=127.0.0.1
  135.  
  136. You want to enter this line:
  137. rpcport=9193
  138.  
  139. You want to change listen=1 to listen=0.
  140.  
  141. You want to add :9191 at the end of the externalip line
  142.  
  143. externalip=XX.XX.XXX.XXX:9191
  144.  
  145. You want to remove this line:
  146.  
  147. bind=XX.XX.XXX.XX:9191
  148.  
  149. You want to remove this line as well:
  150.  
  151. masternodeaddr=XX.XX.XXX.XX
  152.  
  153. Now for masternodeprivkey=
  154.  
  155. change that to the masternode genkey you outputted earlier for masternode 2.
  156.  
  157. masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  158.  
  159.  
  160. Now press Ctrl + X
  161. It will ask you if you want to save the changes.
  162.  
  163. press y
  164.  
  165. Then it will ask you for a file to write: /root/.securecloud2/securecloud.conf
  166. Just press enter
  167.  
  168. Now back at the terminal enter these codes one by one (and press enter)
  169.  
  170. securecloudd -datadir=/root/.securecloud
  171.  
  172. securecloudd -datadir=/root/.securecloud2
  173.  
  174.  
  175. Now wait 5 mins or longer, depending how long it the block chain syncs with the masternode.
  176.  
  177. Or check the status here:
  178.  
  179. securecloud-cli -datadir=/root/.securecloud2 mnsync status
  180.  
  181. To see if it's sync'd
  182.  
  183. Now go back to your wallet
  184.  
  185. Click on the masternodes tab
  186.  
  187. Click on "start missing"
  188.  
  189. It says are you sure you want to start MISSING Masternodes.
  190.  
  191. Click yes
  192.  
  193. It should say:
  194.  
  195. "Successfully started 1 masternodes, failed to start 0, total 1"
  196.  
  197. It will now say enabled
  198.  
  199.  
  200. Now for the third masternode, we will repeat the same steps to create a masternode via wallet, by making a new address, sending 1200 (waiting for 15 confirmations), copying masternode genkey, copying masternode ouput address, putting the next line in masternode configuration file, and restarting the wallet.
  201.  
  202. Now back to the terminal:
  203.  
  204. Follow these commands one line at a time:
  205.  
  206. sudo mkdir /root/.securecloud3
  207.  
  208. cp -a /root/.securecloud2/securecloud.conf /root/.securecloud3/
  209.  
  210. nano /root/.securecloud3/securecloud.conf
  211.  
  212. You will see this:
  213.  
  214. rpcuser=XXXXXXXXXX
  215. rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  216. rpcallowip=127.0.0.1
  217. rpcport=9194
  218. listen=0
  219. server=1
  220. daemon=1
  221. logtimestamps=1
  222. maxconnections=256
  223. externalip=XX.XX.XXX.XXX:9191
  224. masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
  225. masternode=1
  226. addnode=149.28.238.247
  227. addnode=45.77.59.64
  228. addnode=45.63.119.225
  229. addnode=45.76.131.16
  230.  
  231. now just change the rpcport=9193 to the next number:
  232. rpcport=9194
  233.  
  234. Now change the masternodeprivkey to the new masternodegenkey for masternode 3
  235.  
  236. ctrl + X
  237. and then press y
  238. and then press enter
  239.  
  240. Now back at the command line terminal. Enter this command.
  241.  
  242. securecloudd -datadir=/root/.securecloud3
  243.  
  244. Now wait for sync, and enable in wallet by clicking start missing.
  245.  
  246. Now repeat these steps for the last masternode 4
  247. Just change make another folder name, copy from previous folder, change the rpc number in the config file, and put in the masternodepriv key, etc, etc.
  248.  
  249. Here are the commands to check the status of each masternode:
  250.  
  251. securecloud-cli -datadir=/root/.securecloud2 masternode status
  252. securecloud-cli -datadir=/root/.securecloud2 getinfo
  253. securecloud-cli -datadir=/root/.securecloud2 mnsync status
  254.  
  255. securecloud-cli -datadir=/root/.securecloud3 masternode status
  256. securecloud-cli -datadir=/root/.securecloud3 getinfo
  257. securecloud-cli -datadir=/root/.securecloud3 mnsync status
  258.  
  259.  
  260. securecloud-cli -datadir=/root/.securecloud4 masternode status
  261. securecloud-cli -datadir=/root/.securecloud4 getinfo
  262. securecloud-cli -datadir=/root/.securecloud4 mnsync status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement