Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to have multiple masternode coins on the same vpn with the same ip address (with securecloud):
- (Limit is 4 for 1024MB ram VPS) (Limit is 2 for a 512 ram VPS)
- Follow this guide here:
- https://github.com/securecloudnet/SecureCloud-MN-Install
- For installing your first masternode.
- After that's complete.
- You will create a another masternode address in your wallet. By going File > Receiving address "Label it MN002 or whatever you like"
- Now right click on that address and click copy new address.
- And paste this information in wordpad or notepad document.
- Now in the wallet go to "Send"
- Enter that address in the "Pay To" field
- Now for the amount enter 1200
- Click send. It will ask you, are you sure you want to send? Click yes.
- Now wait for 15 confirmations.
- After that go to Tools > Debug Console
- Type:
- masternode genkey
- save that output in a document.
- Then type:
- masternode outputs
- Save the results of that in a document. Choose the correct txhash the one you aren't using already for your other masternode.
- Then close the debug window.
- Go to open masternode configuration file. Tools > Open Masternode Configuration File
- Windows will say Windows can't open this file, click select a program from a list of installed programs
- Click okay.
- Click on notepad.exe "unselect "always use the selected program to open this kind of file" if you wish
- Click okay.
- Now you are going to add another line like you did before "When following the original instructions to install your first masternode"
- We will use the same ip address and port number as from before
- Then you enter masternode genkey, and then enter the tax hash and output number (from what you saved in your document)
- 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.
- MN002 XX.XX.XXX.XX:9191 YOURMASTERNODEGENKEY--------------------------------- YOURTAXHASH---------------------------- 0
- Then go to File > Save
- Now close document.
- Close your wallet. Now reopen your wallet. Wait for Wallet Sync.
- Now we will go into your terminal via putty or whatever program you use.
- Now enter these these commands: (one line at a time)
- sudo mkdir /root/.securecloud2
- cp -a /root/.securecloud/securecloud.conf /root/.securecloud2/
- systemctl stop securecloud
- nano /root/.securecloud/securecloud.conf
- Now you will be in an editor, use your arrow keys to delete and edit entries you want:
- (You will see something like this):
- rpcuser=XXXXXXXXXX
- rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- rpcallowip=127.0.0.1
- listen=0
- server=1
- daemon=1
- logtimestamps=1
- maxconnections=256
- externalip=XX.XX.XXX.XXX:9191
- masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
- masternode=1
- addnode=149.28.238.247
- addnode=45.77.59.64
- addnode=45.63.119.225
- addnode=45.76.131.16
- You want to change
- listen=0
- And you want to add :9191 after the ip address on this entry
- externalip=XX.XX.XXX.XXX:9191
- You want to remove this entry:
- bind=XX.XX.XXX.XX:9191
- You want to remove this entry as well:
- masternodeaddr=XX.XX.XXX.XX
- Now, after you are done with those entries, you want to do this:
- press Ctrl + x
- It will ask you if you want to save the changes.
- Press y (No capitals)
- Then it will ask you to file name to write: /root/.securecloud/securecloud.conf
- Just press enter.
- Now back in the terminal enter this command:
- nano /root/.securecloud2/securecloud.conf
- You will see something like this:
- rpcuser=XXXXXXXXXX
- rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- rpcallowip=127.0.0.1
- rpcport=9193
- listen=0
- server=1
- daemon=1
- logtimestamps=1
- maxconnections=256
- externalip=XX.XX.XXX.XXX:9191
- masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
- masternode=1
- addnode=149.28.238.247
- addnode=45.77.59.64
- addnode=45.63.119.225
- addnode=45.76.131.16
- after rpcallowip=127.0.0.1
- You want to enter this line:
- rpcport=9193
- You want to change listen=1 to listen=0.
- You want to add :9191 at the end of the externalip line
- externalip=XX.XX.XXX.XXX:9191
- You want to remove this line:
- bind=XX.XX.XXX.XX:9191
- You want to remove this line as well:
- masternodeaddr=XX.XX.XXX.XX
- Now for masternodeprivkey=
- change that to the masternode genkey you outputted earlier for masternode 2.
- masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- Now press Ctrl + X
- It will ask you if you want to save the changes.
- press y
- Then it will ask you for a file to write: /root/.securecloud2/securecloud.conf
- Just press enter
- Now back at the terminal enter these codes one by one (and press enter)
- securecloudd -datadir=/root/.securecloud
- securecloudd -datadir=/root/.securecloud2
- Now wait 5 mins or longer, depending how long it the block chain syncs with the masternode.
- Or check the status here:
- securecloud-cli -datadir=/root/.securecloud2 mnsync status
- To see if it's sync'd
- Now go back to your wallet
- Click on the masternodes tab
- Click on "start missing"
- It says are you sure you want to start MISSING Masternodes.
- Click yes
- It should say:
- "Successfully started 1 masternodes, failed to start 0, total 1"
- It will now say enabled
- 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.
- Now back to the terminal:
- Follow these commands one line at a time:
- sudo mkdir /root/.securecloud3
- cp -a /root/.securecloud2/securecloud.conf /root/.securecloud3/
- nano /root/.securecloud3/securecloud.conf
- You will see this:
- rpcuser=XXXXXXXXXX
- rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- rpcallowip=127.0.0.1
- rpcport=9194
- listen=0
- server=1
- daemon=1
- logtimestamps=1
- maxconnections=256
- externalip=XX.XX.XXX.XXX:9191
- masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXX
- masternode=1
- addnode=149.28.238.247
- addnode=45.77.59.64
- addnode=45.63.119.225
- addnode=45.76.131.16
- now just change the rpcport=9193 to the next number:
- rpcport=9194
- Now change the masternodeprivkey to the new masternodegenkey for masternode 3
- ctrl + X
- and then press y
- and then press enter
- Now back at the command line terminal. Enter this command.
- securecloudd -datadir=/root/.securecloud3
- Now wait for sync, and enable in wallet by clicking start missing.
- Now repeat these steps for the last masternode 4
- 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.
- Here are the commands to check the status of each masternode:
- securecloud-cli -datadir=/root/.securecloud2 masternode status
- securecloud-cli -datadir=/root/.securecloud2 getinfo
- securecloud-cli -datadir=/root/.securecloud2 mnsync status
- securecloud-cli -datadir=/root/.securecloud3 masternode status
- securecloud-cli -datadir=/root/.securecloud3 getinfo
- securecloud-cli -datadir=/root/.securecloud3 mnsync status
- securecloud-cli -datadir=/root/.securecloud4 masternode status
- securecloud-cli -datadir=/root/.securecloud4 getinfo
- securecloud-cli -datadir=/root/.securecloud4 mnsync status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement