GUIDE #2 UBUNTU SIDE GUIDEStep 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.
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.
or
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.allow2 - Paste this code below.
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.
wget http://www.darkcoin.io/downloads/rc/darkcoind
Chmod assignment:
Open Darkcoin deamon
Darkcoin deamon give you this error message
Error: To use darkcoind, you must set a rpcpassword in the configuration file:
/root/.darkcoin/darkcoin.conf
Please create
darkcoin.confnano /root/.darkcoin/darkcoin.conf
Paste this lines to
darkcoin.confrpcuser=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 7Open again Darkcoin deamon
Please wait block updates. Check that the update block is finished or not.
Please check last block
hereStep 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
walletpassphrase "PASSWORD" 60
You will get blank line, and in the main window the LOCK icon will change to unlocked.
masternode start "PASSWORD"
Successfuly started masternode!
Congratulations! Your masternode setup is done!