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.
- Update your software sources list.
sudo apt-get update
- Install git
sudo apt-get install git
- Install node.js
sudo apt-get install nodejs
Typenodejs -v
to see whether node.js was installed or not. Not error occur meaning that it works now. - Install npm
sudo apt-get install npm
Install Hexo
# npm install hexo-cli -g
# hexo init blog
# cd blog
# npm install
# hexo server
//TODO
网友评论