# 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 ``` このgpgエラーは、鍵が公開されていないのか、解決不能。 仕方ないのでソースからビルド。 まずgoが必要 [[20240205152229 raspi4にgoをインストールする]] ```sh $ sudo apt install git (インストールしてなければ) $ git clone --depth=1 https://github.com/caddyserver/caddy.git ``` 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)