hexo部署到私人服务器2021年1月25日nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 仓库同步1234567yum install git -ymkdir /data/GitLibrarymkdir -p /data/www/hexogit init --bare hexo.gitvim /data/GitLibrary/hexo.git/hooks/post-receive# git --work-tree=/data/www/hexo --git-dir=/data/GitLibrary/hexo.git checkout -fchmod +x /data/GitLibrary/hexo.git/hooks/post-receive 部署123docker run -d --restart=always \-p 80:80 -v /data/www/hexo:/usr/share/nginx/html \--name=hexo-blog nginx