Cov txheej txheem:

Pi-Hole Setup Guide: 5 Kauj Ruam
Pi-Hole Setup Guide: 5 Kauj Ruam

Video: Pi-Hole Setup Guide: 5 Kauj Ruam

Video: Pi-Hole Setup Guide: 5 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
Pi-Qhov Teeb Qhia
Pi-Qhov Teeb Qhia

Phau ntawv qhia no yog taug kev koj los ntawm cov kauj ruam ntawm kev teeb tsa thiab teeb tsa Pi Qhov rau ntawm koj lub tsev network. Txhua yam koj xav tau kom pib yog Raspberry Pi thiab koj zoo rau pib!

Nrog Pi-Hole koj thaum kawg yuav tuaj yeem tshem koj lub network ntawm cov uas tsis txaus ntseeg thiab tsis txaus siab ntxiv. Pi-Hole nkag mus ntau dua 100, 000 ad-serving domains thiab thaiv lawv raws li cov zej zog thaiv-npe uas tau hloov kho tshiab los ntawm kev tshawb fawb tsis siv neeg database.

Txij li cov kev tshaj tawm no tau raug thaiv ntawm DNS qib ua ntej lawv tseem mus txog koj lub tshuab, tsis tas yuav xav tau cov neeg siv khoom tsis zoo ib sab ntawm txhua qhov. Kev txwv tsis pub tshaj tawm yuav nthuav mus rau tag nrho koj lub network yog li koj lub xov tooj, koj lub khoos phis tawj thiab koj lub khoos phis tawj thiab txawm tias TV ntse yuav txhua tus muaj daim pam tiv thaiv.

Tsis txhob hais txog qhov network bandwidth

Khoom siv

Yog li cov khoom siv uas koj xav tau tuaj yeem tuaj ntawm ob peb qhov sib txawv. Koj tuaj yeem xaj ib tus qauv raspberry pi nrog daim npav WiFi ntxiv lossis yuav cov khoom siv uas los nrog nws teeb tsa rau koj.

Ib qho ntxiv koj kuj yuav xav tau daim npav SD thiab Ethernet cable.

Tom ntej no ua raws phau ntawv qhia no kom sib sau koj tus pi!

projects.raspberrypi.org/en/projects/raspb…

Yog li tom qab koj sib sau koj cov raspberry pi peb tuaj yeem pib nrog kev teeb tsa pi-qhov!

Kauj Ruam 1: Ua Ntej Ua Ntej 1

Ua Ntej Ua Ntej Ua Ntej 1
Ua Ntej Ua Ntej Ua Ntej 1

Tam sim no tias koj li Raspberry Pi thiab cov khoom siv tau sib sau ua ke, cia txav mus rau teeb tsa kev ua haujlwm rau Pi Qhov. Muaj qee qhov kev xaiv sib txawv uas koj tuaj yeem xaiv tab sis kuv tus kheej pom zoo Raspbian Stretch Lite, uas yog qhov hnyav heev thiab tsis muaj peev txheej siv tau. Tam sim no kuv yuav tsum hais txog qhov kev ua haujlwm no yog "Headless" lub ntsiab lus tsis muaj tus neeg siv interface zoo li koj yuav pom hauv Windows. Nws cov kab hais kom ua interface lossis CLI zoo ib yam rau Linux systems, tab sis qhov ntawd tsis yog teeb meem vim tias peb tseem tuaj yeem nkag mus rau Pi-Hole interface los ntawm lawv lub vev xaib thov.

www.raspberrypi.org/downloads/

Qhov txuas txuas tuaj yeem pom ntawm no. Nruab pob rau hauv txhua lub khoos phis tawj koj siv thiab tos kom rub tawm kom tiav. Thaum ua tiav qhov rub tawm, ntxig koj daim npav SD rau hauv lub computer thiab tom qab ntawv sau.iso rau hauv SD Card. Qhov no tsis txhais tau tias tsuas yog luam cov ntawv rau hauv daim npav, koj yuav tsum siv ib qho haujlwm zoo li lwm yam los sau qhov teeb tsa rau hauv daim npav.

Kauj ruam 2: Kev teeb tsa

Kev teeb tsa
Kev teeb tsa

