Skip to content

Commit

Permalink
README: update install
Browse files Browse the repository at this point in the history
  • Loading branch information
hyt-hz committed Feb 15, 2024
1 parent fbf8e5e commit c7ce27e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ Request and renew free certificates from let's encrypt for Aliyun CDN domains.
### Prepare
Install `certbot` with aliyun DNS plugin and `aliyun-cert`
``` shell
python3 -m venv aliyun-cert
aliyun-cert/bin/pip install .
ln -s aliyun-cert/bin/certbot /usr/bin/certbot
ln -s aliyun-cert/bin/aliyun-cert /usr/bin/aliyun-cert
pip3 install aliyun-cert
```

Create config file `~/.secrets/aliyun.ini` for aliyun access key
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

### 安装和配置

本脚本仅在 python 3.9 上进行过验证,使用 virtual environment 安装步骤如下:
本脚本仅支持 Python 3
``` shell
python3 -m venv aliyun-cert
aliyun-cert/bin/pip install .
ln -s aliyun-cert/bin/certbot /usr/bin/certbot
ln -s aliyun-cert/bin/aliyun-cert /usr/bin/aliyun-cert
pip install aliyun-cert
```

需要配置阿里云 ram 账号的 access key,并至少赋予用户如下权限:
Expand Down

0 comments on commit c7ce27e

Please sign in to comment.