Skip to content

How to Install V Systems Mainnet Node

noda edited this page Feb 28, 2024 · 7 revisions

v.systems Mainnet Node Setup

Operating System

v.systems supports Ubuntu 18.04. You may be able to get it to work elsewhere-- mac, centos, or other versions of Ubuntu, but we support Ubuntu 18.04. This document assumes that you've provisioned a server somewhere in the cloud, or if using bare metal, have installed the latest Ubuntu 18.04 on your server.

Install V Systems

On a freshly provisioned Ubuntu 18.04 machine, do the following:

# GO HOME
cd ~/

# UPDATE YOUR MACHINE FOR SECURITY
sudo apt update
sudo apt upgrade

# INSTALL JAVA
sudo apt install openjdk-8-jre-headless

# FETCH DEB PACKAGE
wget https://github.com/virtualeconomy/v-systems/releases/download/v0.4.2/v_systems_0.4.2_mainnet.deb

# INSTALL
sudo dpkg -i v_systems_0.4.2_mainnet.deb

Configuration

Now it's time to check your vsys config! It's embedded into the deb package and unpacked to /usr/share/vsys/conf/vsys.conf and symlinked to /etc/vsys/vsys.conf. Please read V Systems Mainnet Node Configuration File and edit your vsys config with caution.

The default vsys directory (for wallet, blockchain and other node files) is /var/lib/vsys/.vsys/. If you want to change vsys directory, you should change directory in /etc/vsys/vsys.conf

sudo vi /etc/vsys/vsys.conf
vsys {
  directory = <set to your path>
  logging-level = DEBUG
  ...

Start the node!

Enable the vsys service so it starts automatically when you start your computer:

sudo systemctl enable vsys

start v.systems:

sudo systemctl start vsys 

You can find vsys logs in journald:

journalctl -u vsys.service -f