#!/usr/bin/env bash sudo apt update sudo apt install python3 python3-dev python3-venv libaugeas-dev gcc sudo python3 -m venv /opt/certbot/ sudo /opt/certbot/bin/pip install --upgrade pip sudo /opt/certbot/bin/pip install certbot certbot-nginx sudo ln -s /opt/certbot/bin/certbot /usr/local/bin/certbot echo "0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew -q" | sudo tee -a /etc/crontab > /dev/null echo '"'请执行sudo certbot --nginx ,随后切换账户gpt,执行 curl https://raw.script.vesper36.cc/codex-02.sh | bash"