StorX Documentation

  • Theme Icon

Setup StorX Storage Node manually

What is a storage node ?

A storage node is a critical component in a storage system or network, responsible for storing, managing, and providing access to data. The term can be used in various contexts, depending on the specific technology or architecture involved.

Steps to undergo to get started with the storx for node setup.

Before we get started with the node deployment. Lets connect with the server using the ssh comand.

  1. Firstly write the following command in the terminal to start working with the deployment in the server.
  2. img

  3. Installation of the identity file in the device
    • Download the Identity Binary for the linux Open a terminal window as a usual user (not administrator or root), copy and paste the command in your terminal.

    • icon icon
      img
    • The above process will install the storage-node directory into your machine. you can view this using the "ls" command in your terminal. You will find the storage-node file with the "identity_linux_amd64.zip" file.

  4. Creation of identity file in Machine/Server
    • Once you have done with the installation of identity file now you need to create identity file this process will continue until it reaches a difficulty level of at least 36! or more.

    • icon icon
    • Use the above command to generate the Identity file.

    • Note:- This may take time so wait for the identity file to get generated showing the below interface in your system.

      img
      Confirmation of the identity
    • Run the following command to confirm you have the required identity files:

    • icon icon
    • The following command will return output as below.

    • img

  5. Setting config location
    • Once config is created on location " /root/.local/share/storj/identity/storagenode". Now we need to create "~/.storx/identity" and "~/.storx/config" directory. And then move identity directory to "/root/.local/share/storj/identity/storagenode/* ~/.storx/identity"

    • Copy the below command to your terminal

    • icon icon
    • Lets validate the files to check if it is created successfully. Copy the below command into terminal.

    • icon icon
    • You should be able to see the output as below in your terminal.

    • ca.cert ca.key identity.cert identity.key

      img

  6. Installation of the docker in linux
  7. i. Add Docker's official GPG key:

    icon icon

    ii. Add the repository to Apt sources:

    icon icon

    iii. Install the Docker packages.

    icon icon
    • Once the docker is installed in the system we can begin with the deployment— Skip the docker installation process if it's already installed.

  8. Execution of the docker command to start node
    • Run the below command to run a Docker container based on the image.

    • icon icon
    • The below command will starts a StorX storage node in a Docker container.

    • icon icon

      Note:- Before you run the above command set the Wallet, Email ID and the IP Address properly.

    • Once you are done with the set up you need to check for the logs if it is working properly using the below command:--

    • icon icon
    • Ensure the output is similar to the below image.

    • img
    • You can check the containers in the docker using the below commands

    • icon icon
      img
    • Once the setup is done. Yon can visit your browser and enter the ip address and check if the node is setup properly.

    1. In your URL enter the http://your_ip_address:14002

    img

  9. Stake SRX token
    1. Once you are navigated to the https://farmer.storx.io/.
      img
    2. Enter your wallet id into the search bar.
      img
    3. Now you will be able to check the status of your node deployement.
      img

    • After setting up StorageNode please Stake SRX token from the URL : https://farmer.storx.io/
    • IMP Note : You have to stake SRX token to get hosting and staking rewards.

  10. Troubleshooting
    • Public discussions on the technical issues, post articles and request for Enhancements and Technical Contributions.

    1. Telegram - Stay updated with all the Announcements.
    2. Discord - Join the community to find answers to all your questions.
    3. Reddit - Join the channel to have a healthy interaction with the community.
    4. GitHub - Join the developers community on GitHub