安装配置hexo

这个网上有好多教程,但是据我实验,没有一个能完整的安装下来,安装的时候遇到了好多坑,所以整理了一下安装方法,以便下次使用。

首先安装git和npm

sudo apt-get install git
sudo apt-get install npm
npm当时用中科大的源死活安不上,换成清华的源就可以了2333

然后安装hexo
sudo npm install hexo -g




Warning: Undefined variable $output in /www/wwwroot/aotxland.com/wp-content/plugins/wp-alu/functions.php on line 21

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注