How to setup headless Qortal node with minting on Vultr VPS - Ubuntu 18.04

in #qortal5 months ago



Alternate link for this blog with better formatting:

This article goes through the process of setting up a headless Qortal node using Vultr VPS, and setting up a minting account for the node.

Setup VPS

Register Vultr account and create a server

Register an account with Vultr
(referral link:

Deploy a new server, under Server Type select Ubuntu 18.04.
Rest of the form should be filled, change what you need and submit the form to finish deployment.
(Wait a while until installation is completed, usually up to few minutes)

Install Qortal Core on the server

[email protected]:~# git clone
[email protected]:~# sudo apt install maven

[email protected]:~# cd qortal/
[email protected]:~/qortal# echo '{}' > settings.json
[email protected]:~/qortal# mvn clean package

  • run the core (not needed now if we are going to download the bootstrap):
    [email protected]:~/qortal# tmux
    in tmux screen:
    [email protected]:~/qortal# java -jar target/qortal-1.4.1.jar (might be different version)
    Press CTRL + B, then D to exit tmux.
    Node is now running.

(optional) Download and extract Bootstrap (blockchain data files)

Install 7z (we need it to extract the bootstrap archive):
[email protected]:~# sudo apt-get install p7zip-full

Download the bootstrap (use other bootstrap source if needed):
[email protected]:~/qortal# wget && mv download

Extract the downloaded file:
[email protected]:~/qortal# 7z x

Add minting key

Make sure Qortal Core is running.
Navigate to home directory

download the Qort tool script (source
[email protected]:~# wget

make the script executable
[email protected]:~# chmod +x qort

Add minting key
[email protected]:~# ./qort admin/mintingaccounts YOUR_MINTING_KEY

(optional) Check for added minting keys:
[email protected]:~# ./qort -p admin/mintingaccounts

More info

If running a VPS with less than 2GB RAM, you might need to allocate some swap space.

If running a VPS with 2GB RAM or less, your core might run out of RAM ocassionally, so limit the RAM which Java process can use when running the core:

[email protected]:~/qortal# java -Xmx1500M -jar qortal.jar