Cov txheej txheem:

Neeg rau zaub mov Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti): 5 Kauj Ruam
Neeg rau zaub mov Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti): 5 Kauj Ruam

Video: Neeg rau zaub mov Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti): 5 Kauj Ruam

Video: Neeg rau zaub mov Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti): 5 Kauj Ruam
Video: Hmong COVID CONVOS 002: Mental Health, Education, Resources in Wisconsin. 2024, Kaum ib hlis
Anonim
Server Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti)
Server Admin / Webhosting Vaj Huam Sib Luag rau Raspberry Pi (Ajenti)

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:

  1. Qhib lub davhlau ya nyob twg
  2. Hom hauv:

    wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sh ua

  3. Nias nkag mus
  4. Tos kom kev teeb tsa tiav. Qhov no tuaj yeem siv sijhawm me ntsis.

Rau nruab Ajenti ntawm ubuntu

  1. Qhib lub davhlau ya nyob twg
  2. Hom hauv:

    wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sudo sh ib

  3. Nias nkag mus
  4. Sau tus password.
  5. Tos kom kev teeb tsa tiav. Qhov no tuaj yeem siv sijhawm me ntsis.

Txhawm rau txhim kho Ajenti ntawm Armbian:

  1. Qhib lub davhlau ya nyob twg
  2. Hom hauv:

    wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/… | sh ua

  3. Nias nkag mus.
  4. Sau tus password.
  5. 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:

  1. Qhib qhov browser
  2. Mus rau: https://127.0.0.1:8000 - Nws yuav tsum yog HTTPS. HTTP tsis ua haujlwm.
  3. 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

  1. Qhib lub davhlau ya nyob twg ntawm Raspberry Pi
  2. Ntaus hauv Hostname -I thiab nias nkag mus
  3. Sau tus IP-chaw nyob
  4. Qhib qhov browser ntawm lwm lub khoos phis tawj uas nyob hauv tib lub network.
  5. Mus rau https:// (IP IPRES): 8000 - Nws yuav tsum yog HTTPS. HTTP tsis ua haujlwm.
  6. Koj yuav zoo li yuav tau txais kev nyab xeeb yuam kev, tsuas yog txuas ntxiv mus
  7. 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: