1,安装 node
https://juejin.cn/post/7102790458132135944
2 linux 安装 Yarn
https://juejin.cn/post/7102793669425496077
3 安装Nginx
安装
dnf install nginx
启动
systemctl start nginx
systemctl status nginx
systemctl enable nginx
配置(完成后重启systemctl restart nginx)
/etc/nginx/nginx.conf
3 搭建个人博客
cd blog 切换目录
hexo g 生成静态网站
博客需要截断的地方添加<!–more–>,后面的内容首页就不会显示了
https://www.bilibili.com/video/BV1q741167PJ?p=3&spm_id_from=pageDriver&vd_source=9667bedd4023ad7610aef5510bb068c5