Txhawm rau teeb tsa pi-qhov txuas cov cuab yeej rau tus saib xyuas thiab cov keyboard thiab nkag mus rau kab hais kom ua rau cov yeeb nkab hauv ib qho ntawm cov lus txib hauv qab no nyob ntawm koj qib kev paub. Rau feem ntau cov neeg siv yooj yim Kuv pom zoo rau ib kauj ruam nruab.

Ib-Kauj Ruam Automated Nruab

curl -sSL https://install.pi-hole.net | tsoo

Txoj Kev 2: Rub tawm tus installer thiab khiav

wget -O basic-install.sh https://install.pi-hole.netsudo bash basic-install.sh

Txoj Kev 3: Clone peb cov chaw cia khoom thiab khiav

git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-holecd "Pi-hole/automated install/" sudo bash basic-install.sh

Cov kauj ruam tom ntej yuav yog kom ntseeg tau tias xaiv DNS server raug.

PiHole ntxig nws tus kheej hauv nruab nrab ntawm koj thiab koj tus muab kev pabcuam DNS ntws. leej twg yuav yog koj tus ISP lossis Tus Muab Kev Pabcuam Internet uas koj hla mus rau cov kev pabcuam cable. Kuv tsis nyiam siv qhov kev pabcuam ISP DNS vim yog qhov tsis muaj qhov tshwm sim uas tshwm sim yog li peb yuav siv Cloudflare DNS hloov. Xaiv qhov no los ntawm kev teeb tsa lossis teeb tsa nws ntawm CLI.

PiHole thaiv kev tshaj tawm siv blocklists uas txheeb xyuas lub hauv paus ntawm kev paub txog kev pabcuam ua tus thawj. Koj tsis muaj leej twg ntxiv los ntawm lub hauv paus ntawm kev teeb tsa thawj zaug. Yog li koj yuav tsum teeb tsa qee tus neeg thib 3 npe sau npe, rau tam sim no lo nrog cov lus pom zoo saum toj no uas yuav thaiv ntau dua 100, 000 thawj suav nrog feem ntau google thiab YouTube tshaj tawm. Lwm cov npe tuaj yeem cuam tshuam yog li ceev faj thiab siv kev sim thiab yuam kev thaum ntxiv ad domains rau koj teeb tsa. Tam sim no peb tuaj yeem ua tiav kev teeb tsa thiab tshawb xyuas tias txhua yam tau ua haujlwm zoo.

Kauj ruam 3: Ua tiav

Ua tiav!
Ua tiav!

Kauj Ruam 4: Teeb Lub Zeem Muag Hauv Zos

Teeb Lub Zos Endpoints
Teeb Lub Zos Endpoints

Kom paub tseeb tias koj qhov kawg hauv cheeb tsam yuav txuas ncaj qha los ntawm pi-hole Kuv nyiam siv Pi-Holes DHCP server. Uas yuav cia li muab IP Chaw Nyob rau cov cuab yeej ntawm peb lub network thiab ua rau lawv hla DNS server kom raug kom Pi-Hole tuaj yeem ua haujlwm tau raws li xav tau.

Yog li ua raws cov kauj ruam los ntawm daim duab saum toj no txhawm rau ua haujlwm tsis raug DHCP server thiab ua haujlwm manually Pi-Holes. Thaum qhov ntawd tiav qhov kev teeb tsa tiav thiab koj yuav tsum npaj mus!

Kauj Ruam 5: Sijhawm Xeem

Sijhawm Xeem!
Sijhawm Xeem!

Txoj hauv kev zoo tshaj los sim koj li uas koj PiHole ua haujlwm yog mus rau hauv lub vev xaib saib seb lawv cov ntawv tshaj tawm lossis cov chij tau tshwm sim. Txheeb xyuas YouTube txhawm rau saib qee qhov pub dawb nrog kev tshaj tawm cov yeeb yaj kiab kuj yog lub tswv yim zoo kom ntseeg tau tias 0 kev tshaj tawm tau ua rau koj mus txog qhov kawg.

Koj tseem tuaj yeem saib lub dashboard ntawm raspberry pi web interface kom pom cov dashboard txheeb cais raws li pom hauv daim duab saum toj no. Tab sis qhov tseem ceeb ntawm qhov no kev teeb tsa tau ua tiav thiab koj tuaj yeem zaum rov qab thiab txaus siab rau koj lub tsev tsis muaj ad-dawb.

Kuv vam tias koj nyiam phau ntawv qhia thiab nco ntsoov muaj kev lom zem!

Pom zoo: