Ungayifaka kanjani i-NGINX nge-Google Page Speed ​​ku-Ubuntu ngokuzenzakalela

Esikhathini esithile esidlule sakhuluma nawe mayelana NGINX iseva yomthombo ovulekile, eye yaba kancane kancane yabaholi embonini yayo, ngendlela efanayo, abaningi bayazi Ukushesha kwekhasi le-Google, imodyuli esivumela ukuthi sisheshise amakhasi wethu wewebhu. Kulesi siqondisi uzofunda uku faka i-NGINX nge-Google Page Speed ​​nge-othomathikhi ku-Ubuntu nakwizakhi.

Yini i-NGINX?

Kuyinto a Ukusebenza okuphezulu okulula okusetshenziswayo kwe-proxy / web server, mahhala ngokuphelele, i-multiplatform (i-GNU / Linux, i-BSD, i-Solaris, i-Mac OS X, njll.) kanye nomthombo ovulekile, nawo one-proxy yezinhlelo ze-imeyili (IMAP / POP3).

Ithuluzi lisatshalaliswa ngaphansi kwe- Ilayisense ye-BSD futhi inenguqulo yezentengiso. Ingenye esetshenziselwa kakhulu i- Ukubamba iwebhu, igqamisa phakathi kwabasebenzisi bayo i-WordPress, Netflix, Hulu, GitHub, Ohloh, SourceForge, TorrentReactor, hostinger phakathi kwabanye.

Ngokuya ngemininingwane esemthethweni:  «NGINX Yiseva yewebhu yesibili esetshenziswa kakhulu ezizindeni ezisebenzayo (i-14,35%), idlula i-Microsoft Information Server. Ngaphezu kwalokho, lidlulise uphawu lokusetshenziswa ezindaweni ezingaphezu kwezigidi eziyi-100. nginx

Siyini isivinini sekhasi leGoogle le-NGINX?

Kuyisigaba se- NGINX ithuthukiswe ngu -Google, evumela abaphathi bewebhu ukuthi basheshise amasayithi abo ngaphandle kokuthi babe ngongoti ekwenzeni ngcono ukusebenza kwewebhusayithi.

Le module ebizwa ngegama ngx_pagespeed, ibhala kabusha amakhasi ewebhu ukuwenza asheshe abasebenzisi. Lokhu kufaka ukucindezela izithombe, ukunciphisa i-CSS neJavaScript, ukunweba impilo ye-cache, neminye imikhuba eminingi yokwenza ngcono ukusebenza kwewebhu. ngx_pagespeed

Ukufaka i-NGINX nge-Google Page Speed

Inqubo yokufaka i-NGINX ngeGoogle Page Speed ​​ibanzi kepha ilula:

  1. Faka ukuncika.
  2. Faka amakhosombe we-NGINX.
  3. Landa amaphakheji we-NGINX ne-Google Page Speed.
  4. Lungiselela i-NGINX ukuze isebenze ngejubane lekhasi le-Google.
  5. Yakha futhi ufake i-NGINX.
  6. Yenza izivivinyo bese ugijima.

Kuleli cala elithile sizokufundisa ukuthi: Ungayifaka kanjani i-NGINX nge-Google Page Speed ​​ku-Ubuntu ngokuzenzakalela, ukusebenzisa umbhalo osuvele umisiwe, ukwenza zonke izinyathelo ezichazwe ngenhla. Izinyathelo okufanele sizilandele yilezi ezilandelayo:

  • Hlanganisa indawo yokugcina iskripthi

git clone https://github.com/Alirezaies/ngx_pagespeed-auto.git

  • Qalisa iskripthi ngeSudo

cd ngx_pagespeed-auto
sudo sh install.sh

Iskripthi sizonakekela ukulanda nokufaka konke ukuncika okudingekayo, ukufaka ijubane le-nginx ne-google, kanye nokwenza amalungiselelo adingekayo.

Ngale ndlela esheshayo nelula singasetha i-Web server yethu.

Lapho usebenzisa i-NGINX nge-Google Page Speed

I-NGINX isibe iseva yesibili ebaluleke kakhulu yewebhu, umsebenzi womphakathi ubelokhu umangalisa ngalezi zimpumelelo, ngokuba yisoftware yamahhala futhi evulekile, singasho ukuthi kubalulekile ukuthi siqale ukuyisebenzisa osukwini lwethu usuku nosuku.

I-NGINX iyindlela ephelele ye-APACHE, inemibhalo emihle kakhulu, ukufunda okulula nezindlela eziningi zokwandisa ukusebenza kwayo. Ukugcwalisa le seva enhle kakhulu ngobuchwepheshe be-Google, ngemojula yayo eyaziwayo ye-Google Page Speed, kuzosivumela ukuthi sibe namasayithi asheshayo, asabekayo, aphephile futhi avulekile.

nginx-nge-google-page-speed

Ngabe uyithola ilusizo? Sazise imibono yakho nokungabaza kwakho.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-5, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   isihlibhi kusho

    Cacisa ukuthi kulabo abenze umsebenzi wabo wesikole le module enamakhasi ayihambisani kangako, uma usuvele unezimpahla ezisetshenzisiwe futhi uvula i-nginx ngokuthanda kwakho usukulungele ukuthola ithrafikhi enkulu.

  2.   oscar nami kusho

    Kwakungacaci kahle kimi. Ngabe lokhu kusho ukuthi uma nginewebhusayithi, ngingayibamba nge-nginx mahhala?

    1.    Luigys toro kusho

      Hhayi empeleni (yize ingasebenza), i-NGINX iseva yewebhu ekuvumela ukuthi uguqule noma iyiphi ikhompyutha ibe ithuluzi lokusingatha amawebhusayithi. Uma ufuna ukuthatha i-PC yakho ngoxhumano lwenethiwekhi, ukuze abanye bakwazi ukufinyelela kulwazi namakhasi owathuthukisayo, ungasebenzisa i-nginx (Lokhu kunemikhawulo yehadiwe, i-inthanethi, njll) ... Kepha isibonelo uma uqasha iseva ku-DataCenter ungafaka futhi i-NGINX ukusingathwa kwewebhusayithi yakho ... Ngamagama ambalwa i-NGINX yipulatifomu ekuvumela ukuthi ubambe iwebhusayithi yakho, kuseva oyifunayo (Ekhokhelwe, Emahhala, Eyakho noma yomuntu wesithathu)

      1.    oscar nami kusho

        Ngiyabonga ngempendulo, manje sengicacile

  3.   Umsingathi.cl kusho

    UKUPHATHA NEZINKONZO

    I-Web Hosting esheshayo futhi elula eyenziwe eChile.
    Izinhlelo zokubamba iwebhu nge-Free SSL, ezilungele amakhasi womuntu siqu, ama-SME nezinkampani ezinkulu.
    https://www.host.cl