Centos服务搭建-Hexo

安装git

sudo yum install git-core

安装Nodejs13

curl -sL https://rpm.nodesource.com/setup_13.x | bash -
sudo yum install nodejs -y

npm install -g cnpm --registry=https://registry.npm.taobao.org

安装Hexo

cnpm install -g hexo-cli