diff --git a/_config.yml b/_config.yml index c923c625..8ec25204 100644 --- a/_config.yml +++ b/_config.yml @@ -56,8 +56,8 @@ external_link: filename_case: 0 render_drafts: true +# post_asset_folder: true # 可以使用正常的 markdown 语法引用图片而不再使用 hexo 的 {% asset_path slug %} 语法 -post_asset_folder: true marked: prependRoot: true postAsset: true diff --git a/source/_posts/Deploy-a-springboot-project-to-server.md b/source/_posts/Deploy-a-springboot-project-to-server.md index 85d817b0..102d1859 100644 --- a/source/_posts/Deploy-a-springboot-project-to-server.md +++ b/source/_posts/Deploy-a-springboot-project-to-server.md @@ -173,10 +173,11 @@ Springboot 打包好后可以通过 `java -jar xxx.jar` 命令启动项目。但 输入以下命令启动项目: ```bash -nohup java -jar xxx.jar +nohup java -jar xxx.jar >> nohup.out 2>&1 & ``` -`nohup` 命令可以让程序在后台运行,不会因为终端关闭而停止。我们还可以通过查看 `nohup.out` 文件来查看程序的输出。 +- `nohup` 命令可以让程序在后台运行,不占用当前终端,不会因为终端关闭而停止。 +- `>> nohup.out 2>&1` 将输出重定向到 `nohup.out` 文件中,这样我们可以查看项目的输出日志。 ## 6. 反向代理与 SSL 证书申请 diff --git a/source/_posts/Recording-the-Good-Life-1.md b/source/_posts/Recording-the-Good-Life-1.md index 23f2454a..5cf21e7a 100644 --- a/source/_posts/Recording-the-Good-Life-1.md +++ b/source/_posts/Recording-the-Good-Life-1.md @@ -16,7 +16,7 @@ date: 2024-04-02 19:01:33 也许,远在四年前高考结束时的我,可能也有类似的感悟和微妙的心绪,对当时的我来说,高中的一切都还是那么熟悉,没有来得及好好感悟和说再见就已然结束了。 -![考完试的天空](https://pic4.zhimg.com/80/post_asset_folder: truev2-29b4762ef455ea245348ec968bbcea87_1440w.webp) +![考完试的天空](https://pic4.zhimg.com/80/v2-29b4762ef455ea245348ec968bbcea87_1440w.webp) ![隆江猪脚饭](https://pic3.zhimg.com/80/v2-aa1df539f7ad5ee595428d1678176e2a_1440w.webp) @@ -40,8 +40,9 @@ date: 2024-04-02 19:01:33 下面是我拍摄的一段飞机云中穿行的视频,感觉略有意境。 - - + + + --- diff --git a/source/_posts/Recording-the-Good-Life-1/output.webm b/source/videos/output.webm similarity index 100% rename from source/_posts/Recording-the-Good-Life-1/output.webm rename to source/videos/output.webm diff --git a/source/_posts/Recording-the-Good-Life-1/output2.webm b/source/videos/output2.webm similarity index 100% rename from source/_posts/Recording-the-Good-Life-1/output2.webm rename to source/videos/output2.webm