How to Install Maza Ad Blocking on Fedora Server Latest

Maza Ad Blocking is an open-source tool used to block ads on your web browser. It works on various platforms, including Fedora. This tutorial will guide you through the steps to install Maza Ad Blocking on your Fedora Server.

Prerequisites

Before starting the installation process, ensure that you have the following:

Step-by-Step Installation Guide

  1. First, you need to download the Maza Ad Blocking package from the official website.
$ wget https://github.com/mzbyszynski/maza-ad-blocking/releases/tag/3.3.1/maza-ad-blocking-3.3.1.tar.gz
  1. Extract the downloaded package to a temporary directory.
$ tar xzf maza-ad-blocking-3.3.1.tar.gz
  1. Move the extracted package to the /opt directory.
$ sudo mv maza-ad-blocking /opt/
  1. To install the dependencies required by Maza Ad Blocking, run the following command.
$ sudo dnf install -y python3
$ sudo dnf install -y python3-pip
$ sudo dnf install -y python3-devel
$ sudo dnf install -y gcc
$ sudo dnf install -y redhat-rpm-config
  1. Install the required Python modules.
$ sudo pip3 install -r /opt/maza-ad-blocking/requirements.txt
  1. Create a systemd service file.
$ sudo vim /etc/systemd/system/maza-ad-blocking.service

Copy and paste the following code in the file.

[Unit]
Description=Maza Ad Blocking Service
After=network.target

[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/maza-ad-blocking
ExecStart=/usr/bin/python3 /opt/maza-ad-blocking/maza.py
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target
  1. Reload systemd daemon.
$ sudo systemctl daemon-reload
  1. Enable and start Maza Ad Blocking service.
$ sudo systemctl enable maza-ad-blocking.service
$ sudo systemctl start maza-ad-blocking.service
  1. Verify the status of the Maza Ad Blocking service.
$ sudo systemctl status maza-ad-blocking.service

The output of the above command should show active (running) as the status.

Conclusion

You have successfully installed Maza Ad Blocking on your Fedora Server. The next step is to configure your web browser to use the Maza Ad Blocking proxy server. Once configured, you should be able to browse without seeing any ads.

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!