Ce guide explique comment installer et exécuter un nœud Nexus Prover sur un serveur VPS Linux.
- Serveur Linux (ex: Contabo VPS)
- Accès
root
ou utilisateur avecsudo
- Un compte sur https://app.nexus.xyz
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl screen build-essential libssl-dev pkg-config protobuf-compiler
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup target add riscv32i-unknown-none-elf
curl https://cli.nexus.xyz/ | sh
export PATH=$PATH:/root/.nexus/bin
echo 'export PATH=$PATH:/root/.nexus/bin' >> ~/.bashrc
source ~/.bashrc
nexus-network --help
screen -S nexus
nexus-network start --node-id <NODE_ID>
Appuyez sur : CTRL + A
puis D
- Reprendre une session :
screen -r nexus
- Fermer proprement :
screen -XS nexus quit
➤ Relancer :
export PATH=$PATH:/root/.nexus/bin
Ou ajouter au ~/.bashrc
et faire :
source ~/.bashrc
- Interface Web Nexus : https://app.nexus.xyz
- Discord officiel : https://discord.gg/nexus
Pour lancer plusieurs nœuds sur le même VPS, créez plusieurs sessions screen
et générez un nouveau node ID pour chacun.