VPS ဆာဗာပေါ်တွင် Nginx ကို တပ်ဆင်ခြင်း

ကျွန်ုပ်တို့၏ VPS ဆာဗာပေါ်တွင် Nginx ကို တပ်ဆင်ကြပါစို့။ စတင်ရန် အောက်ပါ command ကို run ပါမည်။

terminalapt install software-properties-common

ယခု Nginx ၏ နောက်ဆုံးဗားရှင်းကို ရယူပါမည်။

terminalapt-add-repository ppa:nginx/stable

နောက်တစ်ဆင့်အနေဖြင့် repository များမှ package list များကို update လုပ်ပါမည်။

terminalapt update

Nginx ကို တပ်ဆင်ပါမည်။

terminalapt install nginx

�ာဗာ reboot ပြန်လည်၍စတင်ပြီးနောက် အလိုအလျောက် စတင်လာစေရန် Nginx ကို auto-start ထဲသို့ ထည့်သွင်းပါမည်။

terminalsystemctl enable nginx

Nginx တပ်ဆင်ပြီးပြီ ဆိုတာ စစ်ဆေးကြည့်ပါမည်။

terminalnginx -v
Задание 1

Nginx ကို တပ်ဆင်ပါ။