0%

搭建过程整理

1.准备github

2.安装git

3.将git与github绑定

参考文章:
    [个人博客第3篇——绑定GitHub并提交文件 - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/103391101)
    [创建GitHub仓库并与本地Git绑定_ttxs_hc的博客-CSDN博客](https://blog.csdn.net/hc_ttxs/article/details/79375788)
出现的一些问题及解决方案参考:
    [git生成密钥 bash: ssh-keygen-t: command not found_怪 咖@的博客-CSDN博客](https://blog.csdn.net/weixin_43888891/article/details/112429980)
    [error: src refspec master does not match any. 错误的解决办法_oliverhoo的博客-CSDN博客](https://blog.csdn.net/qq_38198952/article/details/82792279)
    [解决git error: src refspec master does not match any._Sensente的博客-CSDN博客](https://blog.csdn.net/Sensente/article/details/124138062?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-2-124138062-blog-82792279.235%5Ev38%5Epc_relevant_default_base3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-2-124138062-blog-82792279.235%5Ev38%5Epc_relevant_default_base3&utm_relevant_index=3)
    [git问题error: remote origin already exists._remote origin already exit_阿迪不想上班的博客-CSDN博客](https://blog.csdn.net/weixin_43916997/article/details/123645376)
    [解决:git SSL certificate problem: unable to get local issuer certificate_付少华的博客-CSDN博客](https://blog.csdn.net/weixin_44014995/article/details/109900149)
    

4.购买域名

考虑因素:

  1. 价格 ;购买价格和续费价格以及转网价格

  2. 域名的易收录程度

  3. 域名名称

  4. 域名备案

  5. 域名历史

5.安装node.js和hexo

参考文章:

[个人博客第5篇——安装node.js和Hexo - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/105715224
node.js 安装详细步骤教程_node官网怎么下载_程序员老油条的博客-CSDN博客
Nodejs安装教程_西晋的no1的博客-CSDN博客
文档 | Hexo

安装hexo

1
2
3
4
5
6
7
8
	安装hexo代码
npm install -g cnpm --registry=https://registry.npm.taobao.org -verbose

npm install -g hexo-cli

npm cache clean --force
命令清除缓存,然后重新执行安装命令。|

出现的问题及解决方案:

  1. 确认系统环境是否满足要求:Hexo 需要 Node.js 环境,确保已经安装并配置了正确的 Node.js 版本。可以在终端执行 node -vnpm -v 命令来查看是否正确安装。
  2. 检查网络连接:如果安装过程中出现网络错误,尝试使用代理或者切换到稳定的网络环境再次安装。
  3. 检查镜像源:有时候下载速度慢或者无法下载的原因是镜像源的问题。可以尝试切换到其他镜像源,例如国内的淘宝镜像或者使用 VPN。
  4. 清除缓存并重新安装:有时候安装过程中可能会出现一些缓存问题,可以尝试清除缓存并重新安装。可以使用 npm cache clean --force 命令清除缓存,然后重新执行安装命令。(我是用这个方法成功的)
    git命令卸载hexo:npm uninstall hexo-cli -g 在我第一次安装hexo时,用的是windows的dos命令安装,学艺不精导致初始化hexo失败,于是决定卸载hexo改用git自带命令安装,在操作之前先清理一下hexo。
  5. 查看安装日志:执行安装命令时可以加上 -verbose 参数,查看详细的安装日志,以便更好地排查问题。如果以上方法无法解决问题,可以提供更具体的错误信息或日志,以便给出更准确的解决方案。
  6. hexo  的path路径
    ![[Pasted image 20230829213432.png]]
    ![[Pasted image 20230829213451.png]]
    注意最后在  _config.yml 文件中的最后branch中的内容根据具体情况而定

6. 解析域名

参考文章:
https://zhuanlan.zhihu.com/p/103813944

7.设置主题

参考文章:
https://zhuanlan.zhihu.com/p/105584373

8.主题优化

参考文章:
https://zhuanlan.zhihu.com/p/106060640

cname文件的配置决定GitHub仓库和网址的连接 DNS

要在本地目录下的source中保存才有效,不会出现每次上传就消失的情况,且cname文件无后缀(不是.txt后缀)
https://www.zhihu.com/question/28814437

Hexo+Next主题搭建个人博客+优化全过程(完整详细版)

https://zhuanlan.zhihu.com/p/618864711
Hexo Matery主题添加百度统计_scluis的博客-CSDN博客
Hexo 好看的主题推荐_hexo主题推荐_浮沉半生的博客-CSDN博客
[Hexo 修改导航栏、标签、分类、归档图标,一分钟搞定_hexo 通知栏_Hyper9999的博客-CSDN博客](https://blog.csdn.net/h_kaka/article/details/119655493

hexo博客换主题

https://zhuanlan.zhihu.com/p/385525053

9.写博客

配置文件命名规则和路由地址

Hexo 默认以标题作为文件名称,可以通过 Hexo 的配置文件 _config.yml 中的 new_post_name 参数来改变默认的文件名称,例如:

new_post_name::year-:month-:day-:title.md

当创建博客时,就会以这种格式生成Markdown文件,如这篇博客的文件名就生成 2017-01-13-hexo-blog.md 这种形式。其中相关变量说明如下表:

变量 说明
:title 标题(小写, 空格将会被替换为短杠)
:year 创建的年份,如:2017
:month 创建的月份(有前导零),如:01
:i_month 创建的月份(无前导零),如:1
:day 创建的日期(有前导零),如:09
:i_day 创建的月份(无前导零),如:9

配置浏览器地址栏中的URL。同样在 Hexo 的配置文件 _config.yml 中, 配置 permalink 属性 ,例如:

permalink:/blog/:year/:month/:day/:title/

当在地址栏访问时,就会如下方式呈现出来:

http://localhost:4000/blog/2017/01/13/hexo-blog/

创建博客

在命令行中用如下命令创建一篇新的文章

`hexo new[layout]</p> <table> <thead> <tr> <th></th> <th></th> <th></th> </tr> </thead> <tbody><tr> <td>布局(layout)</td> <td>存储路径</td> <td>说明</td> </tr> <tr> <td>post</td> <td>source/_posts</td> <td>默认,可以直接发布</td> </tr> <tr> <td>page</td> <td>source</td> <td>在source下新建一个文件夹</td> </tr> <tr> <td>draft</td> <td>source/_drafts</td> <td>新建文件将保持到_drafts中</td> </tr> </tbody></table> <p>可以用 publish 命令将草稿移动到 source/_posts 文件夹下</p> <blockquote> <p>hexo publish [layout]<title></p> </blockquote> <h2 id="写作的md文件的代码"><a href="#写作的md文件的代码" class="headerlink" title="写作的md文件的代码"></a>写作的md文件的代码</h2><pre><code>--- title: 测试——怎么发blog date: 2023-07-19 19:04:56 tags:     - test     - markdown categories: 使用指南 ---  正文 </code></pre> <h1 id="10-上传文章"><a href="#10-上传文章" class="headerlink" title="10.上传文章"></a>10.上传文章</h1><pre><code>清除:hexo clean 生成:hexo  generate 部署:hexo deploy 预览: hexo server </code></pre> <h2 id="出现的问题及其解决方案"><a href="#出现的问题及其解决方案" class="headerlink" title="出现的问题及其解决方案"></a>出现的问题及其解决方案</h2><blockquote> <p><a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_36759224/article/details/92443159">Hexo 博客本地预览报错:Error: listen EADDRINUSE 0.0.0.0:4000_IT.BOB的博客-CSDN博客</a></p> </blockquote> <pre><code>1. 删除.deploy_git文件夹; 2. 输入git config --global core.autocrlf false 3. 然后,依次执行: hexo clean hexo g hexo d </code></pre> <blockquote> <p><a target="_blank" rel="noopener" href="https://blog.csdn.net/HTL2018/article/details/106876940">hexo发生error:spawn failed错误的解决方法_error: spawn failed_HuangTLhit的博客-CSDN博客</a></p> </blockquote> <pre><code>打开 Git Shell 进入创建的文件夹,依次输入以下命令: hexo clean hexo generate hexo deploy 如果出现下图错误,不要着急: ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATUAAAA1CAYAAAAgaHywAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAsISURBVHhe7Z37bxTXFcf9dxVo1ERKIrVRpCrpD1FoAT8wD2PspGrUlpSmChKKmkpUpVJStVUT0khEaiOVVAkPU2hqKCCCwYDf6wfYYGNjHv31dO7MnN2zZ8+9d2ZnZ9djnx8+yp7vOefOnTv3fjNrQ9JWmrwNyOrDB/BGfy+0tbUpiqIUEzU1RVHWFWpqiqKsK0pTdlM7e/ZsFVWNGeDjNXr8JGS5JvY2e871kNdc6biNHltRMjFtMTW+WdNuXldt1rEbRZbrtmrO9ZDnXIu0DsoGQTI1aaO6NK7THNelnKs2b+q9divnnJY851qkdVA2CMbU0NhcpiaBdbZaW47rUh1qrpxLw5jrEklqOLRH6kfNlXNpGHM9Kbyfj5Ekx+toDWLL0T5X3hYrSt2gqRnSmloSpLFQ49h6eMw1nvfFEklqKFiPPbbPUsw1nvfFPnz9vjhpjU3nWr01ilIXeZuagY+XNOZgXqqTdFvM8eUleA+N8TMHa3kPz3FNqnHh68eYg3lXD62x6Vyrt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) 将deploy 的 type 改成 git,然后再在 Git Shell 中运行以下命令: npm install hexo-deployer-git --save 再重新来一遍: hexo clean hexo generate hexo deploy </code></pre> </div> <div class="reward-container"> <div></div> <button onclick="var qr = document.getElementById('qr'); qr.style.display = (qr.style.display === 'none') ? 'block' : 'none';"> 打赏 </button> <div id="qr" style="display: none;"> <div style="display: inline-block;"> <img src="/images/wechatpay.png" alt="LXing 微信支付"> <p>微信支付</p> </div> <div style="display: inline-block;"> <img src="/images/alipay.jpg" alt="LXing 支付宝"> <p>支付宝</p> </div> </div> </div> <footer class="post-footer"> <div class="post-nav"> <div class="post-nav-item"> <a href="/fd65ce3ba538.html" rel="prev" title="markdown语法"> <i class="fa fa-chevron-left"></i> markdown语法 </a></div> <div class="post-nav-item"></div> </div> </footer> </article> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#1-%E5%87%86%E5%A4%87github"><span class="nav-number">1.</span> <span class="nav-text">1.准备github</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#2-%E5%AE%89%E8%A3%85git"><span class="nav-number">2.</span> <span class="nav-text">2.安装git</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#3-%E5%B0%86git%E4%B8%8Egithub%E7%BB%91%E5%AE%9A"><span class="nav-number">3.</span> <span class="nav-text">3.将git与github绑定</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#4-%E8%B4%AD%E4%B9%B0%E5%9F%9F%E5%90%8D"><span class="nav-number">4.</span> <span class="nav-text">4.购买域名</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#5-%E5%AE%89%E8%A3%85node-js%E5%92%8Chexo"><span class="nav-number">5.</span> <span class="nav-text">5.安装node.js和hexo</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%8F%82%E8%80%83%E6%96%87%E7%AB%A0%EF%BC%9A"><span class="nav-number">5.1.</span> <span class="nav-text">参考文章:</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%89%E8%A3%85hexo"><span class="nav-number">5.2.</span> <span class="nav-text">安装hexo</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%87%BA%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98%E5%8F%8A%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%EF%BC%9A"><span class="nav-number">5.3.</span> <span class="nav-text">出现的问题及解决方案:</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#6-%E8%A7%A3%E6%9E%90%E5%9F%9F%E5%90%8D"><span class="nav-number">6.</span> <span class="nav-text">6. 解析域名</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#7-%E8%AE%BE%E7%BD%AE%E4%B8%BB%E9%A2%98"><span class="nav-number">7.</span> <span class="nav-text">7.设置主题</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#8-%E4%B8%BB%E9%A2%98%E4%BC%98%E5%8C%96"><span class="nav-number">8.</span> <span class="nav-text">8.主题优化</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#cname%E6%96%87%E4%BB%B6%E7%9A%84%E9%85%8D%E7%BD%AE%E5%86%B3%E5%AE%9AGitHub%E4%BB%93%E5%BA%93%E5%92%8C%E7%BD%91%E5%9D%80%E7%9A%84%E8%BF%9E%E6%8E%A5-DNS"><span class="nav-number">9.</span> <span class="nav-text">cname文件的配置决定GitHub仓库和网址的连接 DNS</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#9-%E5%86%99%E5%8D%9A%E5%AE%A2"><span class="nav-number">10.</span> <span class="nav-text">9.写博客</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E5%91%BD%E5%90%8D%E8%A7%84%E5%88%99%E5%92%8C%E8%B7%AF%E7%94%B1%E5%9C%B0%E5%9D%80"><span class="nav-number">10.1.</span> <span class="nav-text">配置文件命名规则和路由地址</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%88%9B%E5%BB%BA%E5%8D%9A%E5%AE%A2"><span class="nav-number">10.2.</span> <span class="nav-text">创建博客</span></a></li></ol></li></ol></div> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="LXing" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">LXing</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">3</span> <span class="site-state-item-name">日志</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">1</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">1</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/LXingPeng" title="GitHub → https://github.com/LXingPeng" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="mailto:1803941125@qq.com" title="E-Mail → mailto:1803941125@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> </div> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> © <span itemprop="copyrightYear">2023</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">LXing</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span title="站点总字数">11k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span title="站点阅读时长">10 分钟</span> </div> <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动 </div> <!-- 网站运行时间的设置 --> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("03/01/2023 10:00:00"); //此处修改你的建站时间或者网站上线时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站已安全运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> </body> </html>