git clone git@github.com:September007/doc-site-hexo.git cd doc-site-hexo git submodule update --init --recursive
npm install -g hexo npm i hexo g;hexo g; hexo g;
文档服务器:部署
certbot生成证书
1 2 3 4 5 6 7
sudo apt instal certbot sudo certbot certonly --standalone -d www.cheerlisten.com # Successfully received certificate. # Certificate is saved at: /etc/letsencrypt/live/www.cheerlisten.com/fullchain.pem # Key is saved at: /etc/letsencrypt/live/www.cheerlisten.com/privkey.pem # This certificate expires on 2024-03-02. # These files will be updated when the certificate renews.