Hexo搭建笔记(Termux)
本篇内容记录于安卓移动设备中使用Termux安装、配置Hexo,并实现静态托管与自动化部署的参考示例。 准备工作开始之前,请确保已准备好以下内容: Termux (F-Droid或GitHub下载安装) 域名 (可选) GitHub账号 Cloudflare (可选) 安装必要环境启动Termux应用后,请按顺序输入以下命令,以完成初始设置并安装所需的运行环境: termux本身会触发系统弹窗,要求用户授权存储访问权限。如果没有需要执行termux-setup-storage指令后授权。还需要手动开启通知权限 更换软件源以免出现网络问题 12termux-change-repo# 先选 Single mirror → (选择清华源)Tsinghua 空格是选择回车是确认 更新Termux的包信息和版本 1pkg update && pkg upgrade 若过程中出现提示,直接回车(默认)即可 安装nodejs 1pkg install nodejs-lts -y 检查是否成功安装nodejs Hexo安装与初始化依次执行官方的安装操作 ...
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


