gitee+picgo的图床搭建
准备材料一个gitee账号,创建一个公开仓库
下载picgo
Typora
Node.js
gitee中获取仓库token生成一个token
提交后复制生成的token
安装picgo插件
插件配置
填入刚才创建的ID和仓库名
填入刚才生成的token
下面是smms图床配置方法登录smms
获取smms的token
打开picgo
填入刚才复制的token,国内需要设置备用域名smms.app
注意:smms只有5G的免费空间
github+hexo搭建个人博客
准备材料:需准备一个github账号
下载: [git](Git (git-scm.com)) [node.js](Download | Node.js (nodejs.org))
注意:node.js最好设置[淘宝代理](CentOS安装NodeJS并设置国内淘宝镜像 - 红烧猎人的博客 (enianteam.com))且完成环境变量的配置
Hexo下载部署这里推荐使用[一键部署脚本](一键安装hexo博客 - hexo-script使用文档 (gitbook.io))
部署完成后使用[一键生成ssh密钥脚本](一键生成SSH秘钥 - hexo-script使用文档 (gitbook.io))
使用后输入2查看以生成的ssh密钥
将密钥进行复制
打开自己的github主页进入需要存放个人博客的仓库
注意:这里需要自己提前准备好一个公开的仓库
进入配置key
再次运行一键生成ssh密钥脚本这次选择3检查与github的连接
最后使用[一键部署hexo博客](一键部署hexo博客 - hexo-script使用文档 (gitbook.io))将本地文件上传
注意: ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment