我的脚本文件
├── conf # 软件配置文件
├── init.d # 软件启动文件
├── install # 软件安装脚本
├── origin # 脚本源
├── shell # 自己编写的脚本
└── snippets # 自己编写的脚本片段
安装前置依赖
sudo apt install -y jq
拉取源代码
git clone https://framagit.org/jetsung/sh.git
cd sh/install
1. nginx
bash nginx.sh
2. protoc
bash protoc.sh
# 或者
curl -s https://framagit.org/jetsung/sh/-/raw/main/install/protoc.sh | bash