Cov txheej txheem:
- Kauj ruam 1: OS tshiab
- Kauj ruam 2: Leafpad
- Kauj Ruam 3: Tau Txais Kev Nkag Mus Los
- Kauj ruam 4: Thaub qab thiab Luam theej duab ntawm Lub Tshuab Tag Nrho
- Kauj ruam 5: MySQL
- Kauj Ruam 6: Python
- Kauj Ruam 7: Yog Nws
Video: Raspberry Pi Stretch - 2018 Tricks: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
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
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
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
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
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 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
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
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:
CMD Tricks: 9 Kauj Ruam
CMD Tricks: Tsis ntev los no kuv tshaj tawm lwm CMD (hais kom sai) Hais txog Star Wars IV dag yog li kuv txiav txim siab tshaj tawm qee qhov ntxiv.CMD yog lub cuab yeej qhov rai los thauj cov ntaub ntawv, theej, rho tawm thiab ntau ntxiv. Nws siv "hom lus" batch.Qhov qhia no tsuas yog kov
Eagle Hacks/tricks: Piv txwv TB6600 CNC Zeb Stepper Tsav Tsav: 7 Kauj Ruam
Eagle Hacks/tricks: Piv txwv TB6600 CNC Mill Stepper Motor Driver: Qhov no ua rau nws yog txoj haujlwm zoo los qhia ob peb yam kev dag uas yuav ua rau koj lub neej yooj yim dua thaum tsim PCBs. Dav dawb hau, Kuv xaiv txoj haujlwm yooj yim uas kuv tau ua rau kuv Kickstarter. Kuv xav tau sab nrauv
Batch Tricks thiab Virusses: 3 Kauj Ruam
Batch Tricks thiab Virusses: Yuav ua li cas kom Prank thiab Cov kab mob tiag tiag hauv BATCHNote: Kuv tsis muaj lub luag haujlwm rau ib qho kev puas tsuaj uas koj ua rau koj lub khoos phis tawj lossis lwm tus lub computerNote: Thaum Koj Xav Txuag cov ntaub ntawv koj yuav tsum khaws nws li yam.bat
Txias Mac OS X Leopard Tricks!: 4 Kauj Ruam
Txias Mac OS X Leopard Tricks!: Puas xav tsis thoob yuav ua li cas qee yam ntawm Mac uas koj tuaj yeem ua hauv PC, tab sis txij li thaum koj hloov mus, ua tsis tau? Lossis koj puas tau xav paub yuav ua li cas thiaj txwv tau qee yam tsis txaus ntseeg ntawm koj lub mac? Hauv cov lus qhia no, Kuv yuav piav qhia yuav ua li cas thiaj ua tau qee yam
IPod Touch Sleep Mode Tricks: 4 Kauj Ruam
IPod Touch Sleep Mode Tricks: Koj puas xav mloog koj lub Itouch hauv koj lub txaj ua ntej koj tsaug zog, tab sis ua tsis tau tiag vim koj ntshai koj lub Ipod poob los ntawm koj lub txaj thiab tsoo hauv av? Los yog tej zaum koj tuaj yeem tau txais lub taub hau xov tooj nyob ib puag ncig koj lub caj dab? Yog li nws