[windows篇] 使用Hexo建立个人博客,自定义域名https加密,搜索引擎google,baidu,360收录

Posted hellogiser

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[windows篇] 使用Hexo建立个人博客,自定义域名https加密,搜索引擎google,baidu,360收录相关的知识,希望对你有一定的参考价值。

为了更好的阅读体验,欢迎阅读原文。原文链接在此。

Part 2: Using Github Pages and Hexo to manage personal blogs on windows.

Series

Guide

install node

wget https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi

start node installer and install node,npm to windows.

node -v 
v8.9.4

npm -v 
5.6.0

install hexo global

npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g hexo-cli

clone/create your blog

git clone git@xxxx/blog.git 
# or create your blog

install hexo packages

cd blog 
ls package.json

package.json

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "hexo": {
    "version": "3.4.4"
  },
  "dependencies": {
    "hexo": "^3.4.4",
    "hexo-abbrlink": "^2.0.5",
    "hexo-admin": "^2.3.0",
    "hexo-deployer-git": "^0.3.1",
    "hexo-generator-archive": "^0.1.5",
    "hexo-generator-baidu-sitemap": "^0.1.2",
    "hexo-generator-category": "^0.1.3",
    "hexo-generator-feed": "^1.2.2",
    "hexo-generator-index": "^0.2.1",
    "hexo-generator-search": "^2.1.1",
    "hexo-generator-searchdb": "^1.0.8",
    "hexo-generator-sitemap": "^1.2.0",
    "hexo-generator-tag": "^0.2.0",
    "hexo-neat": "^1.0.4",
    "hexo-renderer-ejs": "^0.3.1",
    "hexo-renderer-marked": "^0.3.0",
    "hexo-renderer-stylus": "^0.3.3",
    "hexo-server": "^0.3.0",
    "hexo-wordcount": "^3.0.2"
  }
}

install packages

cnpm install --save
cnpm update --save

start hexo

hexo server

and visit

Reference

History

  • 20180122: created.

Copyright

以上是关于[windows篇] 使用Hexo建立个人博客,自定义域名https加密,搜索引擎google,baidu,360收录的主要内容,如果未能解决你的问题,请参考以下文章

windows下hexo+github搭建个人博客

如何使用阿里云+Hexo搭建个人静态博客

从零开始建立一个属于你个人的Hexo博客

自建博客系列(六)Hexo博客的常用配置修改

使用Hexo和Github Pages快速搭建个人博客

基于Hexo+Node.js+github+coding搭建个人博客——基础篇