Tutorial & Configuration
  • Home
  • Desktop
  • Server
  • Mikrotik
  • Tools
  • Home
  • Desktop
  • Server
  • VirtualBox
  • Cisco
  • Mikrotik
  • Tools
  • About
  • Contact

Senin, 05 Agustus 2024

INSTALL CHASM NODE ON LINUX/UBUNTU (MULTIPLE NODE WITH ONE VPS)

 maouam     Agustus 05, 2024     node2an     No comments   

  

INSTALL CHASM ON LINUX/UBUNTU

 

#Open web https://console.groq.com/keys  | Register

#If has registed, Create API on https://console.groq.com/keys  | create a name and save the secret key, please save it (required, don't lose it)

 

#Open web https://openrouter.ai/ | Register

#If you have registered, create an api at https://openrouter.ai/settings/keys | create a key and please save the key (required, don't lose it)

 

#Create a new wallet in metamask for the chasm address, add mantle network in https://chainlist.org/chain/5000

 

#Wallet refill minimum 1 MNT (send to your wallet on metamask)

 

#Open web https://scout.chasm.net/private-mint  | connect wallet, click _mint(scout)

 

#If done, click Setup Scouts,  and click I’ve completed the steps above


#Click the one circled in red



# Save the text circled in red (or just save scout_uid and webhook_api_key)

 

#Login to the VPS to install Docker if you haven't installed it yet

sudo su

sudo apt update

sudo apt install docker.io –y

 

# Install docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose –version

 

#Create new folder chasm-1

mkdir chasm-1

#Go to folder chasm-1

cd chasm-1

#Create new file compose.yml

nano compose.yml

 

#Paste the script below, fill in according to the data that was previously saved

services:
  scout1:
    image: chasmtech/chasm-scout:latest
    container_name: scout1
    restart: always
    ports:
      - "3001:3001"
    environment:
      PORT: 3001
      LOGGER_LEVEL: debug
      ORCHESTRATOR_URL: https://orchestrator.chasm.net
      SCOUT_NAME: "name_for_dashboard"
      SCOUT_UID: your_scout_uid
      WEBHOOK_API_KEY: api_key_on_scout
      WEBHOOK_URL: http://PUBLIC_IP_YOUR_VPS:3001
      PROVIDERS: groq,openrouter
      MODEL: gemma2-9b-it
      GROQ_API_KEY: api_key_on_groq
      OPENROUTER_API_KEY: api_key_on_openrouter

 

#Save the file by means, ctrl x, y, enter

#Run docker-compose

docker-compose up -d

 

#DONE, Check your dashboard, the first time it turns on it's still yellow, then after a while it turns green.

 

 #exit the chasm-1 folder

cd

#Note, if you want to run the second, third and so on node, create it from scratch (just ignore install docker and docker-compose), change the docker port from 3001 to 3002. Repeat the steps from creating the folder (for example the folder name chasm-2)

 #Example of the second docker config



 THANK YOU :)

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Kirimkan Ini lewat EmailBlogThis!Bagikan ke XBerbagi ke Facebook
Posting Lebih Baru Posting Lama Beranda

0 komentar:

Posting Komentar

Popular Posts

  • Install zenchain node di Ubuntu-Linux (self-host node)
      Install zenchain node di Ubuntu-Linux (self-host node)   #Buat wallet baru di metamask dan import ke OKX juga (EVM) #WL di web (supa...
  • Install 0GDA Node & Client di Ubuntu-Linux
    Install 0GDA Node & Client di Ubuntu-Linux Spec vps CPU 8 core RAM 16 GB Contabo spec VPS-3 #Buat Wallet EVM (buat di OKX simpan p...
  • Install PWR node di Linux-Ubuntu
    Install PWR Node DC PWR: https://discord.com/invite/Mu3ktCk4 #Update paket sudo su apt update #Install java apt install openjdk-19-jre-headl...
  • INSTALL CHASM NODE DI LINUX/UBUNTU
      INSTALL CHASM DI LINUX/UBUNTU   #Buka web https://console.groq.com/keys   | daftar #Jika sudah daftar, buat api di https://console.g...

LABELS

  • AWS
  • Cisco
  • Cloud
  • Desktop
  • DevOps
  • Mikrotik
  • Network
  • Nginx
  • node2an
  • Proxmox
  • Server
  • Tools
  • VirtualBox
  • Zimbra

Sosial Media

Facebook 35.4Fans
Twitter 519Followers
Instagram 1060Followers
google+ 16Followers
Youtube 24Subscriber

Widget

  • Home
  • About Us
  • Contact Us

Copyright © Tutorial & Configuration