These steps assumes you have a basic knowledge of Linux system terminal and you are able to set up a VPS and connect to it using Putty or some other secure shell. If you need more infomation read here.

In order to proceed with the installiation, it is important to have completed the Preliminary Operations.

Step #1

First we must to access on our VPS via Putty and setup Swap Space, in order to increase virtual memory for successfully compile source code on low ram machine.

After logging in, run these following commands as Root User:

fallocate -l 3G /swapfile [enter]
chmod 600 /swapfile [enter]
mkswap /swapfile [enter]
swapon /swapfile [enter]
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab [enter]

Step #2

Now it’s time to install the depencies with following commands:

sudo add-apt-repository -y ppa:bitcoin/bitcoin [enter]
sudo apt-get install -y software-properties-common python-software-properties [enter]
sudo apt-get update [enter]
sudo apt-get install -y pkg-config [enter]
sudo apt-get -y install build-essential autoconf automake libtool libboost-all-dev libleveldb-dev libgmp-dev  libgmp3-dev libssl-dev libcurl4-openssl-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev autogen libtool git libevent-dev libprotobuf-dev [enter]
sudo apt-get install -y curl g++ git-core pkg-config libtool faketime bsdmainutils mingw-w64 g++-mingw-w64 nsis zip ca-certificates python [enter]

Step #3

Now you are ready to compile the Berkely DB v4.8 database:

sudo apt-get install libdb4.8-dev libdb4.8++-dev -y [enter]

Step #4

Run now the following commands to download and compile KLKS source code.

sudo git clone [enter]
cd klks [enter]
chmod -R 777 * [enter]
./ [enter]
./configure [enter]
sudo make [enter]
cd klks/src [enter]
./klksd & [enter]



When you start the wallet for the first time a new folder is created with the chain, the .conf file and so
on. As the klks.conf file has not been set up yet, you will likely receive the follow message:

Error: To use klks, or the -server option to klks-qt, you must set an
rpcpassword in the configuration file: /root/.klks/klks.conf


To resolve this you need to proceed with next step

Step #5

Move to your KLKS system folder and edit the “klks.conf” file with your masternode information:

cd [enter]
cd .klks [enter]
sudo nano klks.conf [enter]

Now you have to enter the follow informations and save:


Save with Ctrl + X, confirm with Y and press Enter

Step #6

Back to your klks src folder to run the demon and start your masternode. Enter the following commands:

cd [enter]
cd klks/src [enter]
./klksd & [enter]
./klks-cli masternode start [enter]
./klks-cli masternode status [enter]

Step #7

Now it’s time to get back to your Desktop Wallet, open it and click on:

Tools’->  ‘Open Masternode Configuration File’.

In the ‘Masternode Configuration file’ we’ll need to input the following information:


MN Label:  <Enter a label for your Masternode>

VPS IP:Port: <IP address of your VPS and port 51121>

Masternode genkey: <Masternode Genkey>  (we generated previously at Preliminary Operation)

TX id:  <Your transaction through the Masternode> (we generated previously at Preliminary Operation)

TX out: <OutputIndex of your transaction> (we generated previously at Preliminary Operation)

Example: klks_ms01 6rPBVJLZ7837WFRutKuZTZmbFq6USZG3rHCTTPosJuXg4DpiyQ3 525901f650f28c83b4b2df449ea4a738e0627bf151734e62fb30bd56de01cf21 0


Next, save the configuration file, close and restart your KLKS desktop wallet:

Step #8

After restarting your Wallet , go to “Masternodes” Section, select your Masternode and click on “Start Alias“:

Welcome to the KLKS Masternodes Community!

We advise you now to discover some features that optimize the performance of your Masternode: