Loading... ### 安装Git Bash ### 安装Node.js ### 安装Hexo - 创建博客源码文件夹 - 执行Hexo安装命令 ```zaihua npm install -g hexo ``` ### 生成SSH并添加到Github - 配置Github账户信息(YourName和YourEail都替换成自己的Github账户信息)分别执行命令 ``` zaihua git config --global user.name "YourName" git config --global user.email "YourEmail" ``` - 创建SSH ```zaihua ssh-keygen -t rsa -C "youremail@example.com" ``` - 查询生成的SSH ```zaihua cd ~/.ssh cat id_rsa.pub ``` - 将获取的ssh添加到到Github - 检查是否配置成功 ```zaihua ssh -T git@github.com ``` [1]: https://zhio.618day.com/zhio/typecho/3895204216.jpg<hr class="content-copyright" style="margin-top:50px" /><blockquote class="content-copyright" style="font-style:normal"><p class="content-copyright">版权声明:本文为原创文章,版权归在花,转载请注明出处!</p><p class="content-copyright">本文链接:<a class="content-copyright" href="https://www.zaihua.me/go/aHR0cHM6Ly96YWlodWEubWUvYXJjaGl2ZXMvOC8" target="_blank" >https://zaihua.me/archives/8/</a></p></blockquote> Last modification:October 18th, 2020 at 12:12 pm © 允许规范转载 Support 如果觉得我的文章对你有用,请随意赞赏 ×Close Appreciate the author Sweeping payments Pay by WeChat