搭建自己的博客

参考网址

搭建博客参考网址:https://www.cnblogs.com/selier/p/9568165.html 或者http://stevenshi.me/2017/05/07/hexo-blog
theme-next 主题修改:http://theme-next.iissnan.com/getting-started.html
图库搭建:https://www.cnblogs.com/ly-2019/p/11828790.html
博客升级参考;https://www.jianshu.com/p/9f0e90cc32c2

简单命令

1
2
3
4
5
hexo new "文章标题"
hexo g ## 生成静态网页
hexo s ## 本地浏览
hexo d ## 部署到github
hexo clean ##清除缓存文件db.json和已生成的静态文件public

报错处理

报错1:hexo init 无法正常安装依赖包
解决1:npm cache clean –force

ssh: connect to host github.com port 22: Connection timed out
https://www.dazhuanlan.com/2020/01/19/5e23d35f24e71/