The procedure of installing Caddy Web Server on CentOS 8 is pretty much the same as on CentOS 7. Let’s jump on the installation part.
Prerequisites
- CentOS 8
- sudo privileges
Install Caddy on CentOS 8
Step 1. Add the corp repository.
sudo dnf install 'dnf-command(copr)'
Step 2. Enable the caddy package through corp.
sudo dnf copr enable @caddy/caddy
Step 3. Install Caddy web server.
sudo dnf install caddy
Step 4. Verify the installation.
caddy --version
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.