-
Dokumen resmi
Komponen | Spesifikasi minimal |
---|---|
CPU | 4 Cores |
RAM | 8 GB DDR4 RAM |
Penyimpanan | 1 TB HDD |
Koneksi | 10Mbit/s port |
Komponen | Spesifikasi rekomendasi |
---|---|
CPU | 32 Cores |
RAM | 32 GB DDR4 RAM |
Penyimpanan | 2 x 1 TB NVMe SSD |
Koneksi | 1 Gbit/s port |
Komponen | Spesifikasi minimal |
---|---|
Sistem Operasi | Ubuntu 16.04 |
Komponen | Spesifikasi rekomendasi |
---|---|
Sistem Operasi | Ubuntu 20.04 |
- Install
screen
danwget
apt-get install screen wget
- Download script
run.sh
rm run.sh wget -q https://raw.githubusercontent.com/bayy420-999/Tutorial-testnet-Fleek-Airdrop-Finder/master/run.sh
- Ubah
run.sh
menjadi executablechmod +x run.sh
- Buka terminal baru dengan menggunakan
screen
screen -Rd fleek
Setelah terminal baru terbuka, jalankan script
- Jalankan script
./run.sh
- Update apt
sudo apt-get update sudo apt-get upgrade
- Instal
rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Jika ada prompt langsung pencet Enter saja
- Load environment variable
rust
source "$HOME/.cargo/env"
- Cek apakah
rust sudah terinstal
Jikacargo --version
rust
sudah terinstal maka di terminal akan muncul output seperti berikutcargo 1.65.0 (4bc8f24d3 2022-10-20)
- (OPSIONAL) Instal
scchace
cargo install sccache
- Instal dependensi Linux
sudo apt-get install build-essential git curl screen cmake clang pkg-config libssl-dev protobuf-compiler
- Instal
Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
- Buka terminal baru dengan menggunakan
screen
screen -Rd fleek
Setelah terminal baru terbuka, lanjutkan ke langkah berikutnya
- Download
Ursa-cli
git clone https://github.com/fleek-network/ursa.git
- Masuk ke folder
ursa
cd ursa
- Update Makefile
rm Makefile https://raw.githubusercontent.com/bayy420-999/Tutorial-testnet-Fleek-Airdrop-Finder/master/Makefile
- Instal
Ursa-cli
make install
- Cek apakah
Ursa-cli
sudah terinstalursa-cli --help
- Build container
Docker
make docker-build
- Jalankan container
Docker
make docker-run