Prerequisites
Prerequisites for installing and running Initia
Last updated
Prerequisites for installing and running Initia
Last updated
The minimum hardward requirements for running an Initia node:
CPU: 4 cores
Memory: 16GB RAM
Disk: 1 TB SSD Storage
Bandwidth: 100 Mbps
It is recommended to use Linux OS to run Initia nodes. Running Initia node has not been tested on other OS environments, and same environment settings and running conditions cannot be guaranteed.
Node Operators guide is also based on Ubuntu Linux 20.04 LTS or Ubuntu Linux 22.04 LTS.
Installing Initia can be done in 2 different ways.
Downloading the source and directly building Initia. (Go to Building Initia)
Using prebuilt binaries (Go to Using prebuilt Initia)
Running an Initia node requires you to run an oracle sidecar as well.
You can install the oracle sidecar binary via one of the following:
Building from source (Go to )
Prebuilt binaries (Go to )
For complete information on the oracle, please see Oracle
This section describes how to run Initia by downloading the source and building it.
To build Initia, essential utilities must be installed. These utilities are provided on Linux distribution, and package components for Ubuntu can be found in the below link:
The below command should print the current go version
.
Clone and build the Initia source code repo.
The below command line can be executed to check if the install has been successful.
If initiad
is not found, run go env
and check if $GOBIN or $GOPATH/bin directories are included in $PATH.
You can download pre-built binaries for each of Testnet or Mainnet(TBA) from the network repository. Download the compression file for your OS.
Below is an example of bash command line.
On Linux, the number of files that can be opened in a single process can be set on configuration. Many Linux distributions limit the number to 1024, which is smaller than the number of files opened by Initia. To use Initia, this configuration has to be modified.
The current value can be checked with ulimit -n
command, and root /etc/security/limits.conf
file can be modified to change this parameter. By adding the below to limits.conf
the maximum for all accounts can be increased to 65535. To only modify the number for the account running Initia, enter the account name instead of *
.