Giter Club home page Giter Club logo

easyctl's Introduction

Go Report Card GitHub go.mod Go version (subdirectory of monorepo) GitHub commit activity GitHub all releases codecov FOSSA Status

easyctl

easyctl是一款基于golang轻量级运维工具集,详情使用请移步使用文档

CHANGELOG

兼容性:

  • 全部功能兼容CentOS7
  • 部分功能兼容CentOS6

安装使用

编译安装最新版

Go 版本不得低于 v1.16

需要设置代理时,可参照 https://goproxy.cn/

git clone https://github.com/weiliang-ms/easyctl.git
cd easyctl
go build -ldflags "-w -s" -o /usr/local/bin/easyctl

关于 -ldflags "-w -s"

Mac 编译

Mac 下编译时会有如下提示:

$ go build
# github.com/containerd/cgroups
vendor/github.com/containerd/cgroups/memory.go:463:14: undefined: unix.Eventfd
vendor/github.com/containerd/cgroups/memory.go:463:30: undefined: unix.EFD_CLOEXEC
vendor/github.com/containerd/cgroups/utils.go:70:8: undefined: unix.CGROUP2_SUPER_MAGIC
vendor/github.com/containerd/cgroups/utils.go:77:18: undefined: unix.CGROUP2_SUPER_MAGIC

因为 Mac 下无法使用 containerd,可将 启动指令集 相关内容 注释,即可成功编译。

下载release版本

latest release

tar zxvf easyctl-v0.7.13-alpha-darwin-amd64.tar.gz
cp easyctl /usr/local/bin

系统偏好设置 => 安全性与隐私 => 通用 => 仍然允许

sudo tar zxvf easyctl-latest-linux-amd64.tar.gz
sudo cp easyctl /usr/local/bin

下载tag版本

迭代计划

v1功能列表

License

FOSSA Status

easyctl's People

Contributors

alphahinex avatar dependabot[bot] avatar fossabot avatar wdtytq avatar weiliang-ms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

easyctl's Issues

是否支持执行任意命令

很好的工具,但是我看文档好像必须要把shell命令定义在配置文件里面,是否可以支持执行任意命令,比如
easyctl exec date -c config.yaml
easyctl exec 'tail -f test.log' -c config.yaml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.