I-Grammar yesiNgisi ekusetshenzisweni kwe-Android


Ukulungiswa kwenethiwekhi efanele kumshini we-virtual VirtualBox kukuvumela ukuba uhlanganise uhlelo lokusebenza lokusingatha nesimenywa ngokusebenzisana okungcono kwezokugcina.

Kulesi sihloko sizobe sisungula inethiwekhi kumshini osebenzayo osebenza nge-Windows 7.

Ukulungisa i-VirtualBox kuqala ngokubeka imingcele yomhlaba wonke.

Iya kwimenyu "Ifayela - Izilungiselelo".

Bese uvule ithebhu "Inethiwekhi" futhi "Yenza ama-Virtual Networks". Lapha sikhetha i-adaptha bese ucindezela inkinobho yezilungiselelo.

Okokuqala sabeka amanani I-IPv4 amakheli kanye ne-mask yenethiwekhi ehambelanayo (bheka isithombe esiphezulu).

Emva kwalokho iya kwithebhu elandelayo bese usebenze DHCP iseva (kungakhathaliseki ukuthi ikheli le-IP eliqinile noma elinamandla linikezwa wena).

Kufanele usethe ikheli leseva ukufanisa amakheli we-adapters ngokomzimba. Amanani we "Amingcele" adingekayo ukumboza wonke amakheli asetshenziswa ku-OS.

Manje mayelana nezilungiselelo ze-VM. Ngena "Izilungiselelo"isigaba "Inethiwekhi".

Njengohlobo loxhumano, sisetha ukhetho olufanele. Cabanga ngalezi zindlela ngokuningiliziwe.

1. Uma i-adaptha "Akuxhunyiwe", I-VB izokwazisa umsebenzisi ukuthi itholakala, kodwa ayikho uxhumano (lokhu kungaqhathaniswa necala lapho ikhebula le-Ethernet lixhunyiwe ku-port). Ukukhetha le nketho kungalinganisa ukuntuleka kokuxhumeka kwekhebula kumakhadi enethiwekhi. Ngakho-ke, ungazisa uhlelo lokusebenza lokuvakasha ukuthi akukho uxhumano kwi-Inthanethi, kodwa ungayilungisa.

2. Uma ukhetha imodi "I-NAT" Isivakashi se-OS sizokwazi ukuhamba ku-intanethi; kule mode, ukuthutha iphakethe kwenzeka. Uma udinga ukuvula amakhasi wewebhu kusuka ohlelweni lwesimenywa, funda i-imeyili bese ulanda okuqukethwe, bese lokhu kuyindlela efanelekile.

3. Ipharamitha "I-Network Bridge" ikuvumela ukuthi wenze izenzo eziningi kwi-Intanethi. Isibonelo, lokhu kuhlanganisa ukufanekisa amanethiwekhi namaseva asebenzayo ohlelweni olubonakalayo. Uma le modi ikhethiwe, i-VB ixhuma kwenye yamakhadi enethiwekhi atholakalayo futhi iqala ukusebenza ngokuqondile namaphakheji. I-stack yenethiwekhi yomsingathi ngeke inikwe amandla.

4. Imodi "Inethiwekhi Yangaphakathi" esetshenziselwa ukuhlela inethiwekhi ebonakalayo engatholakala ku-VM. Le nethiwekhi ayihlotshaniswa nezinhlelo ezisebenza ohlelweni lokusingatha noma imishini yenethiwekhi.

5. Ipharamitha "I-Adapt ye-Virtual Host" Isetshenziselwa ukuhlela amanethiwekhi kusuka ku-OS enkulu kanye ne-VM eziningana ngaphandle kokusebenzisa isikhombikubona sangempela senethiwekhi ye-OS esemqoka. Esikhathini se-OS enkulu, isikhombimsebenzisi esibonakalayo esihleliwe sihlelekile, lapho kuhlanganiswa khona uxhumano phakathi kwalo ne-VM.

6. Okungavamile ukusetshenziswa "Umshayeli Wendawo Yonke". Lapha umsebenzisi uthola ithuba lokukhetha umshayeli ofakwe ku-VB noma kwandiso.

Khetha i-Network Bridge bese unikeza i-adaptha yayo.

Ngemuva kwalokho, sizokwethula i-VM, uvule uxhumano lwenethiwekhi bese uya "Properties".



Kufanele ukhethe i-protocol ye-inthanethi I-TCP / IPv4. Siyacindezela "Izakhiwo".

Manje udinga ukubhalisa imingcele yekheli le-IP, njll. Ikheli le-adapter langempela libekwe njengesango, futhi inani elilandela ikheli lesango lingaba ikheli le-IP.

Ngemuva kwalokho, siqinisekisa ukukhetha kwethu futhi sivale iwindi.

Ukusetha kweBridge Bridge kuqedile, futhi manje ungaya ku-intanethi bese uxhumana nomshini wempi.