-
Notifications
You must be signed in to change notification settings - Fork 647
Open
Description
Use case
Problem: Need a reliable, accessible, and persistent environment to run a Web3/Blockchain node (Nexus Network) in the cloud without relying on local hardware resources.
Solution: Deploying a Cloud Virtual Machine (CVM) accessible directly via a web browser (ttyd), ensuring seamless remote access. The setup utilizes screen for persistent background processes, ensuring the node runs 24/7 even after the web session is closed.
Proposal
The objective was to set up a secure and optimized environment on an Ubuntu server (acting as the root user) to compile and run the Nexus CLI.
Here are the detailed steps executed to achieve this:
1. Cloud Infrastructure & Remote Access Setup
- Provisioned a Cloud Virtual Machine (CVM) running Ubuntu OS.
- Accessed the server as the
rootuser using TTYD (a tool that shares the terminal over the web), allowing direct configuration via a standard web browser.
2. System Update & Dependencies Installation
Ensured the system is up-to-date and installed essential network and background management tools.
apt-get update && apt-get upgrade -y
apt-get install screen curl build-essential -y
bash
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs) | sh
# Reload environment path
source $HOME/.cargo/env
# Create a new screen session named 'nexus-node'
screen -S nexus-node
# Download and run the Nexus CLI installer
curl [https://cli.nexus.xyz/](https://cli.nexus.xyz/) | sh
[terimnal web ttyd ubuntu.yml](https://github.com/user-attachments/files/24855864/terimnal.web.ttyd.ubuntu.yml)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels