Home / Adblock & DNS / Pihole

Pihole

Adblock & DNS Β· 2.6k installs (30d)
ubuntu 24.04 2.6k installs / 30d

About

Pi-hole is a free, open-source network-level advertisement and Internet tracker blocking application. It runs on a Raspberry Pi or other Linux-based systems and acts as a DNS sinkhole, blocking unwanted traffic before it reaches a user's device. Pi-hole can also function as a DHCP server, providing IP addresses and other network configuration information to devices on a network. The software is highly configurable and supports a wide range of customizations, such as allowing or blocking specific domains, setting up blocklists and whitelists, and customizing the appearance of the web-based interface. The main purpose of Pi-hole is to protect users' privacy and security by blocking unwanted and potentially malicious content, such as ads, trackers, and malware. It is designed to be easy to set up and use, and can be configured through a web-based interface or through a terminal-based command-line interface.

Install

One-line install
$ bash <(curl -fsSL https://codeberg.org/luna-dj/incus-scripts/raw/branch/main/ct/pihole.sh)

Default resources

CPU
1vCPU
RAM
1024MiB
Disk
10GiB
OS
ubuntu 24.04

Override variables

Set any of these before the install command to override defaults:

var_cpu1vCPU cores
var_ram1024Memory (MiB)
var_disk10Disk (GiB)
var_osubuntuBase image OS
var_version24.04OS version
Example with overrides
$ var_cpu=4 var_ram=4096 var_disk=50 bash <(curl -fsSL https://codeberg.org/luna-dj/incus-scripts/raw/branch/main/ct/pihole.sh)
← Back to all apps
Script Installer