commit(auto)
This commit is contained in:
parent
89d74f7b12
commit
b4aca3dd70
2 changed files with 7 additions and 1 deletions
|
@ -42,4 +42,5 @@ $ sudo reboot (最新にしたので再起動)
|
|||
```
|
||||
`
|
||||
### WEBサーバーを入れる
|
||||
[[20240205150537 Caddyをraspi4にインストール|Caddyをraspi4にインストール]]
|
||||
- [[20240205150537 Caddyをraspi4にインストール|Caddyをraspi4にインストール]]
|
||||
- [[20240205164639 Caddyの設定|Caddyの設定]]
|
||||
|
|
|
@ -18,7 +18,12 @@ $ sudo apt install git (インストールしてなければ)
|
|||
$ git clone --depth=1 https://github.com/caddyserver/caddy.git
|
||||
$ cd caddy/cmd/caddy/
|
||||
$ go build
|
||||
$ cd ../../..
|
||||
$ sudo mv caddy /usr/local
|
||||
```
|
||||
`/usr/local/caddy/cmd/caddy`
|
||||
にパスを通す。 /etc/profileに追加。
|
||||
|
||||
|
||||
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)
|
Loading…
Reference in a new issue