#                  Shardeum Node

By [Untitled](https://paragraph.com/@0x73ff800cf158546ba7663ae84fe19d6e09590768) · 2023-04-07

---

**Part 01:**

You need to rent a VPS server at first , VPS servers have some advantages:

Minimum Hardware Requirements CPU: 4vCore, RAM: 8 GB RAM , SDD: 60GB, OS: Ubuntu 20.04

**Part 02:**

How to Connect To Your VPS MacOs: To connect via SSH from this operating system, first open the Terminal window. You can find this tool by going to “Application->Utilities->Terminal”.

Windows: you can use many tools like putty and MobaXterm

1.Download one and lunch the application

2.Use informations which has been sent to your email address

3.Copy IP and enter in app and click on Open button

![](https://storage.googleapis.com/papyrus_images/368ceebda604de85c3c91569386922871b80e4ab62746bae8eb8da0991220f46.png)

4.Click on “Accept” bottun , Enter your username and password

**Note: To paste any command that you have already copied just right-click where you want to paste the command**

![](https://storage.googleapis.com/papyrus_images/5e89cad1e4dbb7630e8514fa26432bbcedc49f6a036d08d0b5908ba900b5fa54.png)

5.Enter or paste your password again and type new password and retype it again.

![](https://storage.googleapis.com/papyrus_images/012796601c50ac8dd190a7f14e4a9717dacfd2b5d55f265a9a8fd3b848f580ed.png)

Finally you are on server, now you have permission to write or paste commands.

You should paste or type step by step the following commands that I have written.

**Part 03: Preparation**

1.Update & Upgrade Server

Before you get start, need to update and upgrade server.

`sudo apt update && apt upgrade -y`

![](https://storage.googleapis.com/papyrus_images/480ecb37b06e3f05a04ebb4afceecbee90a7852faada134bee9fbe3ffb4c6c39.png)

**2.Install Docker**

You shoul install the Shardeum node by docker, following commands help you to install that.

`sudo apt-get install ca-certificates curl gnupg lsb-release`

![](https://storage.googleapis.com/papyrus_images/26000f0c384a5faeb4abe2448de76431266370e466b2aaab2191afaaab3acf70.png)

Add Docker’s official GPG key:

`sudo mkdir -p /etc/apt/keyrings` `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg`

![](https://storage.googleapis.com/papyrus_images/a481fe210e889fe81e328ce0053a20fb7134e9e591e6d21a1e6ba99e298f6715.png)

Use the following command to set up the repository:

`echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null`

![](https://storage.googleapis.com/papyrus_images/f5261a107d168408a51a06afb7edc2c0aec10c6ae3e6750442ecfdcb1c977832.png)

Try granting read permission for the Docker public key file before updating the package index:

    sudo chmod a+r /etc/apt/keyrings/docker.gpg
    sudo apt-get update
    

![](https://storage.googleapis.com/papyrus_images/377828d839dbd7b5913ed97ade3c099ded5092ede4f84e9dd73069ea5f611324.png)

To install the latest version, run:

`sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin`

![](https://storage.googleapis.com/papyrus_images/e6bbc8d50ba412bf0ada823fec2d09f5b21fb42c6fb6a47c19706968ccf0a142.png)

To install docker compose:

`sudo apt install docker-compose`

When command prompt asks you, type **Y** and press **ENTER** on your keyboard.

![](https://storage.googleapis.com/papyrus_images/077299d91d7e0539d3307399af4f864b524cb51a16f660e04c1dae0c9423e801.png)

Verify that the Docker Engine installation is successful by running the `hello-world` image:

`sudo docker run hello-world`

![](https://storage.googleapis.com/papyrus_images/539a54558bc093e7a20786774b5ee0554e62ae8e9b52c817e3a47b6f05be4c21.png)

Check docker compose version:

`docker-compose -v`

![](https://storage.googleapis.com/papyrus_images/d23dee169e71e2166bb3fd2e502f2fa34858d872fb0f9ec7dc9a6f7b67b52496.png)

**Part 04: Install The Node**

1.Download and Install

Download the node and install it by the following command:

`curl -O https://gitlab.com/shardeum/validator/dashboard/-/raw/main/installer.sh && chmod +x installer.sh && ./installer.sh`

![](https://storage.googleapis.com/papyrus_images/d917e6bbf08e20d1645621db2f9a794138a39ea39f2d572f81f4608449d23501.png)

Command prompt will ask questions about your setup settings.

Enter **y** to setup the web based dashboard:

`Do you want to run the web based Dashboard? (y/n): y`

Set a password for dashboard access:

`Set the password to access the Dashboard:`

Add a custom session port for the web based dashboard or press enter for port 8080:

`Enter the port (1025-65536) to access the web based Dashboard (default 8080):8080`

Add a custom path or install to root:(press **ENTER**)

`What base directory should the node use (defaults to ~/.shardeum):`

Wait for the installation process to complete.

![](https://storage.googleapis.com/papyrus_images/de99f8be3c4fc6a2d659505dfb3bdaaf47151d1684808761e6a90e32326e536f.png)

**3.Config firewall**

Open port based on your choice in previous step if you chose default port then you need to open 8080 also others like https, http, ssh, 443 .

`ufw allow ssh` `ufw allow 8080` `ufw allow https` `ufw allow http` `ufw allow 443` `ufw enable`

When command prompt asks you, type **y** and press **ENTER** on your keyboard.

![](https://storage.googleapis.com/papyrus_images/41126f5bb57c348e6aaa05653177a01f9da41ed894be2318fd78ab0c60a2252e.png)

**Part 05: Run The Node**

Go to the hidden Shardeum directory:

`cd .shardeum`

![](https://storage.googleapis.com/papyrus_images/d69298b6a357772f1714b568885993546e519d8374b9854409a8e67ac82195b6.png)

**2.Start Script**

Start the CLI by running the following shell script:

`./shell.sh`

![](https://storage.googleapis.com/papyrus_images/76008b3c8c28837b72ee58b86a16c5a849370f219fa60bd2f24bcae183568d83.png)

**3.Start GUI**

`operator-cli gui start`

![](https://storage.googleapis.com/papyrus_images/a854f9ef3643446edebd7b65e9a581a755a63686f52bdbc373940b79010ab0b4.png)

**4.Dashboard**

Open browser and enter your address according to the example below. Replace your IP with . `https://<localhost>:8080` Enter the password which you set in the pervious step and click on Connect Button. **5.Start Validator** Go to the “Maintenance” page, then click the “Start Node” button in the top left white box. Refresh the page and look at time validating parameter, it is increasing. **6.Monitor** Go to “Performance” to see your node’s hardware performance here. the node consumes so much RAM, be carefull you need at less 4GB RAM. For more details about your node status run the following inside the CLI: `operator-cli status` pm2 list **Part 06: Connect Wallet** **1.MetaMask** **2**.**Connect Wallet to Betanet** [https://docs.shardeum.org/Network/Endpoints#connect-wallet](https://docs.shardeum.org/Network/Endpoints#connect-wallet) **3.Request Faucet** Use the link below and request faucet according to example in the faucet channel. Type "/faucet \[sphinx address\]" to claim testnet SHM on Sphinx 1.0 network #Example /faucet address 0x0000000 **4.Stake SHM** After you start the validator, go to the “Maintenance” page. You will be asked to connect your wallet: This example has filled in 10 SHM tokens to stake. Once all fields are filled, click the “Stake” button. Your wallet will ask you to sign the transaction stake your SHM. Once the transaction is signed and complete, you have staked your SHM tokens successfully. [https://discord.gg/shardeum](https://discord.gg/shardeum) **Shardeum has annount 5% of its total supply to node runners officially.** **Try to run node untill mainet launch or atleast for 60 days**

---

*Originally published on [Untitled](https://paragraph.com/@0x73ff800cf158546ba7663ae84fe19d6e09590768/shardeum-node)*
