Hello World

环境:centos8.0

1
2
3
4
5
6
7
8
sudo yum install git-core

curl -sL https://rpm.nodesource.com/setup_18.x | sudo bash -
sudo yum install -y nodejs
node -v #验证
npm -v #验证

npm install -g hexo-cli # 安装hexo
1
2
3
hexo init <folder>  # git clone https://github.proxy.class3.fun/https://github.com/hexojs/hexo-starter.git
cd <folder>
npm install