From 99efae483b0e9a564c7e6614d5f1c2f533572b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=91=AB?= <7176466@qq.com> Date: Wed, 31 Aug 2022 10:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- package.json | 4 ++-- source/_posts/树莓派/在树莓派上安装 Arch Linux.md | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f33bb20..0895e93 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ npm install -g hexo-cli # 安装hexo程序 git clone http://nas:3000/zhaoxin/blog.git cd blog npm install # 安装依赖 +hexo new "新的发现!" +code . hexo server -hexo generate --deploy +hexo generate +hexo deploy ``` diff --git a/package.json b/package.json index 801f495..63b00df 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "blog", - "version": "0.0.0", "description": "数字化记忆", "private": true, "scripts": { - "build": "hexo generate", "clean": "hexo clean", + "build": "hexo generate", + "rebuild": "hexo clean && hexo generate", "deploy": "hexo deploy", "server": "hexo server" }, diff --git a/source/_posts/树莓派/在树莓派上安装 Arch Linux.md b/source/_posts/树莓派/在树莓派上安装 Arch Linux.md index 4ac3bd7..a4a21c9 100644 --- a/source/_posts/树莓派/在树莓派上安装 Arch Linux.md +++ b/source/_posts/树莓派/在树莓派上安装 Arch Linux.md @@ -49,5 +49,7 @@ pacman -Syyu sudo vim git fish nginx echo "kernel.printk = 3 3 3 3" >> /etc/sysctl.d/20-quiet-printk.conf echo "enable_uart=1 nomodeset quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3" >> /boot/config.txt echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers +passwd root +passwd xin chsh -s /usr/bin/fish ```