Author

Topic: Darkcoin Masternode Setup Guide for Windows / Linux (Hot/Cold QT) (Secure) (Read 6879 times)

legendary
Activity: 1185
Merit: 1021
this is for hot/cold setup.

how about just regular 1 pc old style setup? (no cold)

is there a guide to do that?
hero member
Activity: 503
Merit: 500
Na Zdorovie!
GUIDE #2 UBUNTU SIDE GUIDE

Step 1: Setup one VPS or dedicated server (Whichever you. Recommend Digitalocean or Vultr)

Setup (select) Ubuntu after deploy.
Note: I would recommend Ubuntu 14.04 x64 to be.

Step 2: Download Putty software and open your Ubuntu console. (you need root password)

Step 3: Change SSH access port.

Code:
nano /etc/ssh/sshd_config

Find #Port 22 line and change number "22" to which you want port.

Press CTRL+X > press Y > Enter for save

After need you restart SSHd services.

Code:
/etc/init.d/sshd restart

or

Code:
service sshd restart

Step 4: Deny all IPs with using Host access control system
IMPORTANT: Your local static IP and masternode node IP address will be excluded.

1 - Open hosts.allow
Code:
nano /etc/hosts.allow

2 - Paste this code below.
Code:
ALL : xxx.xxx.xxx.xxx : allow
#MY LOCAL IP
ALL : 23.23.186.131 : allow
#MASTERNODE IP
ALL : ALL : deny
#KILL' EM ALL

xxx.xxx.xxx.xxx is your local static IP address.

Press CTRL+X > press Y > Enter for save.

IMPORTANT: If you make the wrong IP choice in this step may lose all access to your server.

Note: Please do not depend on these security measures and look chaeplin's iptables suggestions.

Step 5: Download Darkcoin binary v0.10.11.5 for Linux and run.

Code:
wget http://www.darkcoin.io/downloads/rc/darkcoind

Chmod assignment:
Code:
chmod +x ./darkcoind

Open Darkcoin deamon
Code:
./darkcoind

Darkcoin deamon give you this error message
Code:
Error: To use darkcoind, you must set a rpcpassword in the configuration file:
/root/.darkcoin/darkcoin.conf

Please create darkcoin.conf
Code:
nano /root/.darkcoin/darkcoin.conf

Paste this lines to darkcoin.conf
Code:
rpcuser=long-random-string-anything-not-important
rpcpassword=long-random-string-anything-not-important
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
masternodeprivkey=(????????????)
addnode=23.23.186.131

(????????????) is your privkey on created Windows guide Step 7

Open again Darkcoin deamon
Code:
./darkcoind

Please wait block updates. Check that the update block is finished or not.
Code:
./darkcoind getinfo

Please check last block here


Step 5: Go to Windows local machine and run masternode.

1 - Open your darkcoin.conf on windows and fill masternode IP. masternodeaddr=(!!!!!!!!!!!!):9999
(!!!!!!!!!!!!) is your ubuntu server static IP.
2 - Open console again on Darkcoin QT for windows.
3 - Write this commands

Code:
walletpassphrase "PASSWORD" 60

You will get blank line, and in the main window the LOCK icon will change to unlocked.

Code:
masternode start "PASSWORD"

Successfuly started masternode!


Congratulations! Your masternode setup is done!
hero member
Activity: 503
Merit: 500
Na Zdorovie!
I want explain on today how to setup secure Masternode setup for Windows.
I would helpful.

GUIDE #1 WINDOWS SIDE GUIDE
Step 1: Setup one desktop or laptop machine (Recommend minimum compiltable AM3+ socket AMD processor and 4 Gb. ram.)

Step 2: Setup Windows 8.1 here (Recommend Pro version.)
IMPORTANT! Do not use absolutely wireless after the installation. Please connect your home/office local computer with CAT5/6 to your router. Please switch off WLAN and WAN to LAN access on your router after connection.

Step 3: Install all the updates with use Windows Update. (Control Panel > System and Security > Windows Update)



The complete installation is your benefits.

Step 4: Install any "internet security" software.
My preferences:Kaspersky Pure 3.0, Trend Micro Titanium Maximum security or Ikarus Security Manager

And install any strongly "anti logger" program.
Strongly recommended: SpyShelter Premium
IMPORTANT (See screenshot below): Please go to Security tab on Settings subtab and click "Password protection". Encrypt program control by set a password.


Step 5: Install Darkcoin QT v0.10.11.5-unk-beta (Download here) and wait for blocks update completely.
IMPORTANT (See screenshot below): SpyShelter ​​anti logger program will show the warning message like below for Darkcoin QT. Please allow process with select "all actions" check box.


Step 6: Encrypt your wallet after blocks update finished. (Please click Settings > Encrypt wallet > Enter pasword two times and select ok) Darkcoin QT turn of itself after encrypt process. Please re open QT and prepare to send DRKs to this QT.
VERY IMPORTANT: Please create a strong and long password on notepad firstly. Just save your password and import any rar or zip file with password. Please backup your encrypted compressed file to minimum 2 local disk and 2 online backup platform (Private Dropbox or your e-mail etc).


If you forget your password or lose your DRKs is stolen.​​

Step 7: Send 1000 DRK process. (Very important: You need create Masternode privkey and zero address before transfer)

1. Please click Help > Debug window > and switch "Console" tab
2. Please enter masternode genkey and press enter. (Copy your privkey and paste notepad/save)
3. Please enter getaccountaddress 0 and press enter. (Copy your address and paste notepad/save)

Please see screenshot below:

You ready transfer 1000 DRK now! Please send 1000 DRK to your zero address
VERY IMPORTANT: The amount to be sent must be exactly 1000 DRK. Should be sent one transaction. Should not be less or more. NET TOTAL: 1000 DRK. If you send different amount, your masternode will not work absolutely.

Step 8: Create darkcoin.conf file for masternode
1. Press Windows key + R
2. Write %appdata%/darkcoin and press enter
3. Create "darkcoin.conf" file and open with notepad
4. Please copy code below and paste this file. (And save)

Code:
rpcuser=long-random-string-anything-not-important
rpcpassword=long-random-string-anything-not-important
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
addnode=23.23.186.131
masternode=1
masternodeprivkey=(????????????)
masternodeaddr=(!!!!!!!!!!!!):9999

(????????????): This is your masternode privkey, created already on step 7
(!!!!!!!!!!!!): This value will be described in the UBUNTU guide​​ (This value is your ubuntu deamon server IP address.)

Your masternode Windows side setup is complete. Your masternode revenues will be deposited in this wallet.

GUIDE #2 UBUNTU SIDE GUIDE​​ (COMING SOON)

Darkcoin donate: XnfZ5tH6nMtEHi43eo9zrQ1murrFnq7XNc
Jump to: