Basic requirements:

• Your PC running a recent version of Linux - Ubuntu 18.04 recommended that will run the JDCOIN wallet and keep your funds.
• A VPS with Ubuntu Server 18.04 64-bit OS installed with unique IP address that is running 24/7
• Minimum VPS specs: 50 GB of storage space, 2 GB of RAM, 1 dedicated CPU core
• Latest JDCOIN Core wallet release: v1
• 10,000 Jdcoin (good to have 10,001 to make sure you can cover transaction fee)

Step 1 – Download the latest Jdcoin wallet release (Skip if you already have it installed)
Download Here

Step 2: Open your jdcoin wallet and let it sync (Skip if you already have it installed and synchronized)
./jdcoind -daemon

Step 3 – Generate a new Jdcoin address and send exactly 10K Jdcoin to it
./jdcoin-cli getnewaddress

If you are sending from within this wallet to the new address then run this command:

./jdcoin-cli sendtoaddress ADDRESSfromGETNEWADDRESS 10000

Step 4: Get the masternode private key and masternode outputs, Save them to a text document for the upcoming steps:
./jdcoin-cli createmasternodekey ./jdcoin-cli getmasternodeoutputs

You can now close your jdcoin wallet on your main PC by running the following command:

./jdcoin-cli stop

Step 5: We need to now add the information above to our "Masternode.conf file"

Code:
Navigate to your Jdcoin data directory
cd ~/.jdcoin

Open masternode.conf with your favorite text editor and add in the following:
{Name of Masternode} {VPS IP Address}:50322 {The result of createmasternodekey you saved in the text doc.}
{Result of the getmasternodeoutputs} {The Single Digit Number after Masternode Ouputs}


A good example is this:

Example of a Proper Input:
Example: mn1 127.0.0.2:50322 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

After completing all that information you can save and close the file.

These procedures are for a clean server install. If you have an existing installation then some steps may not be required. Performing the steps is unlikely to have any effect on the system. Securing the server has NOT been included in this tutorial. That is your responsibility.

To be able to access a VPS, you need a software/SSH client like PuTTY for example. You can choose between alternatives as well, but this tutorial will not include installation of such software. After you successfully login to your VPS, follow the further steps.


Step 1 – Install most recent security patches

A clean server install will likely need some software updates. Enter the following command which will bring the system up to date:

sudo apt-get update && sudo apt-get -y upgrade


Step 2 – Download and extract jdcoin Core wallet for Linux

Masternode Configuration


Step 3 – Create the masternode configuration file and populate

Before the node can operate as a masternode a custom configuration file needs to be created. Since we have not loaded the wallet yet, we will create the necessary directories and the configuration file by typing the following command lines one by one:

mkdir ~/.jdcoin && cd ~/.jdcoin && sudo apt-get install nano && touch jdcoin.conf && nano jdcoin.conf

This command has created a blank jdcoin configuration file where we will enter our masternode configuration variables. Now we should properly setup configuration settings.

Paste the following configuration settings and modify them to have your fields in rpcuser, rpcpassword, externalip, masternodeaddr and masternodeprivkey

Code:

rpcuser=USERNAMEofChoice
rpcpassword=PasswordOfYourChoice
rpcallowip=127.0.0.1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=THEvpsIP
masternodeaddr=ThisVPSip:50322
masternodeprivkey=Result from createmasternodekey

Close and save the document.


Step 3: Start the VPS jdcoin wallet and wait for it to sync.
./jdcoind -daemon ./jdcoin-cli getblockchaininfo
-----------------------------------------------------------------

Back to your PC to start the Masternode.
If you have a password set on your wallet you will first need to unlock it:
./jdcoin-cli walletpassphrase YOURPASSWORD 90
90 means it will be unlocked for 90 seconds.

You can now proceed to start your masternode:
startmasternode missing y

and on your VPS run the following:
./jdcoin-cli startmasternode local false