From 1e9c85c4e1e9b63013cf63794dae5d1192ea6f47 Mon Sep 17 00:00:00 2001 From: "Kaz Saita(WSL2)" Date: Mon, 5 Feb 2024 15:50:06 +0900 Subject: [PATCH] commit(auto) --- content/20240204184839 raspi4 家サーバー 作業ログ.md | 2 +- .../20240205150537 Caddyをraspi4にインストール.md | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/content/20240204184839 raspi4 家サーバー 作業ログ.md b/content/20240204184839 raspi4 家サーバー 作業ログ.md index 63f4516..4277e9b 100755 --- a/content/20240204184839 raspi4 家サーバー 作業ログ.md +++ b/content/20240204184839 raspi4 家サーバー 作業ログ.md @@ -35,7 +35,7 @@ wsl2上のubuntuから、sshで接続確認。(名前とパスワード。後で `$ sudo apt update` してから、 -``` +```sh $ sudo apt full-upgrade ... $ sudo reboot (最新にしたので再起動) diff --git a/content/20240205150537 Caddyをraspi4にインストール.md b/content/20240205150537 Caddyをraspi4にインストール.md index c2141c2..870fc1b 100755 --- a/content/20240205150537 Caddyをraspi4にインストール.md +++ b/content/20240205150537 Caddyをraspi4にインストール.md @@ -1,7 +1,7 @@ # 20240205150537 Caddyをraspi4にインストール #raspi #caddy #web_server [How to Setup a Raspberry Pi Caddy Web Server - Pi My Life Up](https://pimylifeup.com/raspberry-pi-caddy-web-server/) の方法が現在 20240205 は利用できない。 -``` +```sh Err:4 https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABA1F9B8875A6661 ``` @@ -12,6 +12,12 @@ The following signatures couldn't be verified because the public key is not avai まずgoが必要 [[20240205152229 raspi4にgoをインストールする]] + +```sh +$ sudo apt install git (インストールしてなければ) +$ git clone --depth=1 https://github.com/caddyserver/caddy.git + ``` -$ sudo apt install git -``` \ No newline at end of file + +cf. +[GitHub - caddyserver/caddy: Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS](https://github.com/caddyserver/caddy?tab=readme-ov-file#build-from-source) \ No newline at end of file