Installing Blocky on Fedora Server Latest
In this tutorial, we will walk you through the process of installing Blocky on Fedora Server Latest. Blocky is an efficient and lightweight DNS server that aims to block unwanted ads, trackers and malware in a customizable way. It can be configured to run alongside your existing DNS server, which allows for further customization and flexibility.
Prerequisites
- A Fedora Server Latest running machine with SSH access.
- Basic knowledge of the command line interface.
Install Blocky on Fedora Server Latest
- Install Git to clone the Blocky repository from the official GitHub page.
sudo dnf install git
- Clone the Blocky repository from the official GitHub page in the home directory.
cd ~
git clone https://github.com/0xERR0R/blocky.git
- Install Go programming language using the official instructions or using the following command.
sudo dnf install golang
- Build the Blocky binary.
cd blocky/
make build
- Copy the Blocky binary to the
/usr/local/bindirectory.
sudo cp blocky /usr/local/bin/
- Copy the contents of the
config.yml.distfile to a newconfig.ymlfile in the same directory.
sudo cp config.yml.dist config.yml && sudo chown $USER:$USER config.yml
- Edit the
config.ymlfile to suit your preferences.
nano config.yml
- Start Blocky.
sudo systemctl start blocky
- Verify Blocky is running.
systemctl status blocky
Conclusion
You have successfully installed and started Blocky on your Fedora Server Latest machine, ready to use as a lightweight DNS server to block unwanted ads, trackers and malware. Happy browsing!