> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/mainnet/celestia/consensus-node/server-setup.md).

# Server Setup

**Mainnet** · Chain ID `celestia`

Run these commands on a new Ubuntu 24.04 x86\_64 host, using a regular account with sudo access. Mainnet and testnet guides assume separate hosts. Running both on one host needs distinct homes, services and ports.

Run each block separately and continue only after it succeeds. Names in `YOUR_...` are values you must replace.

## Prepare the host

Confirm that the architecture is x86\_64.

```bash
uname -m
```

Check that glibc is at least 2.38.

```bash
ldd --version
```

Refresh package information.

```bash
sudo apt update
```

Install the tools used in these guides.

```bash
sudo apt install -y curl ca-certificates tar lz4 jq git make nano build-essential clang pkg-config libssl-dev
```

## Install Go for source builds

Skip this section when using prebuilt binaries. celestia-app and Fibre v11.0.0 source builds use pinned **Go 1.26.10**. The Makefile downloads it when needed. This section shows how to install it explicitly. Source builds use `make install` for the app multiplexer and `make build-fibre-server` for Fibre from the matching release tag.

Create a working directory for downloads.

```bash
mkdir -p "$HOME/celestia-downloads"
```

Work in the download directory.

```bash
cd "$HOME/celestia-downloads"
```

Download the pinned Go toolchain from its official site.

```bash
curl -fL --retry 3 -o go1.26.10.linux-amd64.tar.gz https://go.dev/dl/go1.26.10.linux-amd64.tar.gz
```

Download the official release metadata.

```bash
curl -fsS 'https://go.dev/dl/?mode=json&include=all' -o go-releases.json
```

Select the checksum for this exact archive.

```bash
jq -er '.[] | select(.version == "go1.26.10") | .files[] | select(.filename == "go1.26.10.linux-amd64.tar.gz") | "\(.sha256)  \(.filename)"' go-releases.json > go.sha256
```

Verify the archive. Continue only when it reports OK.

```bash
sha256sum --check go.sha256
```

Create a local toolchain parent directory.

```bash
mkdir -p "$HOME/.local/lib"
```

Create a new, empty versioned directory. Stop if it already exists and inspect the existing installation.

```bash
mkdir "$HOME/.local/lib/go1.26.10"
```

Extract Go without replacing a system installation.

```bash
tar -xzf go1.26.10.linux-amd64.tar.gz --strip-components=1 -C "$HOME/.local/lib/go1.26.10"
```

Make the toolchain and user binaries available in this shell.

```bash
export PATH="$HOME/.local/lib/go1.26.10/bin:$HOME/go/bin:$PATH"
```

Confirm the installed version.

```bash
go version
```

For later shell sessions, add the same PATH line to your shell profile. Systemd units below use absolute binary paths.

Sources: [v11.0.0 build requirements](https://github.com/celestiaorg/celestia-app/releases/tag/v11.0.0) · [Environment setup](https://docs.celestia.org/operate/getting-started/environment-setup/) · [Official Go downloads](https://go.dev/dl/).
