Caddy is a modern, open-source web server that supports HTTPS out of the box. In this tutorial, you will learn how to install Caddy on the latest version of Fedora CoreOS.
Before You start, make sure you have Fedora CoreOS latest up and running.
Firstly, download Caddy by running the following command:
wget https://github.com/caddyserver/caddy/releases/latest/download/caddy_linux_amd64.tar.gz
This will download the latest Caddy version for the AMD64 architecture.
Next, extract Caddy from the downloaded archive:
tar -xvf caddy_linux_amd64.tar.gz
This will create a folder called caddy_vX.Y.Z_linux_amd64
, where X.Y.Z
represents the version number.
Move the extracted Caddy binary to the /usr/local/bin
directory:
sudo mv caddy_vX.Y.Z_linux_amd64/caddy /usr/local/bin/
Verify that Caddy has been successfully installed by running the following command:
caddy version
This should output the version number of the installed Caddy.
Start Caddy by running the following command:
sudo caddy
This will start Caddy and serve files from the current directory.
In this tutorial, you learned how to install Caddy on the latest version of Fedora CoreOS, and start serving files with it. Caddy is a powerful web server with a lot of features, and is perfect for hosting small to medium-sized web applications.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!