Skip to content

BrainStation-23/SentinelGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SentinelGo Installation Guide

Linux & Mac Installation
  1. Install Golang: https://go.dev/doc/install

  2. Install Binary

    go install github.com/BrainStation-23/SentinelGo/cmd/sentinel@latest
  3. Export Path

    export PATH=$PATH:$HOME/go/bin
  4. Install Service

    sudo sentinel install
  5. Login

    sudo sentinel login
  6. Check Status

    • Linux
      systemctl status sentinelgo
    • Mac
      sudo launchctl list | grep sentinelgo
  7. Uninstall & Remove

    sudo sentinel service stop
    sudo sentinel service uninstall
    
    # Remove Data and Binary
    rm $(which sentinel)
    rm sentinel.db

Windows (PowerShell) Installation
  1. Install Golang: https://go.dev/doc/install

  2. Install GCC: https://sourceforge.net/projects/mingw/

Run PowerShell as Administrator.

  1. Enable cgo

    set CGO_ENABLED=1
  2. Install Binary

    go install github.com/BrainStation-23/SentinelGo/cmd/sentinel@latest
  3. Register & Login

    # Ensure %USERPROFILE%\go\bin is in your PATH.
    sentinel agent register
    sentinel agent login
  4. Install Service

    # Ideally use full path or ensure it's in system PATH
    sentinel service install
    sentinel service start
  5. Check Status

    Get-Service sentinelgo
  6. Uninstall & Remove

    sentinel service stop
    sentinel service uninstall
    
    # Remove Data and Binary
    # Navigate to where sentinel.exe is located (e.g., %USERPROFILE%\go\bin)
    del sentinel.exe
    del sentinel.db