-
Notifications
You must be signed in to change notification settings - Fork 188
Debian Based Distribution
Olivier Poitrey edited this page Jan 25, 2023
·
10 revisions
- Make sure curl is installed by running
sudo apt-get install curl
- Run the following command:
sh -c "$(curl -sL https://nextdns.io/install)"
- Follow the instructions.
Upgrades are handled by your distribution package manager.
If the installation fail, please the installer in debug mode and contact us at team@nextdns.io with the transcript of the installation:
DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"
- Install the binary:
sudo wget -qO /usr/share/keyrings/nextdns.gpg https://repo.nextdns.io/nextdns.gpg
echo "deb [signed-by=/usr/share/keyrings/nextdns.gpg] https://repo.nextdns.io/deb stable main" | sudo tee /etc/apt/sources.list.d/nextdns.list
sudo apt install apt-transport-https # only necessary on Debian
sudo apt update
sudo apt install nextdns
- Configure it:
For a workstation:
sudo nextdns install \
-profile <your profile id> \
-report-client-info \
-auto-activate
For a router/server:
sudo nextdns install \
-profile <your profile id> \
-report-client-info \
-setup-router