轻量级的devops框架
将export PATH=/path/to/lighops/bin:$PATH添加到你的rc file,再source /path/to/your/rc_file使PATH生效
example:
- 如果你的shell为
/bin/bash,则rc file为$HOME/.bash_profile - 如果你的shell为
/bin/zsh,则rc file为$HOME/.oh-my-zsh/oh-my-zsh.sh
-
scp_to_server
拷贝文件到服务器
-
scp_and_execute
拷贝文件到服务器并执行文件
-
ssh_and_execute
在服务器上执行命令
请参考bootstrap_server文件夹下的脚本