笔记:各种国内源
ubuntu服务器换软件源 123456# 备份原始源文件sources.list$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak# 编辑文件$ vi /etc/apt/sources.list# 保存文件后更新一下$ sudo apt update ubuntu桌面换软件源 中国科学技术大学开源软件镜像
笔记:首次使用HEXO
安装node windows系统官网下载 node16.20.0 因为在此系统上禁止运行脚本 set-ExecutionPolicy RemoteSigned 安装node版本管理器nvm,安装node16.20.0 123$ npm install -g n $ nvm install 16.20.0$ nvm use 16.20.0 官方原生搭建 12345$ npm install hexo-cli -g$ hexo init blog$ cd blog$ npm install$ hexo server 查看hexo版本 12345678910111213141516171819202122$ hexo -vINFO Validating confighexo: 6.3.0hexo-cli: 4.3.0os: win32 10.0.22621node: 16.20.0v8: 9.4.146.26-node.26uv: 1.43.0zlib: 1.2.11brotli: 1.0.9ares: 1.19.0modules: 93nghttp2: 1.47.0napi: ...
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 Start Create a new post 1$ hexo new "My New Post" More info: Writing Run server 1$ hexo server More info: Server Generate static files 1$ hexo generate More info: Generating Deploy to remote sites 1$ hexo deploy More info: Deployment
