小修改

This commit is contained in:
赵鑫 2022-08-31 10:34:53 +08:00
parent ff7544a657
commit 99efae483b
3 changed files with 8 additions and 3 deletions

View File

@ -7,6 +7,9 @@ npm install -g hexo-cli # 安装hexo程序
git clone http://nas:3000/zhaoxin/blog.git git clone http://nas:3000/zhaoxin/blog.git
cd blog cd blog
npm install # 安装依赖 npm install # 安装依赖
hexo new "新的发现!"
code .
hexo server hexo server
hexo generate --deploy hexo generate
hexo deploy
``` ```

View File

@ -1,11 +1,11 @@
{ {
"name": "blog", "name": "blog",
"version": "0.0.0",
"description": "数字化记忆", "description": "数字化记忆",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "hexo generate",
"clean": "hexo clean", "clean": "hexo clean",
"build": "hexo generate",
"rebuild": "hexo clean && hexo generate",
"deploy": "hexo deploy", "deploy": "hexo deploy",
"server": "hexo server" "server": "hexo server"
}, },

View File

@ -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 "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 "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 echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
passwd root
passwd xin
chsh -s /usr/bin/fish chsh -s /usr/bin/fish
``` ```