Build your own Hexo blog from scratch
Hexo is a fast, simple and efficient blog framework. Hexo uses Markdown (or other lined engines) to parse the article, and in a matter of seconds, it can be used to generate dynamic Web pages in a beautiful context.
The obese WP to talk about the speed, such as a lot of solid fast. Here is a tutorial under Linux
1. Deploy NODEJS/GIT/NPM
sudo apt-get install npm gitcurl-sl https://deb.nodesource.com/setup_6.x | Sudo-e Bash-sudo apt-get install-y Nodejs
Ii. Deployment Hexo and Configuration
sudo npm install hexo-clihexo-vhexo init blogcd blognpm Installhexo Server
can see my blog
3. Go to GitHub
1, establish a repo
2. Bind GitHub Account
git config--global user.name "xx" git config--global user.email "xx"
3. Establish SSH
Ssh-keygen-t rsa-c "[email protected]" eval "$ (ssh-agent-s)" Ssh-add ~/.ssh/id_rsacat/home/cyborg/.ssh/id_rsa.pub //View the generated certificate
4. Copy everything to GitHub's SSH
5. Whether the test can be successful
ssh-t [email protected]
6. Fix _config.yml file
Deploy: type:git repo:https://github.com/yourgithubname/yourgithubname.github.io.git branch:master
7. Execute command
NPM install Hexo<span class= "Hljs-attribute" >-deployer-git <span class= "Hljs-subst" >--save</span> </span>hexo Cleanhexo Generatehexo Deployhexo Server
Take a look at GitHub and see
can be accessed through the domain name.
Hope that the above article is useful to you, if you feel good give me the top! More and starting from scratch to build a personal Hexo blog related issues or to the Atlanta server How to choose to have doubts also welcome everyone consultation.
Build your own Hexo blog from scratch