美文网首页
Build your personal blogs using

Build your personal blogs using

作者: strivexj | 来源:发表于2017-09-28 13:32 被阅读0次

Hexo is a fast, simple and powerful blog framework. You write posts in Markdown (or other languages) and Hexo generates static files with a beautiful theme in seconds.

Before installing hexo, you should install git, npm, and node.js. If you have installed, you can skip this step.

  1. Update your software sources list.
    sudo apt-get update
  2. Install git
    sudo apt-get install git
  3. Install node.js
    sudo apt-get install nodejs
    Type nodejs -v to see whether node.js was installed or not. Not error occur meaning that it works now.
  4. Install npm
    sudo apt-get install npm

Install Hexo

# npm install hexo-cli -g
# hexo init blog
# cd blog
# npm install
# hexo server

//TODO

相关文章

网友评论

      本文标题:Build your personal blogs using

      本文链接:https://www.haomeiwen.com/subject/dxwmextx.html