└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Nexus Testnet II CLI Stable 2 | 3 | - Buy VPS di : [t.me/skuycloud](t.me/skuycloud) 4 | - Trakteer buat buy Kopi : https://trakteer.id/brrrskuy/tip `<---` 5 | 6 | # Install Build Essential 7 | ``` 8 | sudo apt install build-essential pkg-config libssl-dev git-all -y 9 | ``` 10 | # Install Protobuf Compiler 11 | ``` 12 | sudo apt install -y protobuf-compiler 13 | ``` 14 | # Install Rust 15 | ``` 16 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh 17 | ``` 18 | ``` 19 | source $HOME/.cargo/env 20 | ``` 21 | # Add the `riscv32i` target 22 | ``` 23 | rustup target add riscv32i-unknown-none-elf 24 | ``` 25 | # Install Unzip 26 | ``` 27 | apt install unzip 28 | ``` 29 | # Install Protoc v21.3 30 | ``` 31 | wget https://github.com/protocolbuffers/protobuf/releases/download/v21.3/protoc-21.3-linux-x86_64.zip 32 | ``` 33 | # Extract File Protoc Zip 34 | ``` 35 | unzip protoc-21.3-linux-x86_64.zip -d /usr/local 36 | ``` 37 | # Add Overswap 16GB 38 | `run one per line` 39 | ``` 40 | sudo swapoff -a 41 | ``` 42 | ``` 43 | sudo fallocate -l 16G /swapfile 44 | ``` 45 | ``` 46 | sudo chmod 600 /swapfile 47 | ``` 48 | ``` 49 | sudo mkswap /swapfile 50 | ``` 51 | ``` 52 | sudo swapon /swapfile 53 | ``` 54 | # Add Overcommit Memory 55 | ``` 56 | sudo sysctl -w vm.overcommit_memory=1 57 | ``` 58 | `add permanent overcommit` 59 | ``` 60 | echo 'vm.overcommit_memory=1' | sudo tee -a /etc/sysctl.conf 61 | ``` 62 | # Add Screen 63 | ``` 64 | screen -S nexus 65 | ``` 66 | # Run Script 67 | ``` 68 | curl https://cli.nexus.xyz/ | sh 69 | ``` 70 | --------------------------------------------------------------------------------