This guide has been tested against Linux distributions only. To ensure a successful production environment setup, consider using a Linux system.
Running a full Terra node is a resource-intensive process that requires a persistent server. If you want to use Terra without downloading the entire blockchain, use Terra Station. If you want to set up a local, WASM-enabled, private testnet for smart contracts, visit install LocalTerra.
The minimum requirements for running a Terra full node are:
|4 (+4 threads)||32 GB||2 TB (SSD 2000 MB/s R/W)||300 Mbps|
|2 (+2 threads)||16 GB||500 GB (SSD 1000 MB/s R/W)||150 Mbps|
|2||4 GB||20 GB (SSD 500 MB/s R/W)||N/A|
|1||2 GB||20 GB (SSD 500 MB/s R/W)||N/A|
As the network grows, the minimum hardware requirements will also grow. It is recommended that you monitor the system so you can prevent it from running out of resources.
Installing Go for MacOS & Linux
Go releases can be found here: https://go.dev/dl/
In your browser, you can right-click the correct release (V1.18) and then click on
Copy Link Address.
_22# 1. Download the archive_22_22wget https://go.dev/dl/go1.18.2.linux-amd64.tar.gz_22_22# Optional: remove previous /go files:_22_22sudo rm -rf /usr/local/go_22_22# 2. Unpack:_22_22sudo tar -C /usr/local -xzf go1.18.2.linux-amd64.tar.gz_22_22# 3. Add the path to the go-binary to your system path:_22# (for this to persist, add this line to your ~/.profile or ~/.bashrc or ~/.zshrc)_22_22export PATH=$PATH:/usr/local/go/bin_22_22# 4. Verify your installation:_22_22go version_22_22# go version go1.18.2 linux/amd64
- Linux users:
sudo apt-get install -y build-essential
Commonly used ports
Terrad uses the following TCP ports. Toggle their settings to match your environment.
Most validators will only need to open the following port:
26656: The default port for the P2P protocol. This port is used to communicate with other nodes and must be open to join a network. However, it does not have to be open to the public. For validator nodes, configuring
persistent_peersand closing this port to the public are recommended.
1317: The default port for the Lite Client Daemon (LCD), which can be executed by
terrad rest-server. The LCD provides an HTTP RESTful API layer to allow applications and services to interact with your Terrad instance through RPC. For usage examples, see Terra REST API. You don't need to open this port unless you have use for it.
26660: The default port for interacting with the Prometheus database, which can be used to monitor the environment. In the default configuration, this port is not open.
26657: The default port for the RPC protocol. Because this port is used for querying and sending transactions, it must be open for serving queries from Terrad.
Do not open port
26657 to the public unless you plan to run a public node.