Skip to content

DistPub/lightops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightops

轻量级的devops框架

install

export PATH=/path/to/lighops/bin:$PATH添加到你的rc file,再source /path/to/your/rc_file使PATH生效

example:

  1. 如果你的shell为/bin/bash,则rc file$HOME/.bash_profile
  2. 如果你的shell为/bin/zsh,则rc file$HOME/.oh-my-zsh/oh-my-zsh.sh

core commands

  1. scp_to_server

    拷贝文件到服务器

  2. scp_and_execute

    拷贝文件到服务器并执行文件

  3. ssh_and_execute

    在服务器上执行命令

demo

请参考bootstrap_server文件夹下的脚本

About

light devops framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy