$ fresh vps → running wallet in 8 steps
Run these commands right after connecting to your VPS via SSH.
sudo apt update && sudo apt upgrade -y sudo apt install -y wget curl tar ufw screen \ libssl-dev libboost-all-dev libevent-dev bsdmainutils
Prevents out-of-memory crashes on VPS with 1 GB RAM. Skip if you have 2 GB+.
sudo fallocate -l 2G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Downloads the correct binary for your OS and installs it system-wide.
wget https://github.com/Quimera-Developer/Lunarium-XLN/releases/download/v3.0.0/XLN-Linux2004.tar.gz
tar -xvf XLN-Linux2004.tar.gz
chmod +x lunariumcoind lunariumcoin-cli sudo cp lunariumcoind lunariumcoin-cli /usr/local/bin/
lunariumcoind and lunariumcoin-cli are available from any directory.The daemon requires a lunarium.conf to start correctly.
mkdir -p ~/.lunariumcoin nano ~/.lunariumcoin/lunarium.conf
rpcuser=lunariumrpc rpcpassword=StrongPasswordHere123! rpcallowip=127.0.0.1 daemon=1 server=1 listen=1 staking=1 addnode=80.211.30.202:44071 addnode=212.237.24.82:44071 addnode=80.211.85.215:44071
Screen keeps the daemon alive after closing the SSH session.
screen -S lunarium lunariumcoind
screen -r lunariumWait 1–2 minutes after starting, then run:
lunariumcoin-cli getinfo
Watch the blocks field grow until it matches the current network block height.
lunariumcoin-cli getblockcount lunariumcoin-cli getstakingstatus
Opens only the required ports and protects SSH access.
sudo ufw allow ssh sudo ufw allow 44071/tcp sudo ufw enable
Once the VPS is fully synced and the 10,000 XLN collateral is confirmed in the desktop wallet, open the Debug Console and run:
masternode start-alias MN1
Confirm on the VPS:
lunariumcoin-cli masternode status
lunariumcoin-cli getinfo # general status lunariumcoin-cli getbalance # wallet balance lunariumcoin-cli getstakingstatus # staking status lunariumcoin-cli mnsync status # sync status lunariumcoin-cli stop # stop the daemon lunariumcoind # start the daemon