mirror of
https://github.com/caddyserver/website.git
synced 2025-04-22 04:56:17 -04:00
docs: add Webi installer; Linux & Windows hints (#92)
* add Webi installer, and Linux & Windows hints * fix copy pasta with setcap command * move generic linux below mainstream distros
This commit is contained in:
parent
e643afb766
commit
4b65d28bc5
1 changed files with 30 additions and 1 deletions
|
@ -10,7 +10,7 @@ All our [official distributions](https://github.com/caddyserver/dist) come with
|
||||||
|
|
||||||
## Static binaries
|
## Static binaries
|
||||||
|
|
||||||
You can **[download Caddy from GitHub](https://github.com/caddyserver/caddy/releases)**, where new releases are immediately published.
|
You can **[download Caddy from GitHub](https://github.com/caddyserver/caddy/releases)**, where new releases are immediately published, and place it in your PATH.
|
||||||
|
|
||||||
Using `curl`:
|
Using `curl`:
|
||||||
|
|
||||||
|
@ -58,6 +58,21 @@ RHEL/CentOS 7:
|
||||||
[**View the Caddy COPR**](https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/)
|
[**View the Caddy COPR**](https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/)
|
||||||
|
|
||||||
|
|
||||||
|
## Linux & Raspberry Pi
|
||||||
|
|
||||||
|
You can use Webi to automate the processes of downloading the latest release and putting it
|
||||||
|
in your PATH, without requiring admin permissions.
|
||||||
|
|
||||||
|
<pre><code class="cmd bash">curl -sS https://webinstall.dev/caddy | bash</code></pre>
|
||||||
|
|
||||||
|
If you'd like a simple way to launch Caddy as a system service and bind to privilege ports,
|
||||||
|
see the Webi [Caddy Cheat Sheet](https://webinstall.dev/caddy).
|
||||||
|
|
||||||
|
To allow non-root users to bind to ports 80 and 443, use setcap.
|
||||||
|
|
||||||
|
<pre><code class="cmd bash">sudo setcap cap_net_bind_service=+ep $(readlink $(command -v caddy))</code></pre>
|
||||||
|
|
||||||
|
|
||||||
## DigitalOcean
|
## DigitalOcean
|
||||||
|
|
||||||
[**Deploy a Caddy droplet on DigitalOcean**](https://marketplace.digitalocean.com/apps/caddy)
|
[**Deploy a Caddy droplet on DigitalOcean**](https://marketplace.digitalocean.com/apps/caddy)
|
||||||
|
@ -65,6 +80,20 @@ RHEL/CentOS 7:
|
||||||
|
|
||||||
## macOS
|
## macOS
|
||||||
|
|
||||||
|
**Homebrew**
|
||||||
|
|
||||||
<pre><code class="cmd bash">brew install caddy</code></pre>
|
<pre><code class="cmd bash">brew install caddy</code></pre>
|
||||||
|
|
||||||
[**View the Homebrew formula**](https://formulae.brew.sh/formula/caddy)
|
[**View the Homebrew formula**](https://formulae.brew.sh/formula/caddy)
|
||||||
|
|
||||||
|
**Webi**
|
||||||
|
|
||||||
|
<pre><code class="cmd bash">curl -sS https://webinstall.dev/caddy | bash</code></pre>
|
||||||
|
|
||||||
|
[**View the Webi installer**](https://github.com/webinstall/webi-installers/tree/master/caddy)
|
||||||
|
|
||||||
|
## Windows 10
|
||||||
|
|
||||||
|
<pre><code class="cmd pwsh">curl.exe -A MS https://webinstall.dev/caddy | powershell</code></pre>
|
||||||
|
|
||||||
|
You may need to adjust the Windows firewall rules to allow non-localhost incoming connections.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue