dlog

command
v0.0.0-...-4557a6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 14 Imported by: 0

README

DLOG

DEPLOYMENT

DOWNLOAD SCRIPT

curl https://raw.githubusercontent.com/khanh-nguyen-code/go_util/master/cmd/dlog/prepare.sh > prepare.sh
curl https://raw.githubusercontent.com/khanh-nguyen-code/go_util/master/cmd/dlog/deploy.sh > deploy.sh
chmod +x prepare.sh deploy.sh 

RUN PREPARE (ONCE)

./prepare.sh -i <node_id> -k <shared_authorization_key>
  • download go 1.17.6 and move into /usr/local/go
  • create dlog systemd service associated with <node_id>
  • download authorization creation script and build it
  • create authorization file and save into /root/.auth with <shared_authorization_key>

RUN DEPLOY

./deploy
  • download dlog and build it
  • move into /usr/bin/
  • restart dlog
  • enable dlog to start with system

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL