Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Teeb Pihole
- Kauj ruam 2: Teeb Samba
- Kauj ruam 3: Teeb tus Code
- Kauj ruam 4: Teeb Pib Pib
- Kauj Ruam 5: Txuas rau Koj Samba File Server
- Kauj Ruam 6: Txuas rau Pihole
Video: Pihole thiab Samba Zaub: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no, kuv yuav qhia koj yuav ua li cas thiaj ua tau zaub uas qhia koj PiHole stats thiab Samba stats.
Khoom siv
- 1 x Raspberry Pi
- 1x Raspberry Pi zaub
Kauj ruam 1: Teeb Pihole
Txhawm rau nruab Pihole tsuas yog qhib lub davhlau ya nyob twg thiab nkag mus rau cov cai hauv qab no. Ua raws li kev teeb tsa thiab teeb nws li koj xav tau. Tsuas yog tsis txhob hnov qab sau tus password!
curl -sSL https://install.pi-hole.net https://install.pi-hole.net | tsoo
Kauj ruam 2: Teeb Samba
Txhawm rau teeb tsa thiab teeb tsa samba, qhib lub davhlau ya nyob twg thiab nkag mus rau cov cai hauv qab no.
sudo apt-tau nruab samba samba-common-bin
sudo mkdir -m 1777 /qhia tawm
sudo leafpad /etc/samba/smb.conf
Tom qab ntawd nkag mus rau tus lej no rau hauv tus editor:
[pib]
path =/share writeable = Yog tsim daim npog = 0777 daim npog qhov ncauj = 0777 pej xeem = tsis yog
Tom qab ntawv khiav cov lus txib no los tsim tus neeg siv, thiab tom qab ntawd nkag mus rau tus password rau tus neeg siv:
sudo smbpasswd -a pib
Thaum kawg, khiav:
sudo systemctl rov pib dua smbd
Kauj ruam 3: Teeb tus Code
Txhawm rau teeb tsa cov cai, khiav:
wget https://raw.githubusercontent.com/barleybobs/piStats/master/setup.sh 2 Kudos Rep
Tom qab ntawd khiav:
chmod +x setup.sh
Tom qab ntawv, qhib File Manager thiab mus rau /home /pi thiab nyem qhov teeb tsa setup.sh thiab xaiv Run In Terminal. Qhov no yuav teeb tsa cov cai thiab rub tawm qhov kev cia siab.
Kauj ruam 4: Teeb Pib Pib
Tam sim no peb yuav teeb tsa pi kom thaum pib nws qhib cov zaub hauv hom puv npo. Txhawm rau ua qhov no:
mkdir /home/pi/.config/autostart
nano /home/pi/.config/autostart/pistats.desktop
Tom qab ntawd nkag mus:
[Desktop nkag]
Hom = Daim Ntawv Thov Npe = PiStats Exec = bash -c 'pw 1 && xterm -hold -fullscreen -hold -e "sudo python3 /home/pi/piStats/main.py" && uncluttered -idle 0.01 -root'
Kauj Ruam 5: Txuas rau Koj Samba File Server
Txhawm rau txuas rau koj cov ntaub ntawv server, qhib File Explorer thiab xaiv Lub PC no ces xaiv daim ntawv qhia network tsav tom qab ntawd hauv daim nplaub tshev muab:
raspberrypi / pishare
Kauj Ruam 6: Txuas rau Pihole
Txhawm rau txuas rau Pihole Kuv qhia koj siv lub vev xaib no muaj txiaj ntsig rau yuav hloov pauv koj li DNS li cas:
support.opendns.com/hc/en-us/articles/228007207-Windows-10-Configuration
Pom zoo:
PiHole Ad Blocker Nrog 3.5 "Zaub: 8 Cov Kauj Ruam (nrog Duab)
PiHole Ad Blocker Nrog 3.5 "Zaub: Zoo siab txais tos rau kuv cov lus qhia yuav ua li cas thiaj tsim tau qhov ad ad blocker zoo heev rau koj tag nrho lub network! Raspberry Pi khiav software uas paub tias Pi-Hole thiab PADD txhawm rau thaiv kev tshaj tawm thiab tso tawm cov ntaub ntawv txheeb cais xws li Pi- Qhov IP Chaw Nyob thiab tus nqi ntawm kev tshaj tawm
Loj hlob Zaub Zaub Ntxiv Hauv Qhov Chaw Tsawg Los Yog Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg): 10 Kauj Ruam
Loj Hlob Ntau Cov Zaub Zaub Hauv Tsawg Chaw lossis … Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg).: Qhov no yog kev tshaj lij tshaj lij rau Kev Loj Hlob Tshaj Ntiaj Teb, Kev Tsim Khoom Sib Tw, xa los ntawm Cov Lus Qhia. Kuv tsis tuaj yeem muaj kev zoo siab dua los tsim rau thaj chaw cog qoob loo thiab tshaj tawm kuv thawj Cov Lus Qhia. Yuav pib, kev sib tw nug peb kom
Chaw Zaub Zaub Zaub Qhia Tau Zoo- Airline High School Robotics: 8 Kauj Ruam
Space Lettuce Chamber Instructable- Airline High School Robotics: Nov yog Kev Qhia Ua los ntawm peb tus tub ntxhais kawm theem siab cuv npe hauv chav kawm neeg hlau. Peb yuav tsim chav rau cog cov zaub xas lav hauv qhov chaw rau Kev Loj Hlob Tshaj Ntiaj Teb Kev Sib Tw los ntawm NASA. Peb tab tom yuav qhia koj yuav tsim lub thawv li cas. Cia peb
Yuav Ua Li Cas Lub Sijhawm Teev Sijhawm Siv Arduino thiab TFT Zaub - Arduino Mega RTC Nrog 3.5 Ntiag TFT Zaub: 4 Kauj Ruam
Yuav Ua Li Cas Lub Sijhawm Teev Sijhawm Siv Arduino thiab TFT Zaub | Arduino Mega RTC Nrog 3.5 Ntiag TFT Zaub: Mus Saib Kuv Youtube Channel.Introduction:- Hauv kab ntawv no kuv yuav ua "Sijhawm Sijhawm" siv 3.5 nti TFT kov LCD, Arduino Mega 2560 thiab DS3231 RTC module…. Ua ntej pib… tshawb xyuas cov vis dis aus los ntawm kuv tus YouTube channel..Ntau:- Yog tias koj siv Arduin
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav