Skip to content
ByoungSeob Kim edited this page Jun 4, 2021 · 49 revisions

============== In this case: Ubuntu 18.04.5 LTS, Ubuntu 20.04.2 LTS

  • install Go dev-env.

    sudo apt update; sudo apt install -y make gcc; sudo snap install go --classic;
    
  • install CB-Spider Source

    git clone https://github.com/cloud-barista/cb-spider.git $HOME/go/src/github.com/cloud-barista/cb-spider;
    
  • build CB-Spider Source

    cd $HOME/go/src/github.com/cloud-barista/cb-spider; make; 
    
    
  • check the path of CBSPIDER_ROOT in setup.env (when need) vi $HOME/go/src/github.com/cloud-barista/cb-spider/setup.env

  • setup CB-Spider

    $ source setup.env;
    
  • start CB-Spider Server

    cd $CBSPIDER_ROOT/bin; ./start.sh;
    
    <CB-Spider> Multi-Cloud Infrastructure Federation Framework
       - AdminWeb: http://{server}:1024/spider/adminweb
       - REST API: http://{server}:1024/spider
       - grpc://{server}:2048
    
  • check the health of CB-Spider Server

    [Terminal]

    cd $CBSPIDER_ROOT/bin; ./status.sh;
    
    curl -sX GET http://{server}:1024/spider/cloudos |json_pp
    

    [Browser]

    http://{server}:1024/spider
    
    http://{server}:1024/spider/adminweb
    
  • stop CB-Spider Server

    cd $CBSPIDER_ROOT/bin; ./stop.sh;
    
  • start CB-Spider Server again

    cd $CBSPIDER_ROOT/bin; ./start.sh;
    
  • Server Configurations

  • Initialize Meta Info

    - stop CB-Spider Server
    - $ rm -rf $CBSPIDER_ROOT/meta_db/*
    - $ rm -rf $CBSPIDER_ROOT/cloud-driver-libs/.ssh-*
    - start CB-Spider Server
    

Table of contents



Clone this wiki locally