VPS Servers
Setting up a Datagram node on a VPS is quick and straightforward. Follow the steps below to install, configure, and verify your node as a Partner Substrate, allowing you to contribute compute resources and earn rewards.
Prerequisites
A VPS server (Ubuntu or compatible Linux distribution)
Root access or a user with sudo privileges
Your VPS IP address
A Datagram account
Let’s get started. 🚀
Setup Instructions
Step 1: Open Your Local Terminal (macOS/Linux) or an SSH client like PuTTY (Windows) to begin the setup process.
Step 2: Run the following command in your terminal to connect to your VPS:
ssh root@<your-server-ip>
Note: Replace <your-server-ip> with your actual VPS IP address. When prompted, enter your VPS root password.
Step 3: Once you're logged into your VPS, run the command below to download and run the Datagram installer script:
wget -O datagram-installer.sh https://gist.githubusercontent.com/datagram-dev/8ef3d7678dc828e45a65a3e955327736/raw/datagram-installer.sh && chmod +x datagram-installer.sh && sudo bash datagram-installer.sh
This command will:
Download the installer script
Make it executable
Run the installer with elevated privileges
Step 4: During the installation, you’ll be prompted to enter a License Key. Enter Your License Key. For more information on how to get your license key, refer to the section “Obtain your License Key.”
Step 5: To check the current status of your Datagram node, run:
status-datagram
This will show whether your node is online, offline, or initializing.
Step 6: If the status shows offline, restart the Datagram service by running
restart-datagram
Then, check the status again by running
status-datagram
Repeat these commands as needed until the node status shows as online.
Step 7: Lastly, go back to the Dashboard and confirm that your node is showing as connected. Once connected, it will begin earning points automatically.

Your VPS server is now successfully set up as a Partner Substrate in the Datagram Network. It will contribute to the network’s compute capacity and begin earning rewards based on performance and uptime.
How to Obtain Your License Key
Step 1: Open your browser and log in/sign up for a Datagram account if you haven’t already. Step 2: Navigate to the “Wallet” section from the left sidebar, then click on the “Licenses” tab at the top to manage your license settings.

Step 3: Here, you can copy the License Key displayed on the page. Paste the License Key when prompted to enter a License Key, and press Enter to continue.

Last updated