Certbot自动续签Let's Encrypt免费泛域名SSL证书

安装Certbot 参考链接: https://certbot.eff.org/docs/using.html?highlight=renew#automated-renewals https://askubuntu.com/questions/553937/what-is-the-difference-between-the-core-full-extras-and-light-packages-for-ngi https://salsa.debian.org/nginx-team/nginx/-/blob/master/debian/control debian操作系统: 1 2 3 4 sudo apt-get -y install certbot sudo apt-get -y install nginx-light libnginx-mod-stream # 可选 #sudo apt-get -y install nginx # nginx-full centos操作系统: 1 2 3 4 5 6

Docker轻量级UI工具portainer安装

安装portainer portainer官网 1 2 3 4 5 sudo docker pull portainer/portainer-ce:alpine sudo docker volume create myportainer_data sudo docker run -d -p 9000:9000 -p 8000:8000 --name=myportainer --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v myportainer_data:/data portainer/portainer-ce:alpine 忘记密码重置方法 1 2 3 sudo docker stop myportainer sudo docker