Skip to content

Instantly share code, notes, and snippets.

@denyherianto
Created February 20, 2025 23:09
Show Gist options
  • Select an option

  • Save denyherianto/492c3abc1d99c690ff6ef8158708b562 to your computer and use it in GitHub Desktop.

Select an option

Save denyherianto/492c3abc1d99c690ff6ef8158708b562 to your computer and use it in GitHub Desktop.
Nexus Error Fixes
https://app.nexus.xyz/nodes
1. Install Dependencies
sudo apt update && sudo apt upgrade -y &&
sudo apt install -y tmux nano build-essential pkg-config libssl-dev git-all unzip &&
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y &&
source $HOME/.cargo/env &&
cargo --version &&
rustup target add riscv32i-unknown-none-elf &&
sudo apt remove -y protobuf-compiler &&
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip &&
unzip protoc-25.2-linux-x86_64.zip -d $HOME/.local &&
export PATH="$HOME/.local/bin:$PATH" &&
protoc --version
2. Increase Swap
sudo fallocate -l 10G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile && echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment