Unlock Success with DedicatedCore's Setup Guide in Storagechain.io
Tags: storagechain, dedicatedcore, setupnode, virtualserver
Published: 2024-04-18 09:18:00

Setting up a storage node is a pivotal step towards decentralized storage solutions, contributing to networks like IPFS or Storj. Begin by selecting appropriate hardware and ensuring reliable internet connectivity. Opt for a machine with sufficient storage capacity and processing power to handle data efficiently. SSDs or HDDs with ample space are recommended, along with a stable internet connection for seamless data transfer.

Integrate your storage node with the chosen network. This typically involves generating a unique node ID and linking it to your hardware. Joining a network often requires creating an account and following specific protocols to ensure seamless integration. Regular maintenance and monitoring are essential to keep your storage node running smoothly, ensuring optimal performance and contributing effectively to the decentralized storage ecosystem.

By hosting a storage node, participants become integral components of decentralized storage networks, enabling data to be stored securely and accessed reliably from various locations worldwide. This decentralized approach not only enhances data resilience and availability but also fosters a community-driven ecosystem where individuals actively participate in shaping the future of data storage and accessibility.

**Critical System Prerequisites for Node Hosting:**

- Minimum of 100GB Available Storage Required
- 5,000 $STOR collateral/100GB Hosted Node
- 4X/m Bandwidth of Available Storage

**DedicatedCore:**

- Known for prioritizing performance, DedicatedCore likely offers VPS solutions with powerful hardware specifications. 
- Including high-speed SSD storage, ample RAM, and efficient CPU resources.
- DedicatedCore may offer a wide range of customization options for VPS instances. 
- Enabling users to customize their virtual servers based on particular specifications.

**RackNerd:**

- Their VPS plans may have slightly lower hardware specifications compared to DedicatedCore.
- RackNerd's VPS offerings may also provide some level of customization, but it's possible that the range of options could be more limited compared to DedicatedCore. 

**Pricing Comparison Best for Storage Chain:**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4irk22f3t3bp1djgmhy2.png)

Note: As per eligibility criteria for storagechain to host a Node you require high storage so better go for DedicateCore as they provide highest storage in affordable cost.

**Steps to Buy DedicatedCore Virtual Machine for storagechain.io:** 

**Step 1:Dedicated Core VM Purchase**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yhih3h8inevqqbqtqffq.png)

Select Storage VPS, click Buy Now

We use storage VPS cause it gives ok computer specs with a lot of storage.

In the next screen select the configuration of your choice and click Buy Now as shown below

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5xc2ozh2nqums697qfnt.png)

For this example, we’ll be choosing the 10TB sized node, but the configuration steps are the same no matter which size of Virtual Machine you choose for your Storagechain Node.

You’ll be presented with a screen similar to this to finish your order:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n0u54q938cxkqw19ylsb.png)

There are several data points we need to enter to have the server properly configured. Let's examine each of them separately.

1. Choose Billing Cycle - Choose how you’d like to pay (ie. Monthly, Quarterly, Yearly)
2. Host Name - The name of your server.  It needs to be an FQDN, for example:  Servername.domain.com  What you choose for the .domain.com doesn’t matter…It just has to have some data there in that format
3. Root Password - This is the password you will use to access your server via SSH.
4. NS1 - No use, but must be filled in.  I use server1 and server2 
5. NS2 - See Above
6. Operating System - In this case we will choose Debian 11

Click Continue and you’ll be taken to the payment screen.  It should look similar to this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vf0y8zmkuiapn33tx208.png)

Once you have input your payment info click “Complete Order”

You will be taken to the Services screen.  It will look similar to this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yi36m9hw34agii4bztci.png)

It may take a few minutes for DedicatedCore.com to put together your system, once it’s active you will notice the Status “Active” as highlighted in the above image.

Once the host is Active, it will be ready to be configured.
  
Make note of the IP address (masked in black in the above image).  
You will need this IP address for our next step.

**Step 2: StorageChain Node Setup**

Log into the storage chain website at https://storagechain.io/ 

On the left side of the screen expand  “My Storage Nodes” and click on “Host Storage Node”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ntph0hx9mtx5luxuefhs.png)

You’ll be presented with this screen:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s7d403kg6uwh914b2w63.png)

Let’s look at each field individually:

1. Choose the amount of storage for your node.
2. Name your node.  I recommend using Host-Location Capacity, but it’s up to you. 
3. Enter your node IP from DiedicatedCore.com “My Services” screen:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ro8vknfihhnj88h1gaj.png)

