hexo部署到私人服务器
1234567
yum 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
123
docker run -d --restart=always \-p 80:80 -v /data/www/hexo:/usr/share/nginx/html \--name=hexo-blog nginx