Cov txheej txheem:

Raspberry Pi Stretch - 2018 Tricks: 7 Kauj Ruam
Raspberry Pi Stretch - 2018 Tricks: 7 Kauj Ruam

Video: Raspberry Pi Stretch - 2018 Tricks: 7 Kauj Ruam

Video: Raspberry Pi Stretch - 2018 Tricks: 7 Kauj Ruam
Video: Raspberry Pi 4 Data Visualization GUI On 7" Touchscreen Display | FullPageOS 2024, Kaum ib hlis
Anonim
Raspberry Pi Stretch - 2018 Cov tswv yim
Raspberry Pi Stretch - 2018 Cov tswv yim

Taw qhia

Nws tau ib pliag txij li thaum kuv teeb tsa Raspberry Pi kawg los ntawm kos. Qee yam tau hloov pauv (zoo nkauj npaum li qhov ua tau zoo). Cov lus qhia no piav qhia qee yam tshiab, txawm yog tshiab hauv kab ke lossis tej zaum nyuam qhuav kawm los ntawm kuv. Qhov no yuav nrawm; nws yog lub taub hau ntawm yam. Thaum koj paub nrhiav cov khoom no cov ntsiab lus tawm hauv lub vev xaib tos koj.

Kauj ruam 1: OS tshiab

New OS
New OS

Nws hu ua Stretch. Zoo li zoo rau kuv. Txhua yam kuv npaj yuav siv txij tam sim no. Tus so ntawm cov lus qhia no siv rau cov version no. Ceev faj tias qee cov ntaub ntawv teeb tsa yuav raug hloov lossis hloov npe, los ntawm cov ntawv qub. Tab sis feem ntau kev teeb tsa yog tib yam - tshwj tsis yog rau cov yam ntxwv tshiab. Koj tau txais OS no ntawm qhov chaw ib txwm siv rau RPi OS rub tawm: Rub Raspbian rau Raspberry Pi

Kauj ruam 2: Leafpad

Leafpad
Leafpad

Ok qhov no yog qhov qub. Ntau cov lus qhia hais kho cov ntaub ntawv nrog cov lus txib zoo li nano foo.txt. Leafpad yog tus kho kom yooj yim dua vim nws muaj cov duab siv tau yooj yim. Yog li siv leafpad foo.txt thiab sudo leafpad foo.txt hloov chaw.

Kauj Ruam 3: Tau Txais Kev Nkag Mus Los

Tau Txais Kev Nkag Mus Los
Tau Txais Kev Nkag Mus Los

Nrog kev nkag mus deb koj tuaj yeem siv koj lub khoos phis tawj los tswj RPi, txoj kev ntawd nws tsis xav tau lub vijtsam keyboard lossis nas. Kev txuag nyiaj ntau, tsawg dua kev sau (sau qhov chaw ntawm lub cev). Txoj hauv kev qis dua tsuas yog ua kom yooj yim dua qhia cov ntaub ntawv. Qee qhov ntawm cov txheej txheem no tau ua haujlwm ib ntus, qee qhov kuv xav tias yog qhov tshiab.

Hloov Cov Ntaub Ntawv Tam Sim No

Qhov no tsis tshem cov keyboard ntawm RPi tab sis cia koj txiav thiab muab cov ntaub ntawv los ntawm koj lub PC rau koj RPi.

Koj sau koj cov ntaub ntawv ntawm wiki ntawm koj lub PC thiab nkag mus rau wiki nrog RPi browser. Nws ua haujlwm ob txoj kev. Txhua yam koj xav tau ntawm koj lub khoos phis tawj yog kev sib txuas hauv network.

Kho cov ntaub ntawv RPi los ntawm koj lub PC

Notepad ++ yog cov ntawv nyeem zoo, yog tias koj tab tom khiav Windows koj yuav tsum tau saib tsawg kawg. Yuav tsis khiav ntawm Pi lossis Mac raws li qhov kuv paub. Tab sis yog tias koj ua nws ntawm koj lub PC nws tuaj yeem hloov kho cov ntaub ntawv ntawm koj li RPi. Qhov no suav nrog cov ntawv, teeb tsa, Python, thiab lwm yam). Nws tseem yog qhov yooj yim pom:

  • RPi - Leej twg xav tau qee tus Pi?: Siv Notepad ++ txhawm rau hloov kho koj cov ntawv sau los ntawm koj RPi
  • Raspberry PI - Kho cov ntaub ntawv nrog Notepad ++ hla SSH thiab VNC daim ntawv & muab tshuaj txhuam - YouTube
  • Siv NotePad ++ txhawm rau kho cov ntaub ntawv ntawm Raspberry Pi - YouTube
  • Kho cov ntaub ntawv ntawm koj li Raspberry Pi txoj kev yooj yim - Dirty Optics

