Setup Solana Node

Start EC2 server

r6a.8xlarge, Ubuntu x86

Install Solana

# https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool
sh -c "$(curl -sSfL https://release.solana.com/v1.18.17/install)"
export PATH="/home/ubuntu/.local/share/solana/install/active_release/bin:$PATH"

solana-keygen new -o /home/ubuntu/.config/solana/id.json
# Wrote new keypair to /home/ubuntu/.config/solana/id.json
============================================================================
pubkey: GVN4w5v1nxPKy12ekaWiik9nhyCg3WTWZMJRtCx81qxp
============================================================================
Save this seed phrase and your BIP39 passphrase to recover your new keypair:
leopard need local item record floor cart someone island pulse lottery solve
============================================================================

# Sanity check solana node
solana balance -u localhost

Run Private Solana Node

git clone https://github.com/solana-labs/solana.git

cd /home/ubuntu/solana
rm -rf config/ledger

cd /home/ubuntu/solana/scripts
nohup ./run.sh > /dev/null 2>&1 &

Last updated