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.
Before starting the installation process, ensure that you have the following:
$ wget https://github.com/mzbyszynski/maza-ad-blocking/releases/tag/3.3.1/maza-ad-blocking-3.3.1.tar.gz
$ tar xzf maza-ad-blocking-3.3.1.tar.gz
$ sudo mv maza-ad-blocking /opt/
$ 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
$ sudo pip3 install -r /opt/maza-ad-blocking/requirements.txt
$ 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
$ sudo systemctl daemon-reload
$ sudo systemctl enable maza-ad-blocking.service
$ sudo systemctl start maza-ad-blocking.service
$ sudo systemctl status maza-ad-blocking.service
The output of the above command should show active (running) as the status.
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!
Alternatively, for the best virtual desktop, try Shells!