(nco ntsoov tias Filezilla kuj tseem tuaj yeem tso cai rau koj ua qhov no)

VNC

Kuv siv los siv lub Windows tej thaj chaw deb desktop tsis VNC. Tam sim no kuv tau tso lub desktop deb, vim VNC tam sim no zoo li zoo dua thiab yooj yim rau nruab. Nws txawm tso cai rau koj txiav thiab muab tshuaj txhuam ntawm koj tus tswv tsev thiab cov tshuab nyob deb. Txhawm rau teeb tsa koj yuav tsum muaj peev xwm ua haujlwm ntawm RPi thiab teeb tsa tus saib hauv koj lub PC.

Samba

Qhov no cia koj faib cov ntaub ntawv nrog lwm OS. Tsis yog tshiab, tab sis tseem tsim nyog teeb tsa. Google nws.

Kauj ruam 4: Thaub qab thiab Luam theej duab ntawm Lub Tshuab Tag Nrho

Thaub qab thiab Luam ntawm Lub Tshuab Tag Nrho
Thaub qab thiab Luam ntawm Lub Tshuab Tag Nrho

Txoj hauv kev qub ntawm kev thaub qab thiab Luam theej kiab!

Zoo, feem ntau, txoj kev qub ntawm thaub qab muaj qee qhov teeb meem. Ib co ntawm cov sawv daws:

  • Ntau cov kauj ruam, nyuab
  • Rhiab heev rau qhov loj ntawm daim npav sd

Tam sim no hauv qab cov khoom siv koj tuaj yeem pom daim npav SD daim npav. Nws yuav luam tawm ntawm ntau qhov sib txawv ntawm daim npav SD (tsuav yog cov ntaub ntawv yuav haum). Yooj yim siv, ib kauj ruam. Google nws lossis siv ib qho ntawm cov txuas no:

Kuv ib zaug tau sau cov lus qhia ntawm no: Nws tseem ua haujlwm, thiab tej zaum yuav muaj qee qhov siv, tab sis txoj hauv kev SD daim npav no zoo li txoj kev mus.

Backup Koj Pi

Kauj ruam 5: MySQL

MySQL
MySQL

MySQL siv los ua cov ntaub ntawv txheeb ze zoo rau Pi, nws tseem yog. Thiab DBMS zoo yog qhov zoo kom muaj. Tab sis nws tsis yog qhov qhib. MariaDB nyob ze rau tib yam, thiab txawm teb rau MySQL cov lus txib. Tej zaum nws yuav yog yam koj tau txais yog tias koj sim teeb tsa MySQL (nws tau ua rau kuv). Tam sim no kuv ceev faj kom paub qhov txawv ntawm ob qho thiab sim piav qhia meej txog MariaDB software thiab cov ntaub ntawv. Kev teeb tsa yuav luag zoo ib yam tab sis tsis heev. (Nco tseg ib qho ntawm qhov zoo ntawm DB no yog nws muaj kev nkag tau zoo hauv lub vev xaib, thiab muaj ntau yam ntxiv.) Siv MariaDB ua lo lus tseem ceeb rau kev tshawb nrhiav thiab teeb tsa ua ntej. Xav paub ntau ntxiv hauv Google thiab:

  • MariaDB.org - Txhawb nqa txuas ntxiv thiab qhib kev sib koom tes
  • https://dominicm.com/install-mysql-mariadb-on-arch-linux/

Kauj Ruam 6: Python

Nab hab sej
Nab hab sej

Kuv siv Spyder los ua haujlwm nrog Python ntawm RPi, tab sis nws yog qhov tshwj xeeb nruab. Ncab tam sim no suav nrog IDE zoo dua li Idle, qub. Nws yog hu ua Thonny Python IDE (Programming → Thonny Python IDE) Sab saud: tej zaum yog lub sijhawm rau peb feem coob hloov mus rau (lossis pib nrog) Python 3.

Kauj Ruam 7: Yog Nws

Uas Yog Nws
Uas Yog Nws

Qhov ntawd yog nws nyob deb. Ib qho ntawm cov ntawv qhia no kuj tseem nyob ntawm nplooj ntawv wiki: Raspberry Pi Stretch - 2018 Cov lus qhia Kuv yuav sim ua kom wiki hloov tshiab raws li kuv pom cov ntaub ntawv tshiab. Muaj kev lom zem nrog koj Raspberry Pi, nws yog lub khoos phis tawj me me zoo kawg.

Pom zoo: