# Setting up a Casper Node

**URL:** <https://forums.casperlabs.io/t/setting-up-a-casper-node/186>\
**Category:** Node Operation\
**Created:** [September 18, 2021, 5:45am UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186 "2021-09-18T05:45:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kavma](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Kavma](https://forums.casperlabs.io/u/Kavma)\
**Post date:** [September 18, 2021, 5:45am UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/1 "2021-09-18T05:45:38Z")

</div>

Welcome to the Casper guide for setting up a casper node to join to the casper network! This guide will cover prerequisites for running a node, the different networks in the Casper ecosystem, and links to the official set-up guides for building a casper-node.

**Prerequisites for installation**

You can see the recommended hardware specs for a casper node on the Casper official docs site, [here](https://docs.casperlabs.io/en/latest/node-operator/hardware.html). As of this writing, the system requirements are:

- 4 Cores
- 32 GB RAM
- 1 TB disk (Both SSDs and HDDs work, but SSDs perform initial sync much faster.)
- System OS of Ubuntu 18.04, 20.04, or (not officially supported binaries yet but functional) Redhat CentOS.

**Pre-installation tips**

When starting to build the casper-node, ensure you are not running the commands as `root` or `casper` users, as this will have several repercussions. Running as root will cause file permissions issues and the casper-node installed `casper` user to not be able to see various files crucial to the operation of the casper node. The normal installation instructions will create the user `casper` which is a no-login user account used by the casper-client / casper-node.

Running as a non-root user, ensuring your system and software is up to date before beginning installation is always recommended.

**Installation**

There are several guides available outlining how to set up a casper node. The casper-test TestNet instructions available via [cspr.community](https://docs.cspr.community/) provide instructions on running a node either locally on physical hardware or virtually on AWS.

Cspr.community also includes mainnet installation instructions which work well for setting up as well. You can also optionally follow the instructions located on the official Casper github wiki, found [here](https://github.com/casper-network/casper-node/wiki/Mainnet-Node-Installation-Instructions).

**Syncing to the network**

Syncing to the network will take several hours. You can monitor your node’s synchronization progress by running the following command (also provided in the github wiki):

> watch -n 5 ‘echo -n "Peer Count: "; curl -s localhost:8888/status | jq “.peers | length”; echo; echo “last\_added\_block\_info:”; curl -s localhost:8888/status | jq .last\_added\_block\_info; echo; echo “casper-node-launcher status:”; systemctl status casper-node-launcher’

Compare the “last\_added\_block\_info” block height to [cspr.live](https://cspr.live/blocks). Until your node has reached the same block as shown on the block explorer, your node’s RPC port (port 7777) will not be available to make deploys to.

Check out our other guides for helpful commands to monitor and administer to your node.

---

<div class="post-metadata">

**Author:** ![cryptoland](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cryptoland](https://forums.casperlabs.io/u/cryptoland)\
**Post date:** [June 10, 2022, 10:31pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/2 "2022-06-10T22:31:42Z")

</div>

Hi, what is the current hardware requirements/sugestions to set up a Casper node and load all the mainnet data at the shortest time?

Hope to hear from you soon.  
Thank you!

---

<div class="post-metadata">

**Author:** ![cryptoland](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cryptoland](https://forums.casperlabs.io/u/cryptoland)\
**Post date:** [June 10, 2022, 11:12pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/3 "2022-06-10T23:12:35Z")

</div>

Which ports are needed to be open to start mainnet data load to the Casper node?

---

<div class="post-metadata">

**Author:** ![Kavma](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Kavma](https://forums.casperlabs.io/u/Kavma)\
**Post date:** [June 15, 2022, 5:40am UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/4 "2022-06-15T05:40:34Z")

</div>

Hi @cryptoland, you can see our current system specs for running a node here:

> **[Recommended Hardware Specifications | Casper](https://docs.casperlabs.io/operators/hardware/)**
>
> System Requirements

Right now we do not have snapshots available or fast sync enabled, so depending on network conditions of your node and distance to other nodes on the network, sync can take a few days. In version 1.5.0 we are implementing fast sync which will bring sync time down to a matter of a couple of hours.

You will need to have port 35000 open to gossip blocks and receive blocks from peers on the network. The other ports that can be opened at your discretion are: 7777 for the RPC api, to send deploys to (like adding a bid to the validator auction), 8888 for status endpoint and 9999 for the event stream. You can limit public access to these ports any way you see fit without affecting node operation. If you plan to send smart contract deployments or bond your node to the network by adding a bid in the validator auction, ensuring you have access to port 7777 is a good idea.

Keeping port 8888 publicly available does allow anyone to query your node, but does give the support team here at Casper the ability to check on the current info of the node on the fly.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![cryptoland](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cryptoland](https://forums.casperlabs.io/u/cryptoland)\
**Post date:** [July 14, 2022, 8:28pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/5 "2022-07-14T20:28:43Z")

</div>

Hi,

After all the mainnet data is loaded on the node, I would like to learn how we can access the mainnet data on casper node on our VM server. I plan to send this data to another tool that process data as streams and wonder what kind of connector we need to set up this pipeline. That’s why I wanted to ask how we can access Casper blockchain data on the node that we’ve set up.

Hope to hear from you soon.  
Thank you!

---

<div class="post-metadata">

**Author:** ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.casperlabs.io/u/joe)\
**Post date:** [February 3, 2025, 6:16pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/6 "2025-02-03T18:16:21Z")

</div>

Unlisted on February 3, 2025, 6:16pm UTC



---

<div class="post-metadata">

**Author:** ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.casperlabs.io/u/joe)\
**Post date:** [February 3, 2025, 6:16pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/7 "2025-02-03T18:16:34Z")

</div>

Closed on February 3, 2025, 6:16pm UTC



---

<div class="post-metadata">

**Author:** ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.casperlabs.io/u/joe)\
**Post date:** [February 3, 2025, 6:16pm UTC](https://forums.casperlabs.io/t/setting-up-a-casper-node/186/8 "2025-02-03T18:16:44Z")

</div>

Archived on February 3, 2025, 6:16pm UTC


