Cov txheej txheem:

5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi: 7 Cov Kauj Ruam
5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi: 7 Cov Kauj Ruam

Video: 5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi: 7 Cov Kauj Ruam

Video: 5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi: 7 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi
5 Cov Lus Qhia Kom Ruaj Ntseg Koj Raspberry Pi

Thaum txuas Raspberry Pi mus rau sab nraud ntiaj teb, koj yuav tsum xav txog kev nyab xeeb. Nov yog 5 cov lus qhia uas koj tuaj yeem siv los tiv thaiv koj li Raspberry Pi. Cia peb pib.

Kauj ruam 1: Yees duab

Image
Image

5 cov lus qhia kom ruaj ntseg koj li Raspberry Pi hauv 3 feeb video. Ua tib zoo saib.

Kauj ruam 2: Ntsis #1. Hloov Koj Tus Password

Ntsis #2. Khaws Raspbian Txog Hnub Tim
Ntsis #2. Khaws Raspbian Txog Hnub Tim

Nrog tus txheej txheem teeb tsa ntawm Raspbian, lub npe siv tsis raug yog "pi" thiab tus password yog "raspberry". Yog tias koj tsis tau hloov pauv tus password no tsawg kawg, leej twg tuaj yeem nkag mus rau koj tus Pi !!.

Txhawm rau hloov koj tus password mus rau Ntawv qhia zaub mov> Nyiam> Raspberry Pi Configuration. Hauv qhov system tab, nyem hloov tus password, nkag rau ib qho, paub meej tias nws thiab nyem OK.

Kauj Ruam 3: Ntsis #2. Khaws Raspbian Txog Hnub Tim

Qee lub sij hawm, muaj kev ruaj ntseg tsis zoo nyob hauv software, yog li nws ib txwm zoo tshaj kom tau txais qhov hloov tshiab tas li. Qhib lub davhlau ya nyob twg, thiab ntaus ntawv.

sudo apt-tau hloov tshiab

txhawm rau hloov kho koj cov npe pob, ua raws li hom ntawd

sudo apt-tau nruab dist-upgrade

kom tau txais qhov hloov tshiab kawg ntawm pob ntawm koj li Raspberry Pi.

Kauj ruam 4: Ntsis #3. Nruab Fail2ban

Ntsis #3. Nruab Fail2ban
Ntsis #3. Nruab Fail2ban

Yog tias ib tus neeg xav hack rau hauv koj li Raspberry Pi, lawv yuav sim twv koj lub npe siv thiab tus password. Nws yuav zaum siv sijhawm ntau, tab sis qhov no hu ua 'brute-forcing'. Txhawm rau tiv thaiv qhov no, koj tuaj yeem nruab ib qhov program hu ua Fail2ban. Nruab nws siv

sudo apt-tau nruab fail2ban

thiab tus neeg siv yuav raug txwv rau kaum feeb yog tias lawv tsis nkag mus 5 zaug.

Kauj ruam 5: Ntsis #4. Hloov Default SSH Port

Ntsis #4. Hloov Default SSH Port
Ntsis #4. Hloov Default SSH Port

Yog tias koj hloov qhov chaw nres nkoj SSH default, txhua tus neeg sim txuas yuav xav paub qhov chaw nres nkoj twg los siv. Txhawm rau hloov nws qhib lub davhlau ya nyob twg thiab hom, sudo nano/etc/ssh/sshd_config

thiab hloov kab #Port 22 mus rau Port 2222 lossis qhov chaw nres nkoj twg koj nyiam. Txuag thiab tawm. ces rov pib dua SSH nrog

sudo kev pabcuam ssh pib dua

Kauj Ruam 6: Ntsis #5. Tua tawm qhov cuam tshuam uas koj tsis xav tau

Ntsis #5. Tua tawm qhov cuam tshuam uas koj tsis xav tau
Ntsis #5. Tua tawm qhov cuam tshuam uas koj tsis xav tau

Txoj kev nyab xeeb tshaj plaws kom tsis txhob hackers yog tsis muaj kev sib txuas hauv network, tab sis lwm txoj hauv kev kaw qhov system me ntsis ntxiv yog mus rau hauv Cov Ntawv Qhia Tseem Ceeb> Nyiam> Raspberry Pi Configurations thiab xaiv tab cuam tshuam. Xyuas kom txhua yam uas koj tsis xav tau yog neeg xiam oob khab.

Kauj ruam 7: Nws yog

Qhov ntawd yog Folks. Tsis txhob hnov qab tshuaj xyuas kuv lwm cov lus qhia qhia.

*** Cov lus qhia no tau tshwm sim los ntawm Magpi #80.

Pom zoo: