无题
{"dependencies":{"hexo-deployer-git":"^4.0.0"}}
hexo+next博客搭建
一、环境准备服务器环境:windows10 64bitnodejs版本:18.16.0npm版本:9.6.5hexo版本:6.3.0next主题版本:v8.15.1
二、开始安装1、安装nodejs以及npm关于nodejs和npm的安装,网上有很多的方法,我用的是源码安装,但是缺点就是make编译的时间很长,优点则是可以选择安装的版本。nodejs18.3.0下载地址:https://nodejs.org/dist/v18.5.1/node-v18.5.1.tar.gz下载完之后上传到服务器上,然后解压文件并安装
123456789# 解压tar xvf node-v18.5.1.tar.gz# 安装cd node-v18.5.1./configuremake && make installcp /usr/local/bin/node /usr/sbin/# 更新npmnpm install -g npm
2、安装hexo2.1、下载cnpm1npm install -g cnpm --registry=https://registry.npm.taobao.org ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
