Cov txheej txheem:
- Kauj ruam 1: Prerequesites
- Kauj ruam 2: Txhim Kho Ajenti
- Kauj Ruam 3: Txhim Kho Ajenti V - Webhosting Vaj Huam Sib Luag
- Kauj Ruam 4: Txuas rau Ajenti Web Vaj Huam Sib Luag
- Kauj Ruam 5: Ajenti tau teeb tsa
Video: Neeg rau zaub mov Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti): 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nyob zoo thiab zoo siab txais tos rau kuv Thawj Cov Lus Qhia.
Phau ntawv qhia no yog hais txog kev txhim kho Ajenti ntawm Raspberry pi.
Tab sis phau ntawv qhia no tseem tuaj yeem siv los nruab ajenti ntawm ib qho debian raws li kev ua haujlwm.
Ajenti yog dab tsi?
Yog xav paub ntxiv txog Ajenti saib hauv Ajenti lub vev xaib thiab cov ntaub ntawv:
Lub Vev Xaib
Cov ntaub ntawv:
Kauj ruam 1: Prerequesites
- Raspberry pi (lossis lwm yam khoom siv nrog debian raws kev ua haujlwm).
- Raspbian, Ubuntu, armbian, thiab lwm yam.
- Kev Txuas Hauv Is Taws Nem los rub tawm Ajenti.
- RAM: 30MB + 5MB rau txhua ntu sib txuas.
- Dawb nco rau txhim kho Ajenti
Kuv yuav tsis pom zoo txhim kho Ajenti ntawm Raspberry Pi 1 & zero vim nws qhov ua tau zoo.
Ajenti khiav ua haujlwm zoo ntawm Raspberry Pi 2 & 3.
Kauj ruam 2: Txhim Kho Ajenti
Txhawm rau txhim kho Ajenti ntawm Raspbian:
- Qhib lub davhlau ya nyob twg
-
Hom hauv:
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sh ua
- Nias nkag mus
- Tos kom kev teeb tsa tiav. Qhov no tuaj yeem siv sijhawm me ntsis.
Rau nruab Ajenti ntawm ubuntu
- Qhib lub davhlau ya nyob twg
-
Hom hauv:
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sudo sh ib
- Nias nkag mus
- Sau tus password.
- Tos kom kev teeb tsa tiav. Qhov no tuaj yeem siv sijhawm me ntsis.
Txhawm rau txhim kho Ajenti ntawm Armbian:
- Qhib lub davhlau ya nyob twg
-
Hom hauv:
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sh ua
- Nias nkag mus.
- Sau tus password.
- Tos kom kev teeb tsa tiav. Qhov no tuaj yeem siv sijhawm me ntsis.
Kauj Ruam 3: Txhim Kho Ajenti V - Webhosting Vaj Huam Sib Luag
Cov kauj ruam no yog rau kev txhim kho lub vev xaib hosting vaj huam sib luag. Yog tias koj tsis xav ua cov vev xaib, cov kauj ruam no tuaj yeem hla mus!
Txhawm rau nruab webhosting ntxiv-on:
Yog tias koj tau nruab Apache, tab sis tsis siv nws, tshem nws ua ntej:
Txhawm rau tshem tawm Apache ntawm Raspbian:
Ntaus hauv davhlau ya nyob twg yog tias koj muaj apache tab sis tsis siv nws:
apt-tau tshem tawm apache2
Tom qab Apache raug tshem tawm koj tuaj yeem pib txhim kho Ajenti V
Txhawm rau tshem tawm Apache ntawm Ubuntu/Armbian
Ntaus hauv davhlau ya nyob twg yog tias koj muaj apache tab sis tsis siv nws:
sudo apt-tau tshem tawm apache2
Tom qab Apache raug tshem tawm koj tuaj yeem pib txhim kho Ajenti V
Txhim kho Ajenti V ntawm Rasbian:
Ntaus hauv davhlau ya nyob twg yog tias koj muaj apache tab sis tsis siv nws:
apt-tau nruab ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysqlservice ajenti rov pib dua
Txhim kho Ajenti V ntawm Ubuntu/Armbian
sudo apt-tau nruab ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysqlservice ajenti rov pib dua
Pob ntawv ntxiv:
Tus qauv ajenti V pob los nrog PHP5, MYSQL, NGINX
Cov pob ntxiv tuaj yeem teeb tsa rau node.js, ntsia thiab nab nab.
Sau nrog Cov Pob Khoom Ntxiv.
Kauj Ruam 4: Txuas rau Ajenti Web Vaj Huam Sib Luag
Txuas nrog Ajenti ntawm Raspberry Pi nws tus kheej:
- Qhib qhov browser
- Mus rau: https://127.0.0.1:8000 - Nws yuav tsum yog HTTPS. HTTP tsis ua haujlwm.
-
ID nkag mus nrog: Tus neeg siv: hauv pausPassword: admin
Nws kuj tseem yuav yog: Lub npe siv: hauv paus Lo lus zais: Koj tus kheej lub hauv paus lo lus zais
Txuas rau Ajenti los ntawm lwm lub khoos phis tawj:
Ua ntej nws yog qhov tseem ceeb kom tau txais ip-adres ntawm Raspberry Pi
- Qhib lub davhlau ya nyob twg ntawm Raspberry Pi
- Ntaus hauv Hostname -I thiab nias nkag mus
- Sau tus IP-chaw nyob
- Qhib qhov browser ntawm lwm lub khoos phis tawj uas nyob hauv tib lub network.
- Mus rau https:// (IP IPRES): 8000 - Nws yuav tsum yog HTTPS. HTTP tsis ua haujlwm.
- Koj yuav zoo li yuav tau txais kev nyab xeeb yuam kev, tsuas yog txuas ntxiv mus
- ID nkag mus nrog: Tus neeg siv: hauv pausPassword: admin Nws kuj tseem tuaj yeem yog: Tus neeg siv lub npe: hauv pausPassword: Koj tus kheej lub hauv paus lo lus zais
Kauj Ruam 5: Ajenti tau teeb tsa
Tam sim no koj ajenti yuav tsum tau nruab thiab ua haujlwm
Pom zoo:
Nasa Tswj Vaj Huam Sib Luag rau Cov Menyuam: 10 Kauj Ruam (nrog Duab)
Nasa Tswj Vaj Huam Sib Luag rau Cov Menyuam: Kuv tau tsim qhov no rau kuv tus niam hluas hauv txoj cai uas ua haujlwm zov ib hnub. Nws pom kuv tus lager kuv tau tsim yuav luag peb xyoos dhau los rau lub tuam txhab tsim khoom ncaj ncees thiab nyiam nws heev yog li kuv tau tsim qhov no rau nws rau Christmas tam sim no.Link rau kuv lwm qhov haujlwm ntawm no: https: //www
Vaj Huam Sib Luag Tswj Vaj Huam Sib Luag - Laser Txiav Arduino Qho Khoom Ua Si: 11 Cov Kauj Ruam (nrog Duab)
Chaw Tswj Chaw Spaceship - Laser Txiav Arduino Qho Khoom Ua Si: Ob peb lub hlis dhau los Kuv tau txiav txim siab los ua tswv cuab ntawm cov chaw tsim khoom hauv zos, txij li kuv tau xav kawm paub cov cuab yeej ntawm tus tsim khoom lag luam rau hnub nyoog. Kuv muaj qhov paub me me ntawm Arduino thiab tau kawm Fusion-course ntawm no ntawm Cov Lus Qhia. Txawm li cas los kuv h
Lub Vaj Huam Sib Luag Kho Vaj Huam Sib Luag tawg iav (Yooj Yim): 4 Cov Kauj Ruam
Lub Hnub Ci Vaj Huam Sib Luag tawg iav Kho (Yooj Yim): Hav Guys, tsuas yog qhia sai thiab yooj yim hnub no! Yog li tsis ntev los no kuv tau khaws ob lub 100W hnub ci vaj huam sib luag rau qis dua $ 100 vim tias ib qho ntawm cov iav iav tau tawg. Thaum xub thawj kuv ntseeg tias kuv tuaj yeem tshem lub iav tawg thiab hloov nws txawm li cas los xij tom qab
Web-Txuas Txuas SMART LED Animation Moos Nrog Lub Vev Xaib Tswj Vaj Huam Sib Luag, Lub Sijhawm Neeg Ua Haujlwm Sib Koom: 11 Cov Kauj Ruam (nrog Duab)
Web-Txuas Txuas SMART LED Animation Clock Nrog Lub Vev Xaib Tswj Vaj Huam Sib Luag, Lub Sijhawm Neeg Ua Haujlwm Sib Koom: Zaj dab neeg ntawm lub moos no rov qab mus ntev-ntau dua 30 xyoo. Kuv txiv pioneered lub tswv yim no thaum kuv tsuas yog 10 xyoo, ntev ua ntej LED kiv puag ncig - rov qab thaum LED qhov twg 1/1000 qhov ci ntawm lawv qhov muag tsis pom kev tam sim no. Qhov tseeb
Touchscreen Wall Mounted Family Sync & Vaj Tsev Tswj Vaj Huam Sib Luag: 7 Kauj Ruam (nrog Duab)
Touchscreen Wall Mounted Family Sync & Tsev Tswj Vaj Huam Sib Luag: Peb muaj daim ntawv qhia hnub uas hloov tshiab txhua hli nrog cov xwm txheej tab sis nws tau ua tiav ntawm tus kheej. Peb kuj zoo li tsis nco qab yam peb tau khiav tawm lossis lwm yam haujlwm me. Hauv lub hnub nyoog no kuv xav tias nws yooj yim dua kom muaj daim ntawv qhia hnub synchronized thiab cov ntawv sau cia uas