체인의정석

Aethir node 업데이트하기 스크립트 본문

개발/docker & linux

Aethir node 업데이트하기 스크립트

체인의정석 2024. 7. 29. 17:55
728x90
반응형

1. wget
깃허브 계정에 들어가서 파일을 찾은 후 raw한 링크를 뽑아낸다.
https://github.com/AethirCloud/checker-client/blob/main/v1.0.2.7/AethirCheckerCLI-linux-1.0.2.7.tar.gz

https://github.com/AethirCloud/checker-client/raw/main/v1.0.2.7/AethirCheckerCLI-linux-1.0.2.7.tar.gz

위의 깃허브에 tar.gz가 있다면 아래와 같이 wget을 통해 서버에서 압축된 파일을 가져올 수 있다.

wget https://github.com/AethirCloud/checker-client/raw/main/v1.0.2.7/AethirCheckerCLI-linux-1.0.2.7.tar.gz

2. 압축 해제

압축을 해제한다.

tar -xvf AethirCheckerCLI-linux-1.0.2.7.tar.gz

3. 경로에 들어가서 명령어 실행

cd ./AethirCheckerCLI-linux

sudo ./install.sh

sudo ./AethirCheckerCLI

https://docs.aethir.com/checker-guide/how-to-run-checker-nodes/install-and-update

 

Install & Update | Aethir

Install & Update Please note that you cannot run multiple Linux CLI or Windows GUI in one machine, as that would lead to unexpected error. Linux CLI Download and Install Update Non-mandatory update: aethir updateMandatory update: will be updated automatica

docs.aethir.com

4. 업데이트 진행

sudo ./AethirCheckerCLI
*******************************************************************
                                                                   
      .o.                     .   oooo         o8o                 
     .888.                  .o8   `888         `"'                
    .8"888.      .ooooo.  .o888oo  888 .oo.   oooo  oooo d8b      
   .8' `888.    d88' `88b   888    888P"Y88b  `888  `888""8P    
  .88ooo8888.   888ooo888   888    888   888   888   888           
 .8'     `888.  888    .o   888 .  888   888   888   888           
o88o     o8888o `Y8bod8P'   "888" o888o o888o o888o d888b        
                                                                   
*******************************************************************

Client is starting up...

Initializing...
You have X delegated licenses and 0 nodes running right now.
Wallet auto login success.
***************************************
Please input:aethir update
You are currently on the latest version!
***************************************
Please input:aethir version

1.0.2.7

***************************************

5. 현재버전 명령어 체크하기

***************************************
Please input:aethir help
Usage:
    aethir [Core Commands] [Additional Commands] [Parameters] 
                                                              
    Core Commands : Additional Commands : Parameters          
                                                              
     /help/--help/-h                                           
                                                              
     wallet                                                   
                        create                                
                        export                                
                        import            [Key]               
                                                              
     license                                                  
                        list              [Param]             
                                          --checking          
                                          --offline           
                                          --banned            
                                          --pending           
                                          --ready             
                                          --all               
                        approve           [LicenseID]         
                        deny              [LicenseID]         
                        undelegate        [LicenseID]         
                        status            [LicenseID]         
                        summary                               
                                                              
     setting                                                  
                        capacity          [Value]             
                                                              
     update                                                   
                                                              
     version/--version/-v                                     
                                                              
***************************************

현재 상태 체크하는 법

***************************************
Please input:aethir license list --all
License ID    Owner Address    Status
728x90
반응형
Comments