1 Star 0 Fork 0

黄家垚 / letsautoencrypt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.sh 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
REPO_DIR=$(dirname $0)
wget https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh -O ${REPO_DIR}/acme.sh
wget https://github.com/gileshuang/go-simple-httpd/releases/download/v0.1/go-simple-httpd.x86_64.elf -O ${REPO_DIR}/go-simple-httpd.elf
mkdir -p /etc/letsautoencrypt
mkdir -p /usr/lib/letsautoencrypt
mkdir -p usr/share/licenses/letsautoencrypt
install -Dm644 ${REPO_DIR}/env.conf /etc/letsautoencrypt/env.conf
install -Dm644 ${REPO_DIR}/env.conf /usr/lib/letsautoencrypt/env.conf
install -Dm644 ${REPO_DIR}/https-acme.conf /etc/letsautoencrypt/https-acme.conf.example
install -Dm644 ${REPO_DIR}/https-acme.conf /usr/lib/letsautoencrypt/https-acme.conf
install -Dm755 ${REPO_DIR}/acme.sh /usr/lib/letsautoencrypt/acme.sh
install -Dm755 ${REPO_DIR}/letsautoencrypt.sh /usr/lib/letsautoencrypt/letsautoencrypt.sh
install -Dm755 ${REPO_DIR}/go-simple-httpd.elf /usr/lib/letsautoencrypt/go-simple-httpd.elf
install -Dm644 ${REPO_DIR}/letsautoencrypt.service /usr/lib/systemd/system/letsautoencrypt.service
install -Dm644 ${REPO_DIR}/letsautoencrypt.timer /usr/lib/systemd/system/letsautoencrypt.timer
install -Dm644 ${REPO_DIR}/LICENSE /usr/share/licenses/letsautoencrypt/LICENSE
Shell
1
https://gitee.com/jiayaohuang/letsautoencrypt.git
git@gitee.com:jiayaohuang/letsautoencrypt.git
jiayaohuang
letsautoencrypt
letsautoencrypt
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891