Build your own Hexo blog from scratch

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.