aliyun部署hexo
准备阶段服务端工具
大前提是你有台服务器
optional[域名]
nodejs
git
nginx
服务端预处理阶段
换源(如果对原来的镜像速度不满意的话)
打开服务器端口(80,22)等
相关安装命令123456sudo apt updatecurl -sL https://deb.nodesource.com/setup_${你想要的版本}.x | sudo -E bash ----以上安装新的nodejs---sudo apt install nginx git -ysudo systemctl enable nginx && sudo systemctl start nginx---配置没问题的话现在访问IP地址就已经能看到nginx了
本地准备
配置本地hexo工作目录
123456789101112131415cd ${你想要的路径(比如 E:/hexo-blog)}mkdir ${博客文件夹名}cd ${文件夹}hexo inithexo g;hexo snpm i ...