1. Make sure the storage node type says Virtual Machine
2. Next, connect your wallet that has STOR in it for collateral for your storage node
3. If you approve of the terms of service, Click the check box.
4. Add collateral.  Once, your collateral has been added you will get your storage node ID.  We will need this for the config file on the VM.

**Step 3: VM Software Download and Install**  

Depending on your platform, there are various ways to access your VM to complete the install:

Option 1- my weapon of choice is an SSH client called Putty:

**Step 1: Download the Installer**

Get the most recent version of PuTTY from the official website.
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mxwpqmap2mrdh2jrflwj.png)

Select the MSI installer version that is right for your system. Get the 64-bit edition for 64-bit operating systems or opt for the 32-bit variant of PuTTY if your system runs on 32-bit architecture. Save the file to the desired folder.
Step 2: Configuration and Installation
1. Launch the downloaded MSI file by double-clicking to initiate the installation process.
2. On the welcome page, select Next to carry out the installation.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rpuy3kktcxgwmhoq1o76.png)

3.If there's no need to modify the installation path, proceed by clicking Next. Click Change... to specify another path.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ssa26vako0p0hbvw98de.png)

4. Select which product features you want to install. Click Install.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gt3zlgb26g2sq0js7pwo.png)

5. When the installation is finished, the software displays a screen that reads "Setup complete." If you would want to view the developer's notes, click or uncheck the View README file option. Click Finish to exit the installer.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dh4w13n5y4vzbx7tdjl0.png)

**Step 3: Run Putty**

After installation, launch PuTTY to ensure good functionality.
To launch, either double-click the Desktop icon or utilize the search bar by typing 'putty' and pressing Enter.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y30jj12rotao6omu9lvs.png)

The PuTTY configuration window appears if the installation went smoothly.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/da3lci93fiqpj9406lsf.png)

The configuration options allow you to set up the connection type, and port, and connect to a server. Choose between SSH and enter a server hostname or IP address.

Option 2 - Start by opening a Windows PowerShell Prompt. Tip: Use the Windows search submit box located in the system tray to look up Windows PowerShell. 
The format for the command is ssh root@your virtual machine IP address

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g7meynp4eq9kkpg4iimr.png)

Option 3 - If you are using a Mac you can use Terminal to SSH

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nhg8ffixonxauu1hjlek.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f9if9q5do01xqy3ip2me.png)

The format for the command is ssh root@your virtual machine IP address 
You’ll be prompted to accept the keep.  Enter Y

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wkndqzq825fnfpwsvls3.png)

Enter your password

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b85gxi2n613q808arakt.png)

Having established connection to your VM.

Copy/Paste (as one line) and Run the following command:
 
echo "nameserver 8.8.8.8" >> /etc/resolv.conf;curl -L https://file-view-prod.storagechain.io/api/file/download/uqpR52G8mFYW4q78viQ4yrRhLUH43kSq > install.sh > install.sh && chmod +x install.sh ;./install.sh 

You should see a screen like this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5wme03uxzzfl4s0ejt46.png)

You will be requested to furnish the subsequent information:
Cluster Name = The name of your virtual machine on the storagechain node
Email = your registered email with Storage Chain
Password = Your Storage chain password
Node ID - Comes from setting up the node on the Storage Chain. You can retrieve in the “My Storage Nodes” screen on the Storagechain website.

The download will take up to 30 min to download/update the code.  You will see screens similar to this…Just be patient and let it have time to do its thing.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q6awjc9csqyyjqut9zka.png)

Once the install/config is complete (5-10 min), if it has successfully initialized, you should see a screen like this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2il9xe7kcmx4gp06otu6.png)

Let’s check the Storage Chain website to verify the node is active. Something like this ought to appear.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ykpo3fczq7g8znqj7fy.png)

If it’s green, you are good to go!  

Congrats on your new node!  

If not, kindly contact us and we will assist you.

**Conclusion**

In summary, the Node Setup Guide available on storagechain.in serves as a comprehensive blueprint for establishing a resilient node infrastructure within the StorageChain ecosystem. By meticulously outlining each step, from initial setup to ongoing maintenance, the guide empowers users to actively engage in the network's operations and guides them through setting up a node with DedicatedCore, should they choose to pursue it.

Moreover, the guide prioritizes security measures and best practices, ensuring the ongoing integrity and resilience of the evolving network. With this guide as their companion, users can confidently navigate the complexities of node deployment, contributing to the precise and proficient growth and sustainability of StorageChain.